Monday, June 18

Beginners - How to get started with Python (2018)

Here are steps to get started with Python.

  1. Go to automatetheboringstuff.com and download the the free pdf book Automate The Boring Stuff written by Al Sweigart. 
  2. The book is not boring at all and one of the best to get started. If you prefer video lessons Udemy.com has a paid video tutorial for the same book. Support the author by purchasing the print & ebook bundle from No Starch Press or separately on Amazon.
  3. There are many flavors of Python and you can download any one. Download Python from https://www.anaconda.com if you do not have preferences. 
  4. Python has a inbuilt IDE called IDLE  just type IDLE in search once you have installed Python. The best IDE for Python is Spyder IDE and you can either download it or use IDLE.  
  5. Once you install python if you have programming experience you can directly get started by looking at the demo examples in the Tools/demo folder of your Python installation.
  6. The last 2 images below show the beer bottle demo code and its execution.
  7. This is all you need to get started. For any issues you can drop an email or check solutions on stackoverflow.com/python
Python default IDLE IDE

Sample code with Python installation

Demo code beer.py

Execution of Beer demo example
Execution of beer.py

No comments:

Post a Comment

Understanding Generative AI and Generative AI Platform leaders

We are hearing a lot about power of Generative AI. Generative AI is a vertical of AI that  holds the power to #Create content, artwork, code...