Getting Started

Your first Lager Python program

As is tradition, we'll start with a hello world program.

hello.py
print('Hello, world!')

Save this as hello.py. Then, we'll run it using lager python hello.py

➜  lager python hello.py
Hello, world!

With any luck, Hello, world! will be printed to your terminal. This may not seem very exciting, but the code actually ran on your gateway, and we've just scratched the surface of what Lager Python can do.