Python - An easy to understand programming language

Undefined

Python is an interpreted high-level programming language for general-purpose programming. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales.

Python features a dynamic type system and automatic memory management. It supports multiple programming paradigms, including object-oriented, imperative, functional and procedural, and has a large and comprehensive standard library.

Python 2.7.13 comes with Debian and to see how it works, just open a terminal window and type:

python

Press Enter and the Python shell opens.

>>>

Now you can test out some simple things like math or the classic "Hello World".

Type:

>>> print 'Hello World'

Press Enter and the message Hello World gets printed on your screen. However, your little program won't be saved. You need an editor for that, luckily there is one very simple editor available for download named IDLE.

sudo apt-get install idle

Press Enter,

Then just type:

idle

Press Enter, and the editor opens up. Now click on File, New File and begin writing your first program, then save it as a .py file and make it executable by:

chmod +x filename.py

Press Enter,

License: PSFL

Developers website

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.

Disclaimer

All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.

 

Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.