Jump to content

User:Lookup database/Scripts/Python/Python tutorial

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lookup database (talk | contribs) at 14:05, 12 September 2020 (Created page with 'Welcome to Python! In this page, I will provide a quick python download, installation, and reference tutorial. === Download and Installation === To download Pyt...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Welcome to Python! In this page, I will provide a quick python download, installation, and reference tutorial.

Download and Installation

To download Python, go to https://python.org/downloads and select the download button corresponding to your system. Then, follow the steps on the page. Then, run the setup wizard. Click next on all pages, but make sure to enable "Add to PATH" when installing. Once it has installed, go to https://docs.python.org/ to view the basics. I also recommend the Udemy course "Python: From Zero to Hero" as a starter guide. More info on Python (programming language).

Writing your first code

To start Python, type "IDLE" in the Windows or Mac search bar. Then, add it to taskbar. Click on the icon to open the IDLE (Integrated Development and Learning Environment). Then, try typing:

print("Hello World!")

You should get the output "Hello World!" back from the IDLE. Congrats! You have written your first line of code!