ESTEEMStream.News

ESTEEM Center for Equity in Science, Technology, Engineering, English & Math

ESTEEMStream.News

ESTEEMStream.News

An Intro to Python

Python is an advanced coding language with more capabilities than other languages like Javascript, or HTML. Usually, it is best to start with lower level coding languages, so I would advise you, unless you have learned another coding language in the past, to go to code.org, and do their lessons on HTML, CSS, and Javascript before you read this article.
Shows+a+picture+of+a+computer+with+code+on+it.+The+letters+are+different+colors.

Python is an advanced coding language with more capabilities than other languages like Javascript, or HTML. Usually, it is best to start with lower level coding languages, so I would advise you, unless you have learned another coding language in the past, to go to code.org, and do their lessons on HTML, CSS, and Javascript before you read this article. All coding languages are similar, and knowing Javascript will help you to learn Python.

Python is mainly used for web and software developing, but it can also be used to perform complex mathematics. Python can be used on a server to create web applications, or alongside software. Python was designed for readability, and has some similarities to the English language with influence from mathematics.

Python code is written in a file, and when executed, the file will run the commands in order, top to bottom. For example, if I was to write:

print(“Command 1”)

print(“Command 2”)

then the output would be:

Command 1

Command 2

because of the order. Most Python commands are run independently, with the exception of anything containing a variable. To run python commands, you can use a text editor to create either a .py file, or a .bat file like this:

py – tells the computer to look for python commands

<begin python code> – Don’t actually include this, it is here to show when the code starts.

print(“Hello World!”) – Python code to run. Can be multiple lines long.

<end python code> – Don’t actually include this, it is here to show when the code starts.

As a text editor, I would recommend Sublime Text Editor, because it is really easy to use.

 

Take Action

https://www.w3schools.com/python/python_intro.asp

https://www.python.org/

https://www.pythonanywhere.com/

https://www.online-python.com/

https://www.programiz.com/python-programming/online-compiler/#google_vignette

Related Stories

https://www.python.org/about/gettingstarted/

https://www.geeksforgeeks.org/introduction-to-python/

https://developers.google.com/edu/python/introduction

https://www.udacity.com/course/introduction-to-python–ud1110

 

More to Discover