Project Documentation: Hands-On Guided Walk Through of Python 3
What does web, software and game development, scientific and numeric applications, Artificial Intelligence and Machine Learning, enterprise-level and business applications all have in common? Well they are make great cases for using Python, the one of the most popular programming languages to date.
Guido van Rossum created it in 1989 but released it in 1991. Many think it was named after the python snake because of its icon but its name was derived from Monty Python’s Flying Circus, an old BBC television comedy sketch series.
Often the best way to get started with learning a new programming language is to use a form Hello World program. In this case, we are going to use a Brand Name Generator to learn some basic Python.
The Brand Name Generator will ask the user a few questions and output a brand name. This is a simple yet effective project for beginners.
Using the Brand Name Generator project, we will learn the following:
- Use print() to generate a greeting.
- Use input() to capture user’s information.
- Use a combination of the print() and input() to generate the user’s brand name.
- Create and execute a Python script from the command line.
In order to proceed with this tutorial, ensure your environment meets the following criteria:
- You can also download and install from python.org BeginnersGuide .
- I am using Python 3.9.5. Python 3 is backward compatible so these commands will work with a different version within Python 3. To determine your Python version, open a terminal window and type python — version.
- My OS is Windows and I am using Microsoft Visual Studio Code (VS Code) as my source code editor. It can be downloaded here.
- To manage the different Python versions, install the Python version management tool, pyenv for Windows created by Kiran Kumar Kotari.
- I just want to point out there is a Python (see below) extension that you may want to consider installing. I do have it installed as well. It has code auto-completion, code navigation, syntax checking, code formatting, debugging, testing, Jupyter Notebooks, allows you to automatically activate and switch between environments and refactoring support.
Download Hands On Guided Walk Through of Python.pdf from my Google Drive.
Please post your feedback.