Python Learning – Telegram
Python Learning
5.95K subscribers
512 photos
2 videos
69 files
112 links
Python learning resources

Beginner to advanced Python guides, cheatsheets, books and projects.

For data science, backend and automation.
Join 👉 https://rebrand.ly/bigdatachannels

DMCA: @disclosure_bds
Contact: @mldatascientist
Download Telegram
Python tricks and tips
Section 1: Lists
Lesson 5: Analyzing the most frequent on the list

Code snippet to copy:
a = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4]
print(max(set(a), key = a.count))
👍8
Pandas Cheat Sheet
Python tricks and tips
Section 2: Strings
Lesson 6: Splitting the string

Code snippet to copy:
a="Python is the language of the future"
b=a.split()
print(b)
👍9
Is Python case sensitive when dealing with identifiers?
Anonymous Quiz
73%
yes
16%
no
9%
machine dependent
2%
none
👍4
Python tricks and tips
Section 2: Strings
Lesson 7: Reversing the string

Code snippet to copy:
a=”python”
print(“Reverse is”, a[::-1])
👍4
Introduction to Python Programming
Course Notes

📄 164 pages

🔗 Book link

#Python

Join @python_bds for more
Python tricks and tips
Section 2: Strings
Lesson 8: Creating a single string

Code snippet to copy:
a = [“I”, “am”, “not”, “available”]
print(“ “.join(a))
👍5
Python tricks and tips
Section 2: Strings
Lesson 10: Checking if two words are anagrams

Code snippet to copy:
from collections import Counter
def is_anagram(str1, str2):
return Counter(str1) == Counter(str2)
print(is_anagram(‘taste’, ‘state))
print(is_anagram(‘beach’, ‘peach’))
👍5
Python Frameworks and Libraries

Django is the most popular framework among Python developers. No surprise here, seeing how Web development is so popular among Python users. Interestingly, 43% of respondents are using IPython, which clearly shows it’s being used not only for scientific purposes, but for general software development as well.

A large number of respondents also specified Flask as their framework of choice.
👍6
Hi folks,

For all you who have been here for a long time, you probably noticed that after certain period of inactivity, this channel started posting content again. First owner of this channel (a friend of mine, admin of AI India), didn't have enough time to take care of it so he transferred ownership to me. I am 27 year old software engineer, living in Europe, owner and founder of @bigdataspecialist channel (and many more, i will add them in comment if somebody is interested into checking them).

I started posting interactive content, with one of my employees helping me with it since i don't have too much free time. I really hope you like it 😉

I would like to inform you that we are having giveaway tomorrow in my main channel (@bigdataspecialist). We are buying you paid course of your choice. Check last post in that channel for more info.

That's it, I really hope you like the new content, feel free to reach me out if you need anything and also write any suggestions what would you like to see in this or other channel of mine in comments. Thank you all and have a nice day.
10
Python tricks and tips
Section 3: Matrix
Lesson 11: Transposing a matrix

Code snippet to copy:
mat = [[8, 9, 10], [11, 12, 13]]
new_mat=zip(*mat)
for row in new_mat:
print(row)
👍7
Python Notes

📄 40 pages

🔗 Book link

#Python

Join @python_bds for more
👍4
Python Strings Cheat Sheet
👍5
Python tricks and tips
Section 6: Dictionary
Lesson 13: Inverting the Dictionary

Code snippet to copy:
dict1={‘a’: 1, ‘b’: 2,‘c’: 3,‘d’: 4,‘e’: 5,‘f’: 6, ‘g’: 7}
dict2={v: k for k, v in dict1.items()}
print(dict2)
All keywords in Python are in _________
Anonymous Quiz
15%
Capitalized
53%
lower case
5%
UPPER CASE
28%
None of the mentioned
👍5
Software Engine Usage
Python tricks and tips
Section 6: Dictionary
Lesson 14: Iterating value pairs and dictionary keys

Code snippet to copy:
dict1={‘a’: 1, ‘b’: 2, ‘c’: 3, ‘d’: 4, ‘e’: 5, ‘f’: 6}
for a, b in dict1.iteritems():
print (‘{: {}’.format(a,b))
Python_Notes_Basics_of_Python_programmin.pdf
83.8 KB
Python Notes Basics of Python programming

📄 29 pages

#Python

Join @python_bds for more
Python tricks and tips
Section 6: Dictionary
Lesson 15: Merging multiple dictionaries

Code snippet to copy:
x = {'a': 1, 'b': 2}
y = {'b': 3, 'c': 4}
z = {**x, **y}
print(z)
Features of Python