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
Download the latest version of Python for your operating system here. You can also read more about setting up a python development here
Create a new folder where you will be saving you python files, let say FirstApp.
Open your text-editor, then navigate to the folder you created (FirstApp).
Create a new file called app.py then enter the following code into the file:
print("Hello, World!")
- 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!
Top comments (1)
cool work here