In computer science, we have many languages to complete our work. Every languages has its benefits and drawbacks which make it suitable for some particular task. some are known for its fast execution, other for easy writing syntax, some for its interpreter. like C, C++ are known for its fast execution but PHP is known for its web development. Python is famous between many developers for its easy syntax and wide variety of features which make suitable to write and manage on any platform. Python was Guido van Rossum during 1985- 1990. which continually supported and available in Opensource under the GNU General Public License (GPL). In this port series we will try to understand , how we can work on python for prospects which could be suitable for various IT profiles.
This series of post are designed for computer programmers who like to solve some easy and medium level problem in python with some very easy syntax and great efficiency. I wish you all the very best for your learning.
There is no such high expectation to start this course, yes but you should have system to practice your learning and also should have some basic understanding of computer programming.
Before start something in python , we should have some basic information about Python, that how we could start or what all functionality we are going to learn with python. What are important features of python because of python is so famous in modern computing world.
- Because of python easy syntax its quit famous in beginner programmer, who like to work as programmer with some little effort, that doesn’t mean that python don’t need hard work that only mean that in python you could able to achieve much more and faster as compared to any other language and able to attain your target most actively.
- As all other modern languages, its object oriented. Regarding what is object oriented feature we will discuss it later in its post where we cover it.
- Python process at runtime through its interpreter, means we need not to compile it before run.
- This is really useful that we have one python interactive prompt which allow to write python program
- while writing program in python we will use various other program modules written in python which make easy for us to do same work. python library has wide variety of modules which are use across platform
- Python could used with various platform , different OS, can connect with various database, Can work for GUI programming.
To work on Python, you could use Linux/unix,Mac and Windows machine. python support all platform. I personally using Ubuntu Machine.
Latest Python version is 3.7.1 . but of Machine still default install python2.7, So i am also using python2.7 for practice and will also check some majore diffrences python version. Our concentration is mostly for python basic learning not for version specfic. once you get to know any version would be easy to understand and practice newer version as well.
root@jarvis:~# python --version Python 2.7.15rc1 root@jarvis:~# python3.7 --version Python 3.7.0 root@jarvis:~# python Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> root@jarvis:~# python3.7 Python 3.7.0 (default, Sep 12 2018, 18:30:08) [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
So let’s try to cover some important topics in python in details through practice examples and their explanations. Below are contents covered in this post for Python Programming…