What is Python?
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development.
What makes python so popular?
- It is simple and easy to learn syntax.
- Debugging Python programs is easy
- increased productivity it provides
- It’s beginner friendly.
- It’s open source.
- It’s versatile.
- Python has a large and active community
- It has archive of modules and libraries
What types of jobs use Python?
Since python is a general-purpose language, it’s used across a variety of fields and industries. These are just a few job titles that may use Python:
- Developer
- Data analyst
- Data scientist
- Ethical hacker/penetration tester
- Software engineer
- Data journalist
- Cloud architect
- QA engineer
What is Python used for?
- developing websites and software
- task automation
- data analysis
- data visualization
- Software testing and prototyping
Python installation steps
- Visit https://www.python.org/downloads/
- Select your Operating system(Windows, Linux, MacOS)
- Select the release or version, click on it to download.
- Double click on the file to execute and install.
- For window mark “add to system paths” For more check on the python documentation for more documentations.
Let’s test our installed python
- Open Terminal on Linux or cmd on windows
- Run the python --version command to check if you installed the correct version. if python is installed, the output will be similar to as below:
C:\Users\UCHE>python --version
Python 3.9.7
C:\Users\UCHE>
we can now open python interpreter shell on the terminal with this command. the output will be similar to as below:
C:\Users\UCHE>python
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Our first code is to print hello world using python.
>>> print("Hello, World!")
Hello, World!
>>>
Next, lets read from user input, declare it in a variable and print
>>> name = input("enter your name: ")
enter your name: Bale
>>> print("hello, " + name)
hello, Bale
>>>
we can also use a code editor and IDEs(Integrated Development Environment) to write our python code.
Here are the list of best python IDEs and code editors
- PyCharm
- Visual Studio Code
- Sublime Text
- Atom
- Jupyter Notebook
- Eclipse + PyDev + LiClipse
- Vim
- GNU Emacs
- Spyder
- Thonny
- Komodo Edit
Top comments (0)