GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Using Your Native Language
  • Supported Languages
  • Show Source
  • index
  • UniversalPython
  • Tutorial
  • Your First Program
  • GitHub
  • PyPI

This view

  • Original page
  • New address

GeezerVison is showing universalpython.github.io — Your First Program

Your First Program¶

Programming may seem intimidating at first, but it really starts with just a few words and one good idea.

In this tutorial, you’ll write your first real Python program using UniversalPython. You’ll use familiar, everyday language to tell the computer what to do.

You don’t need to understand everything right away. Just follow the steps and see what happens!

Important

If you haven’t set up UniversalPython yet, go to the Setup section first, then come back here when you’re ready.

1. Create the File

Open your text editor and create a new file.

If you’re using French, save the file as: main.fr.py

The file extension (like .fr.py) tells UniversalPython which language you’re writing in. (In this case, French)

© Copyright 2025, Saad Bazaz.
This page is licensed under the UniversalPython team.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.



Created using Sphinx 9.1.0.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.