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

MUSTREAD : How can you use Index Funds to help create wealth? HDFC MF Weekend Bytes

https://www.hdfcfund.com/knowledge-stack/mf-vault/weekend-bytes/how-can-you-use-index-funds-help-create-wealth?utm_source=Netcore...