Python Getting Started

JK 2018 
Created at
Updated at  
7,447 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,094
  2. What is Python?
    7,711
  3. Python Syntax
    7,397
  4. Python Comments
    7,519
  5. Python Variables
    7,384
  6. Python Data Types
    7,425
  7. Python String Operations
    7,399
  8. Python Lists
    7,330
  9. String concatenation by join()
    7,127
  10. Printing string n times
    7,060
  11. Python Arithmetic Operators
    7,068
  12. Python Comparison Operators
    7,233
  13. Python Tuples
    7,159
  14. Python Sets
    7,083
  15. Python Dictionaries
    7,047
  16. Python Conditions and If statements
    7,123
  17. Python While Loops/For Loops
    7,495
  18. Python Functions
    7,059
  19. Python Lambda
    7,096
  20. Python Arrays
    7,080
  21. Python Classes/Objects
    7,454
  22. Python Inheritance
    7,184
  23. Python Iterators
    7,099
  24. Python Polymorphism
    7,079
  25. Python Scope
    7,057
  26. Python Modules
    7,088
  27. Code Chronicles - A Caffeine-Fueled Journey into Data Software Engineering
    7,354
  28. Machine Learning Types and Programming Languages
    7,227
  29. Python Tutorials for AP Computer Science Principles, Data Projects and High School Internship
    7,877
  30. Mastering Excel Data Manipulation with Python
    7,059
  31. Challenge: One Code Problem Per Day
    1,087
  32. Clean Python Environments: The Power of venv vs. Docker
    818
  1. Python While Loops/For Loops
    7,495
  2. Python Conditions and If statements
    7,123
  3. Python Dictionaries
    7,047
  4. Python Sets
    7,083
  5. Python Tuples
    7,159
  6. Python Comparison Operators
    7,233
  7. Python Arithmetic Operators
    7,068
  8. Printing string n times
    7,060
  9. String concatenation by join()
    7,127
  10. Python Lists
    7,330
  11. Python String Operations
    7,399
  12. Python Data Types
    7,425
  13. Python Variables
    7,384
  14. Python Comments
    7,519
  15. Python Syntax
    7,397
  16. Python Introduction
    7,094
  17. What is Python?
    7,711
Recently updated
  1. Watch This Dazzling Dancer’s Mind-Blowing Moves
    14
  2. Michael Jackson's Billie Jean
    98
  3. Bootstrap vs. Tailwind CSS: Origins, Features, Pros & Cons, and How to Choose the Right Framework
    124
  4. The Complete Guide to Golang: History, Features, Real-World Uses, and Code Examples
    359
  5. Telemetry vs. Analytics: Understanding the Difference and Why It Matters
    214
  6. The Evolution and Production Reality of Agentic AI
    204
  7. How to Activate or Waive Your UIUC Student Health Insurance
    287
  8. Complete Guide to Building a Machine Learning Model
    321
  9. My life cuts at Las Vegas during Thanksgiving day holiday
    7,399
  10. The Cybercab Transformation: From Autonomous Taxi to Mobile Base Station
    346
  11. Harness vs. OpenClaw: Two Very Different "Agents"
    968
  12. Clean Python Environments: The Power of venv vs. Docker
    818
  13. What is Docker? Why is Docker also useful in a development environment?
    613
  14. UIUC 2026-2027 Academic Calendar
    1,569
  15. How to Build Llama 3 AI Apps with Python: Setup & User Prompts
    804
  16. Open-Source LLMs: The AI Revolution
    751
  17. Resume 2.0: Leveling Up for My First Software Gig
    2,207
  18. Not everyone will understand what this man just did
    1,855
  19. UIUC Dorm Guide: Find Your Perfect Fit !!
    1,585
  20. Unpacking IU's Shopper
    754
  21. Jackie Chan's Police Story: The Action Masterpiece
    652
  22. The IVE Story: Identity, 'I AM' Charts, and Influence
    953
  23. Tech Visionaries who graduated at UIUC - You are the Next Turn
    1,187
  24. Open Databases for Sex Crime Occurrences in the U.S.
    712
  25. Automatically copy text to the clipboard when dragging the mouse in the Cursor
    2,631
  26. My First Day at University of Illinois-Urvana Champaign
    1,185
  27. Sand, Sea, and a Splash of Fun at Newport Beach: A Family Adventure
    8,126
  28. Sun, Rocks, and Adventure: A Day at Joshua Tree National Park
    8,203
  29. Sipping the Stars: My Starbucks Adventure
    9,647
  30. Exciting explore at Sequoia National Park
    7,653
  31. My Life Shot at Death Valley
    1,701
  32. Ip Man fights with Muay Thai Master
    933
  33. Mad Clown - Don't Die
    1,013
  34. How to get Student Enrollment and Degree Verification at UIUC
    4,858
  35. LAX Thanksgiving Rush: A Joyful Reunion
    920
  36. ZO ZAZZ(조째즈) - Don`t you know (모르시나요) (PROD.ROCOBERRY)
    1,125
  37. FISHINGIRLS Unleashes Energetic EP 'Funiverse' Featuring Signature Track 'Fishing King'
    971
  38. 10CM - To Reach You (너에게 닿기를)
    1,152
  39. Feeling weak? Transform yourself at the UIUC ARC!
    1,571
  40. BOYNEXTDOOR - If I Say I Love You
    1,181
  41. The Future of Software Engineer - AI Engineering
    927
  42. G Dragon x Taeyang (Eyes Nose Lips, Power, Home Sweet Home, GOOD BOY) - LE GALA PIÈCES JAUNES 2025
    900
  43. Lie - Legend song by BIGBANG
    7,812
  44. Why ROLLBACK is useful when you work with Google Gemini CLI?
    832
  45. Reimbursement after Vaccination at McKinley Health Center
    1,016
  46. Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!
    966
  47. Common Questions from UIUC school life in terms of CS Program
    1,117
  48. UIUC Immunization Compliance
    1,211
  49. LEE CHANHYUK's songs really resonate with my soul - Time Stop! Vivid LaLa Love, Eve, Endangered Love ...
    1,091
  50. LEE CHANHYUK - Endangered Love (멸종위기사랑)
    1,092