Python Learning – Telegram
Python Learning
5.95K subscribers
511 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 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
Participate in free programming knowledge quiz league!

Hey guys, we in big data specialist community created first programming league! We will have quizzes every week, you will gain points by giving right answers, and after 10 weeks we will have our winner! This should be really fun and we should learn something new.

First round - General programming knowledge quiz
Quiz link: http://t.me/QuizBot?start=7FcREcyF

Tomorrow is next round starting and you will no longer be able to take first round so hurry up 😊

Here you can find more info and track leaderboards:
https://docs.google.com/spreadsheets/d/1wF9oHAI5KBtr9c85QLTKObClYpXwtRYouK5iAQs9z74/edit?usp=sharing

Join https://news.1rj.ru/str/bigdataspecialist to get notified about next rounds. You can also find valuable programming learning materials here and ask any programming related questions you have.
🔥6👍1
Chaining Of Comparison Operators

Code snippet to copy:
n = 10
result = 1 < n < 20
print(result)
result = 1 > n <= 9
print(result)

Output:
True
False
8
General python usage
Python tricks and tips
Section 2: Strings
Lesson 8: Printing out multiple values of strings

Code snippet to copy:
print(“on”*3+’ ‘+”off”*2)
Python 3 cheat sheet
👍4
Which of the following is used to define a block of code in Python language?
Anonymous Quiz
53%
Indentation
3%
Key
14%
Brackets
31%
All of these
👍4