Python Universe
1.99K subscribers
103 photos
1 video
1 file
55 links
Everything you need to know about Python programming.

Admin: @haraisen
Feedback: @pythontg_feedbackbot
Download Telegram
"Automate the Boring Stuff with Python Programming" FREE COURSE πŸ“š

This course is one of the best udemy courses (89,262 ratings 938,806 students) related to Python learning, and its free for the next few days with the following coupon: JUL2021FREE.

The course is for beginners and assumes no previous programming experience, but the second half is useful for experienced programmers who want to learn about various third-party Python modules.

❓How to Enroll
1. Go to the link: https://www.udemy.com/course/automate/
2. Enter coupon: JUL2021FREE
3. Click "Apply"
4. Happy learning!

❗️ATTENTION: The coupon is valid until 4 July.

#materials
Language Detection

πŸ”ΈLangdetect is a re-implementation of Google’s language-detection library from Java to Python, which allows you to determine the input language.

Simply pass your text to the detect() function and it will output the two-letter code of the language for which the model gave the highest confidence score. If you use detect_langs() instead, it will output a list of the top languages that the model has predicted, along with their probabilities.

βš™οΈInstallation
pip install langdetect

πŸ”—GitHub

#langdetect
Python Machine Learning Tutorials πŸ“Ί

Learn machine learning with Python. This series starts out teaching basic machine learning concepts like linear regression and k-nearest neighbors and moves into more advanced topics like neural networks and convolution neural networks.

1. Introduction [YouTube]
2. Linear Regression p.1 [YouTube]
3. Linear Regression p.2 [YouTube]
...
12. Implementing K-Means Clustering [YouTube]

πŸ”—Full Playlist

#materials #machinelearning
What is the output of the code given above?
Anonymous Quiz
12%
Hello, world
45%
Hello
4%
Meaning of Life
39%
Error
One line jokes for programmers πŸ€“

πŸ”ΈTrying to make your project more interesting or funny? Now, you can add jokes to your project with pyjokes.

There's basically two functions:
β–ͺ️get_joke(language='en', category='neutral')
β–ͺ️get_jokes(language='en', category='neutral')
The first one returns a single joke (string), while the second one returns a list of random jokes from a certain category and in a particular language.

Supported languages: English (en), German (de), Spanish (es), Galician (gl), Basque (eu), Italian (it).
Categories: neutral, chuck (yes, Chuck Norris jokes), all, twister (only for German language).

βš™οΈInstallation
pip install pyjokes

πŸ”—GitHub
πŸ”—[Tutorial] Python Script to create random jokes using pyjokes

#pyjokes #bullshit
What is the output of the code given above?
Anonymous Quiz
11%
19
46%
20
14%
5
20%
Infinite recursion
10%
Error
Web Scraping in Python

πŸ”ΈScrapy
is an open source and collaborative framework for extracting the data you need from websites.

It gives you all the tools you need to efficiently extract data from websites, process them as you want, and store them in your preferred structure and format. Unlike BeautifulSoup, which you may have heard of, Scrapy is a tool specifically created for downloading, cleaning and saving data from the web and will help you end-to-end; whereas BeautifulSoup is a smaller package which will only help you get information out of webpages.

βš™οΈInstallation
pip install scrapy

πŸ”—Homepage
πŸ”—GitHub
πŸ”—[Tutorial] Making Web Crawlers Using Scrapy for Python

#scrapy #web
What is the output of the code given above?
Anonymous Quiz
11%
1
11%
foo
6%
bar
26%
foobar
4%
0
41%
Error
What is the output of the code given above?
Anonymous Quiz
6%
1
27%
3
41%
None
26%
Error
What is the output of the code given above?
Anonymous Quiz
20%
None
16%
1
26%
2
15%
""
24%
Error
Practice your Python skills directly in Chrome Browser 🌐

PyQuickie is a chrome extension where you can practice your python coding skills easily and hassle free. No login required and with just one click you can improve your coding and problem solving skills while still being able to enjoy browsing through facebook and other web activities.

πŸš€Features
β–ͺ️Importing Python builtin Modules Work.
β–ͺ️Working python IDLE.
β–ͺ️Python keywords highlighting.
β–ͺ️Python Tabbing Feature in textarea.
β–ͺ️Questions are ranked by level of difficulty: easy, medium, and hard.

πŸ”—Chrome Extension

#materials #tools
Python β†’ .exe βš™οΈ

Your Python code would be more useful if it was available to a wide range of people – this would include non-technical users who have never used a command prompt or terminal. With PyInstaller you can easily convert a Python file (.py) to an executable standalone application (.exe).

βš™οΈInstallation
pip install pyinstaller

PyInstaller is designed to worked in a command prompt or terminal environment. You would simply compile your Python code by typing the code below in your terminal:
pyinstaller your_python_code.py
You can also slightly modify it by adding the onefile option. This creates one giant executable file instead of creating a lot of files which are mixed with your compiled executable:
pyinstaller your_python_code.py --onefile

πŸ”—Homepage
πŸ”—PyInstaller Manual

#pyinstaller
Python Pandas For Your Grandpa πŸ‘¨β€πŸ¦³

Pandas
is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language. Start your pandas journey with "Python Pandas For Your Grandpa" series – so easy, your grandpa could learn it!

1. Promo [YouTube]
2. Introduction [YouTube]
3. Series Creation [YouTube]
...
44. Challenge: Concerts [YouTube]

πŸ”—YouTube Playlist

#materials #pandas #datascience