Skip to content

ASS-G/Python-Training-Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation


Python Training Kit

Sourced by Active Specialized Support Group (ASS-G)

Index

  1. Why is Python Awesome?
  2. Getting Started
    1. Python interpreter
    2. Run Python code
    3. Python IDE

Why is Python Awesome?

Python is now an advanced, general-purpose programming language.

It is designed to stress on code readability by utilizing substantial white space and simplicity as it allows programmers to write models and conceptions in less amounts of code lines compared to other languages like C++ or Java.

This makes python a very popular programming language used for desktop stand-alone applications or online/web applications as well as small or large scales development projects.

Getting started

Python is a programming language with a clean syntax that is easy to learn. Python programs can be run under all desktop computers.

Python interpreter

To run Python programs, you will need the Python interpreter and possibly a graphical editor. A Python interpreter executes Python code (sometimes called programs).

run python

A program can be one or more Python files. Code files can include other files or modules. To run a program, you need to specify a parameter when executing Python.

Run Python code

You can download the Python (3.6 recommended) interpreter here: https://www.python.org/downloads/

If you are new to programming, start with running Python code. To run the code, open a terminal and launch:

python file.py  

Python IDE

An IDE is a development environment. If you don’t want to work from the terminal, you can use an IDE. This is a graphical editor in which you can type code, work with multiple files, run code amongst other things. For starters, we recommend starting from notepad and moving on to an advanced IDE like PyCharm.

pycharm python ide

In the PyCharm IDE above you see

  1. File menu
  2. The code
  3. Main menu
  4. Line numbering
  5. Scrollbar
  6. Files and program output
  7. Additional information.

wave