Skip to content
Atlas, your robot learning host

Interim portrait

Atlas · Foundations run-program

Hello, little human. I am Atlas. One useful idea is plenty for a beginning. Read the explanation, then explore an example.

Choose your robot No recording yet · text complete

Watch · salvaged hardware

Reviewed videos and Shorts

Captions requested · no autoplay

Checking the reviewed learning library…

Videos · 16:9

Awaiting a reviewed signal

Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned

Shorts · 9:16

Awaiting a reviewed signal

Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
    concept for everyone

    RUN Program

    Running a program asks a language tool or executable to perform its instructions; it is separate from editing the file.

    Understand the idea

    Suppose hello.py is saved in human-lab and contains print("Hello, human!"). From a shell working in that folder, a Python interpreter can read the file and evaluate that print() call. The command combines two things: the interpreter to start and the filename to give it.

    The worked command assumes your installed Python 3 is available as python3. That name is common on macOS and Linux, but it is not universal and Python is not guaranteed to be installed. On Windows installations that provide the Python launcher, py -3 hello.py is an alternative for selecting Python 3. Use the command name supported by your installation; do not paste the shell prompt or a Python >>> prompt into the command.

    If the shell cannot find the interpreter, address installation or command discovery first. If Python cannot open hello.py, check the working directory, complete filename, and saved location. If Python reports a syntax error, compare the source text with the example. These describe different failure stages; none is proof that you are bad at programming.

    Running arbitrary downloaded code can have effects beyond printing a greeting. This example contains only a print() call, uses no credentials or network services, and does not modify your files. The lesson does not execute it automatically in your browser.

    Key points

    • 01 The command starts an interpreter and supplies the source filename.
    • 02 hello.py must be saved where the supplied path identifies it.
    • 03 The interpreter command name depends on the installation.
    • 04 Command-not-found, missing-file, and syntax errors happen at different stages.
    • 05 The one-line greeting produces text output, not a claim of broader programming mastery.

    Worked example

    Run the saved greeting

    A worked example using sample data. Nothing here runs on your computer.

    Example
    python3 hello.py
    What it means or produces
    Hello, human!

    Assumptions: Python 3 is installed as python3, the shell is in the folder containing hello.py, and hello.py contains only print("Hello, human!"). On Windows with the Python launcher installed, use py -3 hello.py instead. The output ends with a newline.

    Visual

    Follow the primary sources

    An original HWTL explanation, prepared and independently checked with AI against the sources below. This lesson has not yet been tested with human learners.

    Source review completed 2026-10-07.

    Practice · predict the result

    Find the stage that needs attention

    A small test from your robot instructors. Hints are welcome.

    What you will practice: Explain how a command names both an available interpreter and a saved source file, then diagnose a mismatched script path.

    Sample scenario. Synthetic POSIX-style environment. python3 is installed and discoverable. Only the listed saved script exists, and it is readable valid Python 3. There are no automatic directory changes, aliases, or network/file side effects. No command is actually executed.

    Available interpreter
    python3 is installed and discoverable in this fixture
    Current working directory
    /human-lab
    Saved file: /human-lab/notes/hello.py
    print("Hello, human!")
    Command to predict
    python3 hello.py

    The available interpreter is python3. Predict the command below: does it reach the saved greeting, fail to find the interpreter, or fail to find the requested script?

    Attempts stay on this browser and are kept separate from lesson views and your self-reported knowledge.

    Sources and exercise scope

    Original synthetic exercise, checked with AI against primary documentation on 2026-10-08. Human learner validation is pending. A result here records this attempt; it does not establish mastery.

    Next useful step

    Keep the useful idea. Return when you need it.

    Open your learning inboxExplore another concept →
    Lesson diagnostics

    Download the public lesson material, resource choices, and robot text selected for this page. The file does not include your chat, code, or saved profile. Nothing from the trace is uploaded.

    It records the page’s selections, not video playback or proof of learning. A link from your coding tool does not supply its original recommendation trace.

    Enable JavaScript to create a trace on this device.

    Related concepts

    See also

    Files AND Folders, File Paths, Shell Command, Oauth Scope, Source Code, Working Directory, IAM Role

    Discussion

    Comments are powered by Giscus on the project's GitHub Discussions. They'll activate once we enable Discussions on the repo.

    Until then, file an issue with feedback.