Project Documentation: Hands-On Guided Walk Through of Python 3

This is another project from my Level Up In Tech AWS DevOps Boot Camp. This document is based on a Learning Journal created by Paul Zhao, one of the coaches of Level Up In Tech.

Scenario

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.

Tasks

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.
Python extension for MS VS Code

Download Hands On Guided Walk Through of Python.pdf from my Google Drive.

Please post your feedback.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store