Introduction to Python
Python
is high level, object oriented programming language, its code is interpreted
while building the application
The
aim is to give you precise description and understanding how Python is working
and why it’s has so importance.
Download Python
Download Python
Python Advantages
Python
is copyrighted. Like Perl, Python source code is now available under the GNU
General Public License (GPL)
Python
allows you to manipulate, manage and analyze data helping assist in decision
making and creating efficiencies that will directly affect your bottom line.
Whether you’re using it for business or to help manage personal database and
expenses Python gives you the right tools to enable you to accomplish all your
needs.-
Python can run in any cross-platform.
It runs on many operating systems and different hardware. It is popularly
used on GNU/Linux, Macintosh, and Microsoft Windows and Window Azure
/Cloud Computing for analytics, running on both 32 and 64 bit processors.
Python is the most
comprehensive statistical analysis package available. It incorporates all of
the standard statistical tests, models, and analyses, as well as providing
a comprehensive language for managing and manipulating data.
Python is a programming language/scripting
language and environment developed for statistical analysis by practicing
statisticians and researchers. It reflects well on a very competent
community of computational statisticians.
Scripting languages such as
Python more productive than conventional languages for a programming problem
involving string manipulation and search in a dictionary.Memory consumption was
often "better than Java and not much worse than C or C++"
Python has been successfully
embedded in many software products as a scripting language . It can also
produce graphics output in PDF, JPG, PNG, and SVG formats, and
table output for LATEX and HTML.
Python be used for?
Python
is a very versatile tool and can be used
for almost anything that you can imagine:
- Abaqus,
- 3D parametric modeler ,
- 3D animation packages such as 3ds Max,
- Blender,
- Cinema 4D,
- Lightwave,
- Houdini,
- Maya,
- modo,
- MotionBuilder,
- Softimage,
- the visual effects compositor Nuke,
- 2D imaging programs like GIMP,
- Inkscape, Scribus and Paint Shop Pro,
- Musical notation programs like scorewriter and capella.
- Python as the best choice for writing scripts in ArcGIS.
- It has also been used in several video games,adopted as first of the three available programming languages in Google App Engine,
- Python is also used in algorithmic trading and quantitative finance.
- Python can also be implemented in APIs of online brokerages that run on other languages by using wrappers.
- Cloud Computing and many more…..
Few Frequently used commands
with meaning
- input = open('data', 'r') Create input file ('r' means read).
- D1 = { } Empty dictionary
- D2 = {'Ax': 2, 'Bn': 3} Two-item dictionary
- D2['User'] Indexing by key
- L.count(x) Returns the number of occurrences of x in L
- L.index(x) Returns the index of the first occurrence of x in L or raises an exception if L has no such item
- L.count(x) Returns the number of occurrences of x in L
- L.index(x) Returns the index of the first occurrence of x in L or raises an exception if L has no such item
- `expr,...` String conversion
- {key:expr,...} Dictionary creation
- [expr,...] List creation
- (expr,...) Tuple creation or simple parentheses
- f(expr,...) Function call
- x[index:index] Slicing
- x[index] Indexing
- x.attr Attribute reference
- x**y Exponentiation (x to yth power)
- ~x Bitwise NOT
- +x, -x Unary plus and minus
- x*y, x/y, x//y, x%y Multiplication, division, remainder
- x+y, x-y Addition, subtraction
- x<<y, x>>y Left-shift, right-shift
- x&y Bitwise AND
- x^y Bitwise XOR
- x|y Bitwise OR
- x<y, x<=y, x>y, x>=y Comparisons
- x<>y, x!=y, x==y Equality/inequality tests*
- x is y, x is not y Identity tests
- x in y, x not in y Membership tests
- not x Boolean NOT
- x and y Boolean AND
- x or y Boolean OR
- lambda arg,...: expr Anonymous simple function
Introduction to Python
Reviewed by Rupesh
on
10:41
Rating:
No comments: