Table of Contents
Get HelpGetting help with Python
Python, much like powershell has an interactive help console compiled with the python installation. To use the inbuilt help, type the help method "help()".
help()method sets the terminal prompt to
help>where any keywords typed will bring up Python's inbuilt documentation on that resource. This method is helpful in identifying Python's official documentation on commands, modules and topics.
As an example in
importto bring up documentation on the import command.
When using Python in the terminal prompt you will notice the txt ouput is limited by the width of the Python window. To scroll in Python in instances to see more txt you will see a –More – footer, press the <spacebar> key to skip by page where the page break is the – More – footer of the output.
To exit help type
To get further help on using Python, you may first instinctively use google to search your query or may even use websites such as stackoverflow to ask a question to perform a task. We recommend you instead use the Official Python blog. This is as the Python blog is more up to date with current methedologys to completing tasks and Python has evolved into a new versions.
To view out the official Python blog on using Python on Windows browse to URL https://docs.python.org/3.6/using/windows.phpl
When looking during help you will note that some commands do not apply and work in your current shell. Python is currently on version 3 which uses different command from legacy Powershell. Most Python webpages and help articles written to date all advise on how to use legacy Python commands. Two major versions of Python are currently in active use:
- Python 3.x is the current version and is under active development.
- Python 2.x is the legacy version and will receive only security updates until 2020. No new features will be implemented. Note that many projects still use Python 2, although migrating to Python 3 is getting easier.
Python Version Timeline
|Version||Release Date||End of security update releases||End of life support|
|3.9||05-10-2020||December 2025||May 2022||3.8||14-10-2019||December 2024||April 2021||3.7||27-06-2018||June 2023||27-06-2020||3.6||23-12-2016||December 2021||24-12-2018||3.5||13-09-2015||13-09-2020||08-08-2017||3.4||17-03-2014||18-03-2019||09-08-2017||3.3||29-09-2012||29-09-2017||08-03-2014||3.2||20-02-2011||20-02-2016||13-05-2013||3.1||26-06-2009||June 2012||12-06-2011||3.0||03-12-2008||13-02-2009||2.7||03-07-2010||January 2020||2.6||02-10-2008||29-10-2013||24-08-2010||2.5||19-09-2006||26-05-2011||2.4||30-11-2004||19-12-2008||2.3||29-07-2003||11-03-2008||2.2||21-12-2001||30-05-2003||2.1||15-04-2001||09-04-2002||2.0||16-10-2000||22-06-2001||1.6||05-09-2000||September 2019||1.5||03-01-1998||13-04-1999||1.4||25-10-1996||Yes||1.3||13-10-1995||Yes||1.2||13-04-1995||Yes||1.1||11-10-1994||10-11-1994||1.0||26-01-1994||15-02-1994||0.9||20-02-1991||29-07-1993|