Skip to content

Python Basics

Installation

Official Download

Starting my work with Python

To start working, I need the following tools:

  • An editor which will support me in writing the code (it should have some special features, not available in simple tools); this dedicated editor will give me more than the standard OS equipment;

  • A console in which I can launch my newly written code and stop it forcibly when it gets out of control;

  • A tool named a debugger, able to launch my code step-by-step, which will allow me to inspect it at each moment of execution.

IDLE is an acronym: Integrated Development and Learning Environment.

On Mac:

python3 -m idlelib
File -> New File --> sneaky.py

Extension python: .py

Commands

print("byteGirl Python")
Save the file (File -> Save) and run the program (Run -> Run Module).

EOF: end-of-file

still learning...