0% found this document useful (0 votes)
171 views2 pages

Introduction to Python Features

This document provides an introduction to the Python programming language. It discusses the history and development of Python, highlights of its features including ease of use, portability, and extensive standard library. It also lists some popular online Python interpreters for executing code and describes using the Python command line interpreter. Finally, it provides a link for downloading the Python interpreter to use on desktop computers.

Uploaded by

Sana Iqbal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views2 pages

Introduction to Python Features

This document provides an introduction to the Python programming language. It discusses the history and development of Python, highlights of its features including ease of use, portability, and extensive standard library. It also lists some popular online Python interpreters for executing code and describes using the Python command line interpreter. Finally, it provides a link for downloading the Python interpreter to use on desktop computers.

Uploaded by

Sana Iqbal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

6/30/2016

Introduction

(/users/ct20151442159/notifications)

([Link]

(/search)

(/messages)

Chapter1:Introduction

PythonAllChapters(/communities/aspire2016/course/python0)
Home (/communities/aspire2016) SeeLeaderboard (/communities/aspire
2016/aspire_dashboard)
Index
[Link](/communities/aspire2016/content/introduction45)
GotoDoubts

[Link]
HistoryofPython
PythonwasdevelopedbyGuidovanRossuminthelateeightiesandearlyninetiesattheNational
ResearchInstituteforMathematicsandComputerScienceintheNetherlands.
Pythonisderivedfrommanyotherlanguages,includingABC,Modula3,C,C++,ALGOL68,
SmallTalk,andUnixshellandotherscriptinglanguages.
Pythonisnowmaintainedbyacoredevelopmentteamattheinstitute,althoughGuidovanRossum
stillholdsavitalroleindirectingitsprogress.
Pythonfeatures
Python'sfeaturehighlightsinclude:
Easytolearn:Pythonhasrelativelyfewkeywords,simplestructureandaclearlydefined
[Link].
Easytomaintain:Python'ssuccessisthatitssourcecodeisfairlyeasytomaintain.
Abroadstandardlibrary:OneofPython'sgreateststrengthsisthebulkofthelibraryisvery
portableandcrossplatformcompatibleonUNIX,WindowsandMacintosh.
InteractiveMode:Supportforaninteractivemodeinwhichyoucanenterresultsfroma
terminalrighttothelanguage,allowinginteractivetestinganddebuggingofsnippetsofcode.
Portable:Pythoncanrunonawidevarietyofhardwareplatformsandhasthesameinterface
onallplatforms.
Expandable:[Link]
programmerstoaddtoorcustomizetheirtoolstobemoreefficient.
Databases:Pythonprovidesinterfacestoallmajorcommercialdatabases.
GUIProgramming:PythonsupportsGUIapplicationsthatcanbecreatedandportedtomany
systemcalls,librariesandwindowssystems,suchasWindowsMFC,MacintoshandtheX
WindowsystemofUnix.
Scalable:
Pythonprovidesabetterstructureandsupportforlargeprogramsthanshellscripting.
Apartfromtheabovementionedfeatures,Pythonhasabiglistofgoodfeatures,feware
listedbelow:
SupportforfunctionalandstructuredprogrammingmethodsaswellasOOP.
Itcanbeusedasascriptinglanguageorcanbecompiledtobytecodeforbuildinglarge
[Link]

1/2

6/30/2016

Introduction

applications.
Veryhighleveldynamicdatatypesandsupportsdynamictypechecking.
Supportsautomaticgarbagecollection.
ItcanbeeasilyintegratedwithC,C++,ActiveX,CORBAandJava.
Availableonlineinterpreters
Refertheselinksforonlineinterpreterstoexecutepythoncode,
Link1:[Link]
Link2:[Link]
([Link]
Link3:[Link]
[Link].
CommandlineInterpreter
Pythonhascommandlineinterpreterthathelpsinexecutingpythoncommandsbydirectlyentering
intopythonwithoutwritingascript.
Example:
Ifwetype1+2theoutputwouldbe3.
Thecommandlinestartswith>>>symbolasshowninexamples,
>>>2+2
4
>>>505*6
20
>>>(505*6)/4.0
5.0
>>>8/5#divisionalwaysreturnsafloatingpointnumber
1.6
>>>width=20
>>>height=5*9
>>>width*height
900
Pythonondesktop
RefertothislinkfordownloadingPythoninterpreteronyourdesktop.
[Link]
OpenDoubts

ClosedDoubts

MyDoubts

Therearenodoubtsyet

[Link]

2/2

You might also like