Lesson 01

Setup and your first script

This lesson gets you coding in minutes, the same way we bootstrap projects at SigLabs.

Install Python

Pick an editor

We recommend VS Code with the “Python” extension enabled for linting, debugging, and testing.

Run your first script

Create a file named hello.py with:

name = input("What's your name? ")
print(f"Hello, {name}!")

Run it from a terminal: python hello.py.

Use the REPL

Type python in your terminal to enter the interactive prompt. Try:

>>> 2 + 2
4
>>> print("quick checks are easy here")
quick checks are easy here

Accelerate with SigLabs Financial Software

Forecasting, market screening, risk insights, and reporting—built for speed and clarity.

Next steps

Move on to data types and control flow in Lesson 02.

Python 01 — Setup and Your First Script | SigLabs Code

Lesson 01

Setup and your first script

This lesson gets you coding in minutes, the same way we bootstrap projects at SigLabs.

Install Python

Pick an editor

We recommend VS Code with the “Python” extension enabled for linting, debugging, and testing.

Run your first script

Create a file named hello.py with:

name = input("What's your name? ")
print(f"Hello, {name}!")

Run it from a terminal: python hello.py.

Use the REPL

Type python in your terminal to enter the interactive prompt. Try:

>>> 2 + 2
4
>>> print("quick checks are easy here")
quick checks are easy here