Skip to main content

Posts

Showing posts with the label Python 3

Who Uses Python Today?

At this writing, the best estimate anyone can seem to make of the size of the Python user base is that there are roughly more than 1 million Python users around the world today. This estimate is based on various statistics, like download rates, web statistics, and developer surveys. Because Python is open source, a more exact count is difficult—there are no license registrations to tally. Moreover, Python is automatically included with Linux distributions, Macintosh computers, and a wide range of products and hardware, further clouding the user-base picture. In general, though, Python enjoys a large user base and a very active developer community. It is generally considered to be in the top 5 or top 10 most widely used programming languages in the world today (its exact ranking varies per source and date). Because Python has been around for over two decades and has been widely used, it is also very stable and robust. Besides being leveraged by individual users, Python is also bein...

Python IDLE

IDLE is usually referred to as an integrated development environment (IDE), because it binds together various development tasks into a single view. The Raspberry Pi Operating Systems like Raspbian, OpenElec etc. comes with preinstalled Python IDLE. If you are interested to download Python IDLE for your PC or Laptop click here . To know more about installing Python IDLE click here . In this link the author is saying about how to install Python 3.4.3 which is now I am using. The IDLE User Interface If you’re looking for something a bit more visual, IDLE provides a graphical user interface for doing Python development, and it’s a standard and free part of the Python system. You can also run Python code with the interactive prompt, system command lines, Unix-style scripts, icon clicks, module imports, and exec calls. Since these not important for a Raspberry-Pi programming. However this will be discussed in this blog later. As mentioned above IDLE binds together various developm...

Python Phylosophy and code style

Code Style Pythonistas (veteran Python developers) celebrate having a language so accessible that people who have never programmed can still understand what a Python program does when they read its source code. Readability is at the heart of Python’s design, following the recognition that code is read much more often than it is written. One reason Python code can be easily understood is its relatively complete set of code style guidelines (collected in the two Python Enhancement Proposals PEP 20 ,described next) and “Pythonic” idioms. When a Pythonista points to portions of code and says they are not “Pythonic,” it usually means that those lines of code do not follow the common guidelines and fail to express the intent in what is considered the most readable way. Of course, “a foolish consistency is the hobgoblin of little minds". Pedantic devotion to the letter of the PEP can underminereadability and understandability. PEP 20; Zen of Python In the world of scripting langu...

History of Python

History of Python Guido Van Rossum Python was developed by Guido Van Rossum at National Research Institute for Mathematics and Computer Science in Netherlands during 1985-1990. Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, Unix shell and other scripting languages. Rossum was inspired from " Monty Python's Flying Circus", a BBC comedy series and he wanted the name of his new language to be short, unique and mysterious. Hence he named it Python. It was a general-purpose interpreted, interactive, object-oriented, and high-level programming language. Python source code is available under the GNU General Public License(GPL) and it is now maintained by a core development team at the National Research Institute. More about Python python is a widely used general-purpose, high-level programming language. This is an Open Source software and its source code is available with a license in which the Copyright holder p...