Python Useful Tips and Reference Project
Python popularity is growing a lot in the last years. Python is a general-purpose programming language used for primarly for:
- data science and artificial intellegence
- web development.
Python become one of the major languages used in scientific computing, data mining and machine learning. Expectations are for growth and higher demand for machine learning developers and data science may be increase the popularity of Python in future.
According to many sites python is the most wanted programming language and one of the most loved:
- Highlights of StackOverFlow Developer Survey Results 2018 - python is the most wanted language for 2018 and one of the most loved ones
- Programming languages trends for 2017 - python is one of the trending languages which is easier to learn and start to code
- Python developers community insights - For what python is used, popular IDEs, experience and are and many other interesting facts about python in 2018
Python useful tips
Below you can find many useful examples some tricky other easier. They could be very useful for a beginner in Python or if you want to have quick access to python snippets. All examples are based on my experience with Python - about 5 years is my overall experience with it.
This list will be frequently changed and updated. If you have any recommendations or suggestions please do share them.
Reference project
The Python reference project is organized in several sections like:
Topics:
- Python general topics
- Installation
- Python Configuration
- Frequently Used Python Scripts
- Python strings
- Python regex
- Python numbers
- Python loop statements
- Python JSON
- Python collections
- Python files
- Python images
- Python lambda expressions
- Python performance and time
- Python general code
- Python errors
Python general topics
Installation
- How to download and install python for Windows and Linux - you have many different options and distributions for python. You can intall it or use it as portable, light edition or one with scientific libraries.
Python Configuration
- Set up linux Mint as development machine for python and java
- ubuntu 18 as development machine for python
- IntelliJ dual SDK java plus Python
Frequently Used Scripts
- Python Frequently Used Scripts - python pil
- Frequently Used Scripts python - files, strings and dates
Python strings
- Python string methods tutorial
- Python string replace examples
- Python string replace examples 2
- Python string to upper, lower or capitalize
- how to print without newline
- Python concatenate strings 7 examples
- Python split string into list
- Python string split by separator
- Python anagrams and palindromes
- Python convert string to int examples
- Python convert string to date
Python regex
- Python regular expressions - tutorial for beginners
- Python regex cheat sheet with examples
- Python regular expressions
- Python regex match date
Python numbers
Python loop statements
Python JSON
- Python json tutorial for beginners
- Python convert object to json
- Python JSON to list/dictionary examples
Python collections
- Python shuffle list
- Python loop dictionary keys and values
- Python sum function all elements
- Python join and merge list
- Python sort list ascending and descending
- Python transpose list of lists different size
- Python append list
- Python merge dictionaries
Python files
- Python files tutorial for beginners
- Python how to write csv file
- Python how to read csv file
- Python read validate and import json/csv file to MySQL
Python images
- Python extract text from image or PDF
- Python how to read csv file
- Python read validate and import json/csv file to MySQL
Python lambda expressions
Python performance and time
Python general code
- Python Fibonacci optimized 4 examples
- Python pickle and cookies
- Python pil draw text on image
- Python how to use sleep 5 examples
- Python how to create and access enums
- Python range tutorial
- Compare Java 9 and Python 3
- Python scrapy tutorial for beginners