Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@

asli



# python-app
1 change: 1 addition & 0 deletions deneme11
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
yeniden dene
sadece deneme
2 changes: 0 additions & 2 deletions leap-year.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Umut çalışıyor...



# **Exercise | ?comprehension | ?range() | ?len() | ?nested for loop() | ?any() | ?sum() | ?append()**
# 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
# What is the smallest positive number which is evenly divisible by all of the numbers from 1 to 20?
Expand Down
11 changes: 11 additions & 0 deletions s3cb.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import boto3

# Use Amazon S3
s3 = boto3.resource('s3')

# Create a new bucket
s3.create_bucket(Bucket='toucan-boto3-bucket')

# Print out all bucket names
for bucket in s3.buckets.all():
print(bucket.name)
8 changes: 8 additions & 0 deletions s3lis.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import boto3

# Use Amazon S3
s3 = boto3.resource('s3')

# Print out all bucket names
for bucket in s3.buckets.all():
print(bucket.name)
8 changes: 8 additions & 0 deletions s3put.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import boto3

# Use Amazon S3
s3 = boto3.resource('s3')

# Upload a new file
data = open('test.txt', 'rb')
s3.Bucket('toucan-boto3-bucket').put_object(Key='test.txt', Body=data)
8 changes: 8 additions & 0 deletions tex.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import boto3

# Use Amazon S3
s3 = boto3.resource('s3')

# Upload a new file
data = open('test.txt', 'rb')
s3.Bucket('toucan-boto3-bucket').put_object(Key='test.txt', Body=data)