Python in 3 days - Day 1
This three part series can be done in 3 days on a slow track. If you are a programmer then 3 hours at a shot at this article and the two to follow will get you through with the basics!
Python is a programming language that is used to create
web applications
data science
scripting : automating boring stuff!
FACTS
created by Guido Van Rossum
works on different platforms
procedural, object-oriented or functional
interpreter
text editor or IDE (IDLE3, Pycharm, Eclipse, Sublime, Jupyter,etc)
INSTALLATION & RUNNING CODE
Python Pre-installed nowadays or you may download it from
https://www.python.org/downloads/
Run python file from terminal using command :
python <filename.py>
Run instructions from cmd line
python -c 'from printNum import *; printNum(9)
Let’s get to action and write some lines of code.
Here’s a summary of what you’d learn
Variables, Expressions and Statements
Flow Control Statements
Built-in Functions
Modules
Data Structures - List, Tuples, Set,Dictionaries
Strings - String methods, Formatting Strings
You can find the code here with full explanation - https://github.com/amissier/MLAI/blob/main/Python_Fundamentals.ipynb
Happy coding!!!