




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































It is more expressive means that it is more understandable and readable. More emphasis on the solution of the problem rather than the syntax
In Python, no need to take care about low-level details such as managing the memory used by the program.
Internally, Python converts the source code into an intermediate form called byte code. This byte code is then executed by interpreter on PVM (Python virtual machine).
Python language is freely available at official web address. The source-code is also available. Therefore it is open source.
Supports Procedural as well as Object Oriented Programing.
Python can be used within C/C++ program i.e. in other languages.
Exception handling features Memory management techniques in built.
The Python Standard Library is vary vast. Library available for NLP, multi-threading, databases, CGI, email, XML, HTML, Image , Audio , Video Processing , cryptography, GUI, Networking and many more.
It is highly unlikely that your Windows system shipped with Python already installed. Windows systems typically do not. Fortunately, installing does not involve much more than downloading the Python installer from the python.org website and running it. Python installers are available for download - two each for the 32-bit and 64 - bit versions of the interpreter. The web installer is a small initial download, and it will automatically download the required components as necessary. The offline installer includes the components necessary for a default installation and only requires an internet connection for optional features.
A code editor is a tool that is used to write and edit code. They are usually lightweight and can be great for learning. However, once your program gets larger, you need to test and debug your code, that's where IDEs come in. An IDE (Integrated Development Environment) understand your code much better than a text editor. It usually provides features such as build automation, code linting, testing and debugging. This can significantly speed up your work.
When you install Python, IDLE is also installed by default. This makes it easy to get started in Python. Its major features include the Python shell window(interactive interpreter), auto-completion, syntax highlighting, smart indentation, and a basic integrated debugger. IDLE is a decent IDE for learning as it's lightweight and simple to use. However, it's not for optimum for larger projects.
PyCharm is an IDE for professional developers. It is created by JetBrains, a company known for creating great software development tools. There are two versions of PyCharm: Community - free open-source version, lightweight, good for Python and scientific development Professional - paid version, full-featured IDE with support for Web development as well PyCharm provides all major features that a good IDE should provide: code completion, code inspections, error-highlighting and fixes, debugging, version control system and code refactoring. All these features come out of the box.
The print() function prints the specified message to the screen, or other standard output device. The message can be a string, or any other object, the object will be converted into a string before written to the screen.
used which prints objects on the screen.
A variable is a location used to store data in the memory. It is helpful to think of variables as a container that holds data which can be changed later throughout programming. In Python, we don't need to specify the type of variable because Python is a dynamically-typed. It automatically decides the datatype depending on type of value.
Variables can store data of different types, and different types can do different things. Every value in Python has a datatype. Since everything is an object in Python programming, data types are actually classes and variables are instance (object) of these classes. There are various data types in Python. Some of the important types are listed below.
Python Identifier is the name we give to identify a variable, function, class, module or other object. That means whenever we want to give an entity a name, that’s called identifier.
Python keywords are the words that are reserved. That means you can’t use them as name of any entities like variables, classes and functions. So you might be thinking what these keywords are for. They are for defining the syntax and structures of Python language. You should know there are 33 keywords in Python programming language as of writing this tutorial. Although the number can vary in course of time. Also keywords in Python is case sensitive. So they are to be written as it is. Here is a list of all keywords in python programming.