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

TCS

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)
505 views2 pages

TCS

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
You are on page 1/ 2

6/30/2016

Introduction

(/users/ct20151442159/notifications)

(http://www.tcs.com)

(/search)

(/messages)

Chapter1:Introduction

PythonAllChapters(/communities/aspire2016/course/python0)
Home (/communities/aspire2016) SeeLeaderboard (/communities/aspire
2016/aspire_dashboard)
Index
1.1.Introduction(/communities/aspire2016/content/introduction45)
GotoDoubts

1.1.Introduction
HistoryofPython
PythonwasdevelopedbyGuidovanRossuminthelateeightiesandearlyninetiesattheNational
ResearchInstituteforMathematicsandComputerScienceintheNetherlands.
Pythonisderivedfrommanyotherlanguages,includingABC,Modula3,C,C++,ALGOL68,
SmallTalk,andUnixshellandotherscriptinglanguages.
Pythonisnowmaintainedbyacoredevelopmentteamattheinstitute,althoughGuidovanRossum
stillholdsavitalroleindirectingitsprogress.
Pythonfeatures
Python'sfeaturehighlightsinclude:
Easytolearn:Pythonhasrelativelyfewkeywords,simplestructureandaclearlydefined
syntax.Thisallowsthestudenttopickupthelanguageinarelativelyshortperiodoftime.
Easytomaintain:Python'ssuccessisthatitssourcecodeisfairlyeasytomaintain.
Abroadstandardlibrary:OneofPython'sgreateststrengthsisthebulkofthelibraryisvery
portableandcrossplatformcompatibleonUNIX,WindowsandMacintosh.
InteractiveMode:Supportforaninteractivemodeinwhichyoucanenterresultsfroma
terminalrighttothelanguage,allowinginteractivetestinganddebuggingofsnippetsofcode.
Portable:Pythoncanrunonawidevarietyofhardwareplatformsandhasthesameinterface
onallplatforms.
Expandable:YoucanaddlowlevelmodulestothePythoninterpreter.Thesemodulesenable
programmerstoaddtoorcustomizetheirtoolstobemoreefficient.
Databases:Pythonprovidesinterfacestoallmajorcommercialdatabases.
GUIProgramming:PythonsupportsGUIapplicationsthatcanbecreatedandportedtomany
systemcalls,librariesandwindowssystems,suchasWindowsMFC,MacintoshandtheX
WindowsystemofUnix.
Scalable:
Pythonprovidesabetterstructureandsupportforlargeprogramsthanshellscripting.
Apartfromtheabovementionedfeatures,Pythonhasabiglistofgoodfeatures,feware
listedbelow:
SupportforfunctionalandstructuredprogrammingmethodsaswellasOOP.
Itcanbeusedasascriptinglanguageorcanbecompiledtobytecodeforbuildinglarge
https://campuscommune.tcs.com/communities/aspire2016/content/introduction45

1/2

6/30/2016

Introduction

applications.
Veryhighleveldynamicdatatypesandsupportsdynamictypechecking.
Supportsautomaticgarbagecollection.
ItcanbeeasilyintegratedwithC,C++,ActiveX,CORBAandJava.
Availableonlineinterpreters
Refertheselinksforonlineinterpreterstoexecutepythoncode,
Link1:http://codepad.org/(http://codepad.org/)
Link2:http://www.pythontutor.com/visualize.html#mode=edit
(http://www.pythontutor.com/visualize.html#mode=edit)
Link3:http://www.codeskulptor.org/(http://www.codeskulptor.org/)
Asamplescreenshotfrompythontutor.comexplainingexecutionoftheprogram.
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.
https://store.enthought.com/downloads/(https://store.enthought.com/downloads/)
OpenDoubts

ClosedDoubts

MyDoubts

Therearenodoubtsyet

https://campuscommune.tcs.com/communities/aspire2016/content/introduction45

2/2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy