Getting Started With Python

Introduction:

Python is a general purpose, high level, interpreted language with easy syntax. It was developed in 1989 by Guido Van Rossum, it is named after the British comedy group Monty Python (I’m also a big fan of their movies and ske…


This content originally appeared on DEV Community and was authored by Asante Ntiro

Introduction:


Python is a general purpose, high level, interpreted language with easy syntax. It was developed in 1989 by Guido Van Rossum, it is named after the British comedy group Monty Python (I'm also a big fan of their movies and sketches). In the past decade Python has seen an exponential increase in its popularity among developers.

Why is Python so popular?

The biggest reason is its easy-to-learn syntax. Python also boasts a great number of use cases including but not limited to:

  • AI and Machine Learning

  • Web Development

  • Data Visualization

  • Game Development

  • Data Analytics

  • Financial-Technology

  • Cyber Security

  • Automation

  • Testing

Getting Started

  1. Download the latest version of Python for your operating system here. You can also read more about setting up a python development here

  2. Create a new folder where you will be saving you python files, let say FirstApp.

  3. Open your text-editor, then navigate to the folder you created (FirstApp).

  4. Create a new file called app.py then enter the following code into the file:

print("Hello, World!")

  1. Save the file.

That was easy! Now for the REAL magic.

Using Command Prompt on Windows or Terminal on UNIX (macOS or Linux) Navigate to the FirstApp folder and type the following command

Python3 app.py

If everything went according to plan, you'll see the following message on screen:

Hello, World!

There you go! You just wrote your first program in Python!
I hope you can learn more soon!


This content originally appeared on DEV Community and was authored by Asante Ntiro


Print Share Comment Cite Upload Translate Updates
APA

Asante Ntiro | Sciencx (2022-02-10T10:38:35+00:00) Getting Started With Python. Retrieved from https://www.scien.cx/2022/02/10/getting-started-with-python-2/

MLA
" » Getting Started With Python." Asante Ntiro | Sciencx - Thursday February 10, 2022, https://www.scien.cx/2022/02/10/getting-started-with-python-2/
HARVARD
Asante Ntiro | Sciencx Thursday February 10, 2022 » Getting Started With Python., viewed ,<https://www.scien.cx/2022/02/10/getting-started-with-python-2/>
VANCOUVER
Asante Ntiro | Sciencx - » Getting Started With Python. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/10/getting-started-with-python-2/
CHICAGO
" » Getting Started With Python." Asante Ntiro | Sciencx - Accessed . https://www.scien.cx/2022/02/10/getting-started-with-python-2/
IEEE
" » Getting Started With Python." Asante Ntiro | Sciencx [Online]. Available: https://www.scien.cx/2022/02/10/getting-started-with-python-2/. [Accessed: ]
rf:citation
» Getting Started With Python | Asante Ntiro | Sciencx | https://www.scien.cx/2022/02/10/getting-started-with-python-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.