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
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
What is the output of the code given above?
Anonymous Quiz
26%
3
27%
6
22%
9
16%
X Y Z
8%
Error
Working with PDF files in Python πŸ“„

πŸ”ΈPyPDF2
is a pure-python PDF library capable of splitting, merging together, cropping, and transforming the pages of PDF files. It can also add custom data, viewing options, and passwords to PDF files. It can retrieve text and metadata from PDFs as well as merge entire files together.

βš™οΈInstallation
pip install PyPDF2

πŸ”—Docs
πŸ”—GitHub
πŸ”—[Tutorial] How to Work With a PDF in Python

#pypdf2 #pdf
What is the output of the code given above?
Anonymous Quiz
14%
Division by zero!
32%
Division by zero! END
15%
0
24%
0 END
14%
END
​Top 5 Python GUI Libraries πŸ–₯

A Graphical User Interface (GUI) is the first thing your user sees and interacts with when he opens your application or website. A user interface usually includes a host of visual elements like icons, buttons, graphics, displayed text, and several other forms of input, like checkbox, text input boxes, and such. The goal behind this post is to help you to find the right framework for building interactive GUIs with the several GUI frameworks Python has to offer.

β–ͺ️PyQt5
The PyQt package is built around the Qt framework, which is a cross-platform framework used for creating numerous applications for various platforms. It also offers the QtGui and the QtDesigner module, which provide numerous visual elements that the developer can implement with a simple drag and drop.

β–ͺ️Tkinter
Tkinter was created to equip modern developers with a standard interface to the Tk GUI toolkit with its Python bindings. In Tkinter’s world, most of the visual elements that we’re familiar with are called widgets, and each of these widgets offers a different level of customizability.

β–ͺ️Kivy
Kivy is an open-source GUI framework for building some of the most intuitive user interfaces encompassing multi-touch applications that implement Natural User Interface (NUI). With Kivy, interface designers can code once and deploy to multiple platforms.

β–ͺ️wxPython
wxPython allows Python developers to create native user interfaces that add zero additional overhead to the application. The cross-platform capabilities of wxPython allow deployment to platforms like Windows, Mac OS, Linux, and Unix-based systems with little to no modifications.

β–ͺ️PyGUI
PyGUI is a graphical application cross-platform framework for Unix, Macintosh and Windows. Compared to some other GUI frameworks, PyGUI is by far the simplest and lightweight of them all. PyGUI inserts very less code between the GUI platform and Python application, hence the display of the application usually displays the natural GUI of the platform.

#materials #gui
What is the output of the code given above?
Anonymous Quiz
27%
10 5
26%
5 5 2 3
17%
5 2
22%
Error
8%
None None
How to handle messy CSV files 🐍

πŸ”ΈCleverCSV is a Python package for detecting the dialect of CSV files with high accuracy. It is modeled on the way in which a human would determine the dialect: by looking for patterns that result in a regular tabular structure with β€œclean data” in the cells (such as numbers, dates, etc.).

The package is designed to help a data scientist with messy CSV files. It also provides a handy command line tool that can standardize a messy file or generate Python code to import it.

βš™οΈInstallation
pip install clevercsv[full]

πŸ”—GitHub
πŸ”—Docs
πŸ”—[Research] Wrangling Messy CSV Files by Detecting Row and TypePatterns

#clevercsv #csv
Python Zero to Hero 2021 πŸš€

In this complete Python course you will learn everything you need to get started with Python in 2021.
You will learn the basic building blocks of programming:
β–ͺ️Data types like strings, numbers, lists, sets, dictionaries boolean data types etc.
β–ͺ️Variables and functions
β–ͺ️Input validation with conditionals
β–ͺ️Error handling with try-except
β–ͺ️Loops: while and for
As a next step, you will learn how to modularize your program:
β–ͺ️Write your own modules
β–ͺ️How to use built-in Python modules
With all this knowledge, you can then your next demo project to write a write a small program using datetime module.
This is a really cool 5h course on Python programming and there's much more than I wrote about. So if you're a beginner in Python this a perfect course to start your learning journey.

πŸ”—YouTube

#materials