….
🐍 Getting Started with Python
Kickstart Your Coding Journey with GoNimbus
Welcome to your first step into the world of Python programming! Whether you’re a complete beginner or brushing up your skills, this guide will help you set up Python, write your first program, and run it successfully—all with the support of GoNimbus.
🔧 Installing Python
✅ Already Installed?
Python comes pre-installed on many operating systems like macOS and most Linux distributions.
To Check on Windows:
Open Command Prompt and type:
python --version
or
py --version
To Check on Linux / macOS:
Open the terminal and run:
python3 --version
⬇️ Need to Install?
If Python is not already installed, you can download the latest version from the official website:
💡 Recommended: Install Python 3.x (latest stable release)
✍️ Writing Your First Python Program
Let’s write your first Python file, traditionally named hello.py
.
📝 Step 1: Open a text editor (like VS Code, Sublime, or Notepad)
Type the following:
print("Hello, GoNimbus World!")
💾 Step 2: Save the file as hello.py
▶️ Running Python Code
🔁 Using the Command Line:
Navigate to the folder where your file is saved and run:
python hello.py
Or, if using python3
:
python3 hello.py
✅ Output:
Hello, GoNimbus World!
🎉 Congratulations! You’ve just run your first Python program!
🧪 Test Code Instantly in the Python Shell
You can also run Python directly in the Python shell (interactive mode):
Launch it by typing:
python
or
py
Then enter:
print("Hello from GoNimbus")
Exit the shell with:
exit()
🔍 Checking Python Version Programmatically
Want to verify the Python version in your code? Use the sys
module:
import sys
print("Python Version:", sys.version)
💡 Pro Tip: Use GoNimbus Online Code Editor
You can write, edit, and run your Python code using the built-in GoNimbus Editor.
🧑💻 No software required. Just code and execute right from your browser!
print("Learning Python on GoNimbus is fun!")
🔓 Save your snippets, test instantly, and share results with your peers.
📚 What’s Next?
Now that you’ve written your first Python program, here’s what we’ll explore in the next modules:
- Variables & Data Types
- Operators
- Conditional Statements
- Loops (for, while)
- Functions
- Lists, Tuples, Dictionaries
- Object-Oriented Programming
- Modules & Packages
- Error Handling
- File I/O
- Python for Web, Data, AI & More!
🚀 Learn Python the GoNimbus Way
At GoNimbus, we don’t just teach—we help you build, explore, and innovate. Our Python track includes real-world examples, hands-on challenges, and project-based learning designed to make you industry-ready.