Python Projects & Resources
57K subscribers
776 photos
342 files
326 links
Perfect channel to learn Python Programming ๐Ÿ‡ฎ๐Ÿ‡ณ
Download Free Books & Courses to master Python Programming
- โœ… Free Courses
- โœ… Projects
- โœ… Pdfs
- โœ… Bootcamps
- โœ… Notes

Admin: @Coderfun
Download Telegram
Python for Everybody (PY4E)
by Charles R. Severance (aka Dr. Chuck)


๐ŸŽฌ 17 sections with multiple video lessons
๐Ÿ‘จโ€๐Ÿซ Prof. Dr. Charles R. Severance
โœ… Completely free

https://www.py4e.com/lessons
๐Ÿ‘10โค4๐Ÿ‘1
Image Processing in Python.pdf
5 MB
Image Processing in Python
Martin McBride, 2021
๐Ÿ‘3๐Ÿ”ฅ1๐Ÿ‘1
Pros and cons Python
๐Ÿ‘6
Common techniques for using the set() function in Python:

1. Create a set from a list:

my_list = [1, 2, 2, 3, 3, 3]
my_set = set(my_list)


2.Add an item to a set:

my_set = {1, 2, 3}
my_set.add(4)


3.Remove an item from a set by its value:

my_set = {1, 2, 3}
my_set.remove(3)


4.Check if an item is in a set:

my_set = {1, 2, 3}
if 3 in my_set:
print("The item is in the set.")


5.Get the length of a set:

my_set = {1, 2, 3}
set_length = len(my_set)


6.Loop through the items in a set:

my_set = {1, 2, 3}
for item in my_set:
print(item)


7.Get the union of two sets:

set1 = {1, 2, 3}
set2 = {3, 4, 5}
union_set = set1.union(set2)


8.Get the intersection of two sets:

set1 = {1, 2, 3}
set2 = {3, 4, 5}
intersection_set = set1.intersection(set2)
๐Ÿ‘20
Common techniques for using the zip() function in Python:

1. Zip two lists together:

list1 = [1, 2, 3]
list2 = [4, 5, 6]
zipped_lists = zip(list1, list2)


2. Unzip a zipped list:

zipped_lists = [(1, 4), (2, 5), (3, 6)]
list1, list2 = zip(*zipped_lists)


3. Loop through a zipped list:

zipped_lists = [(1, 4), (2, 5), (3, 6)]
for item1, item2 in zipped_lists:
print(item1, item2)


4.Convert a zipped list to a dictionary:

zipped_lists = [(1, 4), (2, 5), (3, 6)]
my_dict = dict(zipped_lists)


5. Zip three or more lists together:

list1 = [1, 2, 3]
list2 = [4, 5, 6]
list3 = [7, 8, 9]
zipped_lists = zip(list1, list2, list3)
๐Ÿ‘8
Main Python Data Types
๐Ÿ‘1
Python 1000.pdf
2.1 MB
1000 Examples Programming in Python
Gรกbor Szabรณ, 2021
๐Ÿ‘7
In general, the Python standard library includes many built-in functions that are available to use in your code without needing to import any additional modules. Some common examples of built-in functions include:

๐Ÿ‘‰๐Ÿป abs() :
Returns the absolute value of a number.

๐Ÿ‘‰๐Ÿป all() : Returns True if all elements of an iterable are True, and False otherwise.

๐Ÿ‘‰๐Ÿป any() : Returns True if any element of an iterable is True, and False otherwise.

๐Ÿ‘‰๐Ÿป bin() : Converts an integer to a binary string.

๐Ÿ‘‰๐Ÿป bool() : Converts a value to a Boolean.

๐Ÿ‘‰๐Ÿป chr() : Returns the string representation of a Unicode character.

๐Ÿ‘‰๐Ÿป dir() : Returns a list of attributes and methods for an object.

๐Ÿ‘‰๐Ÿปenumerate(): Returns an enumerate object, which contains a sequence of tuples containing the index and value of each element of an iterable.

๐Ÿ‘‰๐Ÿป filter() : Returns an iterator for elements of an iterable for which a condition is True.

๐Ÿ‘‰๐Ÿป float() : Converts a value to a floating-point number.

๐Ÿ‘‰๐Ÿป format(): Formats a string using format specifiers.

๐Ÿ‘‰๐Ÿป hash() : Returns the hash value of an object.

๐Ÿ‘‰๐Ÿป int() : Converts a value to an integer.

๐Ÿ‘‰๐Ÿป isinstance(): Returns True if an object is an instance of a given type, and False otherwise.

๐Ÿ‘‰๐Ÿป len() : Returns the length of an object.

๐Ÿ‘‰๐Ÿป list() : Converts an iterable to a list.

๐Ÿ‘‰๐Ÿป map() : Returns an iterator that applies a function to each element of an iterable.

๐Ÿ‘‰๐Ÿป max() : Returns the maximum value of an iterable.

๐Ÿ‘‰๐Ÿป min() : Returns the minimum value of an iterable.

๐Ÿ‘‰๐Ÿป next() : Returns the next element of an iterator.

๐Ÿ‘‰๐Ÿป open() : Opens a file and returns a file object.

๐Ÿ‘‰๐Ÿป ord() : Returns the Unicode code point for a character.

๐Ÿ‘‰๐Ÿป print() : Prints a message to the standard output.

๐Ÿ‘‰๐Ÿป range() : Returns a sequence of numbers.

๐Ÿ‘‰๐Ÿป repr() : Returns a string representation of an object.

๐Ÿ‘‰๐Ÿป round() : Rounds a number to a specified number of decimal places.

๐Ÿ‘‰๐Ÿป set() : Creates a set object.

๐Ÿ‘‰๐Ÿป sorted() : Returns a sorted list from an iterable.

๐Ÿ‘‰๐Ÿป str() : Converts a value to a string.

๐Ÿ‘‰๐Ÿป sum() : Returns the sum of elements in an iterable.

๐Ÿ‘‰๐Ÿป type() : Returns the type of an object.

๐Ÿ‘‰๐Ÿป zip() : Returns an iterator that combines elements from multiple iterables.
๐Ÿ‘17โค1๐ŸŽ„1