Python Getting Started

JK JK 2030 
Created at
Updated at  
7,509 0 0

Many PCs and Macs will have python already installed.

To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line (cmd.exe):

C:\Users\Your Name>python --version

To check if you have python installed on a Linux or Mac, then on linux open the command line or on Mac open the Terminal and type:

python --version

If you find that you do not have Python installed on your computer, then you can download it for free from the following website: https://www.python.org/


Python Quickstart

Python is an interpreted programming language, this means that as a developer you write Python (.py) files in a text editor and then put those files into the python interpreter to be executed.

The way to run a python file is like this on the command line:

C:\Users\Your Name>python helloworld.py

Where "helloworld.py" is the name of your python file.

Let's write our first Python file, called helloworld.py, which can be done in any text editor.

print("Hello, World!")

 

Below YouTube content provides more information to setup environment on Windows 10 - it works on Windows 11 as well.

 

Tags Python Python Install Python Setup Facebook X
Comments 0
Similar posts
  1. Python Introduction
    7,128
  2. What is Python?
    7,775
  3. Python Syntax
    7,445
  4. Python Comments
    7,611
  5. Python Variables
    7,457
  6. Python Data Types
    7,484
  7. Python String Operations
    7,475
  8. Python Lists
    7,391
  9. String concatenation by join()
    7,158
  10. Printing string n times
    7,093
  11. Python Arithmetic Operators
    7,107
  12. Python Comparison Operators
    7,292
  13. Python Tuples
    7,200
  14. Python Sets
    7,134
  15. Python Dictionaries
    7,087
  16. Python Conditions and If statements
    7,156
  17. Python While Loops/For Loops
    7,552
  18. Python Functions
    7,088
  19. Python Lambda
    7,129
  20. Python Arrays
    7,113
  21. Python Classes/Objects
    7,511
  22. Python Inheritance
    7,221
  23. Python Iterators
    7,132
  24. Python Polymorphism
    7,106
  25. Python Scope
    7,085
  26. Python Modules
    7,135
  27. Code Chronicles - A Caffeine-Fueled Journey into Data Software Engineering
    7,413
  28. Machine Learning Types and Programming Languages
    7,284
  29. Python Tutorials for AP Computer Science Principles, Data Projects and High School Internship
    7,979
  30. Mastering Excel Data Manipulation with Python
    7,108
  31. Challenge: One Code Problem Per Day
    1,187
  32. Clean Python Environments: The Power of venv vs. Docker
    959
  1. How to Build Llama 3 AI Apps with Python: Setup & User Prompts
    921
  2. Try...Catch Helps Ignoring Data Type Miss-Match Error in Python
    9,334
  3. RegExp example in Python to exclude javascript from HTML code
    7,081
  4. Python code to convert from Lunar to Solar
    7,796
  5. Python example to download webpage
    8,705
Recently updated
  1. Michael Jackson's Billie Jean
    278
  2. Meet A2O Lite: Korea's Newest K-Pop Cuties with Addictively Catchy Melodies
    90
  3. Why You Can't Stop Watching Jack Bryan's Beatbox Gaming Shorts
    169
  4. Song So-hee: The Soulful Voice Touching Hearts Through Korean Music
    188
  5. Watch This Dazzling Dancer’s Mind-Blowing Moves
    207
  6. Bootstrap vs. Tailwind CSS: Origins, Features, Pros & Cons, and How to Choose the Right Framework
    252
  7. The Complete Guide to Golang: History, Features, Real-World Uses, and Code Examples
    769
  8. Telemetry vs. Analytics: Understanding the Difference and Why It Matters
    382
  9. The Evolution and Production Reality of Agentic AI
    315
  10. How to Activate or Waive Your UIUC Student Health Insurance
    403
  11. Complete Guide to Building a Machine Learning Model
    430
  12. My life cuts at Las Vegas during Thanksgiving day holiday
    7,517
  13. The Cybercab Transformation: From Autonomous Taxi to Mobile Base Station
    456
  14. Harness vs. OpenClaw: Two Very Different "Agents"
    1,139
  15. What is Docker? Why is Docker also useful in a development environment?
    707
  16. UIUC 2026-2027 Academic Calendar
    1,785
  17. Open-Source LLMs: The AI Revolution
    872
  18. Resume 2.0: Leveling Up for My First Software Gig
    2,532
  19. Not everyone will understand what this man just did
    2,109
  20. UIUC Dorm Guide: Find Your Perfect Fit !!
    1,708
  21. Unpacking IU's Shopper
    877
  22. Jackie Chan's Police Story: The Action Masterpiece
    750
  23. The IVE Story: Identity, 'I AM' Charts, and Influence
    1,058
  24. Tech Visionaries who graduated at UIUC - You are the Next Turn
    1,282
  25. Open Databases for Sex Crime Occurrences in the U.S.
    825
  26. Automatically copy text to the clipboard when dragging the mouse in the Cursor
    2,948
  27. My First Day at University of Illinois-Urvana Champaign
    1,283
  28. Sand, Sea, and a Splash of Fun at Newport Beach: A Family Adventure
    8,275
  29. Sun, Rocks, and Adventure: A Day at Joshua Tree National Park
    8,354
  30. Sipping the Stars: My Starbucks Adventure
    9,850
  31. Exciting explore at Sequoia National Park
    7,773
  32. My Life Shot at Death Valley
    1,859
  33. Ip Man fights with Muay Thai Master
    1,038
  34. Mad Clown - Don't Die
    1,136
  35. How to get Student Enrollment and Degree Verification at UIUC
    5,252
  36. LAX Thanksgiving Rush: A Joyful Reunion
    999
  37. ZO ZAZZ(조째즈) - Don`t you know (모르시나요) (PROD.ROCOBERRY)
    1,232
  38. FISHINGIRLS Unleashes Energetic EP 'Funiverse' Featuring Signature Track 'Fishing King'
    1,070
  39. 10CM - To Reach You (너에게 닿기를)
    1,245
  40. Feeling weak? Transform yourself at the UIUC ARC!
    1,658
  41. BOYNEXTDOOR - If I Say I Love You
    1,269
  42. The Future of Software Engineer - AI Engineering
    1,009
  43. G Dragon x Taeyang (Eyes Nose Lips, Power, Home Sweet Home, GOOD BOY) - LE GALA PIÈCES JAUNES 2025
    1,002
  44. Lie - Legend song by BIGBANG
    7,908
  45. Why ROLLBACK is useful when you work with Google Gemini CLI?
    950
  46. Reimbursement after Vaccination at McKinley Health Center
    1,109
  47. Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!
    1,048
  48. Common Questions from UIUC school life in terms of CS Program
    1,225
  49. UIUC Immunization Compliance
    1,305
  50. LEE CHANHYUK's songs really resonate with my soul - Time Stop! Vivid LaLa Love, Eve, Endangered Love ...
    1,176