Python supports multiple programming paradigms, including object-oriented, imperative and functional programming styles. It features a fully dynamic type system and automatic memory management, similar to that of Scheme, Ruby, Perl, and Tcl. Like other dynamic languages, Python is often used as a scripting language, but is also used in a wide range of non-scripting contexts. Using third-party tools, Python code can be packaged into standalone executable programs. Python interpreters are available for many operating systems.
If you are a database or a system admin, you can use python language for any script works. Python allows that writes quickly scripts.
Basic Python Code Structure, File Name : test.py
#!/usr/bin/env python
#-*- coding: utf-8 -*-import os #This choosing allows that you can run os module’s functions with writing os.
from os import * #This choosing allows that you can run os module’s functions without writing os.def test_function():
print “Hello World.. :)”
def main():
try:
test_funtion()
except NameError:
print “Can not write any text”