In this repository i will show you some examples of Python code, with some comments to explain what i am doing. Some programming knowledge is useful, but not required. Just read the code, run the code, edit the code and see what it does.
- Go to https://www.python.org/ and download a version of Python 3 for your OS
- Install Pyhon for all users
- Start the IDLE program
- The Python shell opens
- For editing and saving code, select the 'File' dropdown
- And select new file
- You can run saved files by pressing F5
Essential knowledge to start using Python. Basic data structures and flow control.
Pattern finding in strings. Like your CTRL+F function
Opening, creating, deleting files and folders. Also save variables to a file.
Sorting files, finding files, copying and compressing them. Zippin' n' bippin'.
Super boring but quite useful code testing. Make sure your code doesn't try anything weird.
Some cool features of Beautifulsoup. Make the web yours.
Searching in your file and adding it to lists. Writing all your scraped goat image URLs to a file.
Reading and writing PDFs and DOCX files. Even some brute-forcing!
Easily readable files. Connect some APIs!
Make your program read time. Show a picture in one line of code.
Send and receive emails. Spam your own phone with text messages.
Using pillow, we can do some cool stuff with images. Let me see dem coordinates.
Making your computer do all boring stuff. Even with some button recognition.
Some Machine Learning information. Tensorflow, supervised, unsupervised. Recognize digits now, take over the world later.
Python is a versatile programming language with a clean syntax. Learning Python is pretty cool, unless you have to read all the documentation. That's why i did the boring part of reading all kinds of documentation and books. I decided to take a shot at Python because it seems to be used in real life much more than the languages i'm being taught in college at the moment. Feel free to use, copy and share this code however and wherever you want.
All of the code in this repository can be used anywhere without my permission.