MediumGetting started with Python. Introduction to Python | by Zoha_m | Medium
Sitemap

Getting started with Python

3 min readNov 20, 2023

--

Press enter or click to view image in full size

Introduction to Python

Inception of python

Python was unveiled in the late 1980s, thanks to Guido van Rossum, a Dutch programmer. In 1991, the world saw the first official release, Python 0.9.0. Guido aimed to create a language that’s easy to read and lets programmers express ideas with minimal code. This focus on simplicity laid the foundation for Python’s popularity.

Python Versions Unveiled

Since its inception, Python has seen continuous improvements. Versions like Python 1.0 (1994) to the recent Python 3.12.0 have refined the language, adding new features and enhancing performance.

Python’s Programming Styles

More than Just Objects

Python breaks the mold by supporting both procedural and object-oriented programming. Unlike languages like Java and C++ that stick to one style, Python gives you the freedom to choose the approach that fits your project.

Python vs. Other Languages

Java and C++: Object-Oriented Giants

While Java and C++ excel in object-oriented programming, Python’s simplicity shines. Whether you’re working on a small project or diving into more complex designs, Python’s flexibility makes it a winner.

Python’s Popularity Secrets

Flexibility Matters

Python’s popularity is no accident. Its flexibility caters to various programming styles, making it a favorite for beginners and experts alike. that's why I chose to start programming with python.

Easy to Understand

Python’s syntax is designed for clarity and conciseness. It’s easy to read, reducing the chances of errors and making it beginner-friendly.

Interpretation Boost

Being an interpreted language means Python code runs line by line. This interpretative feature speeds up testing and debugging, making development smoother.

How Python is Securing Its Place in Every Domain!

In the vast world of coding, Python stands out for its simplicity and adaptability. From its humble beginnings to becoming a powerhouse in web development, data science, and artificial intelligence, Python continues to evolve. As you dive into Python, remember that its strength lies not just in its syntax but in the supportive community that fuels its growth. Happy coding!

Installing Visual Studio Code for Python:

Download Visual Studio Code:

  • Go to the official Visual Studio Code website: https://code.visualstudio.com/.
  • Click on the “Download” button to download the installer for your operating system (Windows, macOS, or Linux).

Open Visual Studio Code:

  • Once the installation is complete, launch Visual Studio Code.

Install Python:

Now if you want to confirm whether Python is installed on your computer, follow these simple steps:

Get Zoha_m’s stories in your inbox

Join Medium for free to get updates from this writer.

First open the command prompt and type “python”.

Press enter or click to view image in full size

Now here we are writing our First program:

To execute this program, the initial step is to open the terminal and then input a command to run the program.

Now, simply type “python” in the terminal followed by the name of the file where you’ve written your code.

--

--