You are on page 1of 4

Titles Text

Search

BeginnersGuide
BeginnersGuide
FrontPage
RecentChanges
FindPage
HelpContents
BeginnersGuide

Page
ImmutablePage
Info
Attachments
MoreActions:

User
Login

Beginner'sGuidetoPython
Newtoprogramming?Pythonisfreeandeasytolearnifyouknowwheretostart!Thisguidewill
helpyoutogetstartedquickly.
ChineseTranslation

NewtoPython?
ReadBeginnersGuide/OverviewforashortexplanationofwhatPythonis.

GettingPython
Next,installthePythoninterpreteronyourcomputer.ThisistheprogramthatreadsPython
programsandcarriesouttheirinstructionsyouneeditbeforeyoucandoanyPython
programming.MacOSXdistributionsfrom10.3(Panther)andup,includeaversionofPython,
which,althoughitcanbeasmuchastwoyearsoutofdate,maybesuitableforbeginning.Linux
distributionsalsofrequentlyincludePythonanditisreadilyupgraded.

TherearecurrentlytwomajorversionsofPythonavailable:Python2andPython3.The
Python2orPython3pageprovidesadviceonhowtodecidewhichonewillbestsuityourneeds.At
thetimeofwriting(21Jun2010),therestofthispageassumesyou'vedecidedtousePython2.
SeeBeginnersGuide/DownloadforinstructionsfordownloadingthecorrectversionofPython.
Atsomestage,you'llwanttoeditandsaveyourprogramcode.Takealookat
HowToEditPythonCodeforsomeadviceandrecommendations.

LearningPython
Next,readatutorialandtrysomesimpleexperimentswithyournewPythoninterpreter.
Ifyou'veneverprogrammedbefore,seeBeginnersGuide/NonProgrammersforalistof
suitabletutorials.
Ifyouhavepreviousprogrammingexperience,consultBeginnersGuide/Programmers,
whichlistsmoreadvancedtutorials.
IfEnglishisn'tyourfirstlanguage,youmightbemorecomfortablewithatutorialthat'sbeen
translatedintoyourlanguage.Consultpython.org'slistofNonEnglishresources.
Mosttutorialsassumeyouknowhowtorunaprogramonyourcomputer.Ifyouareusing
Windowsandneedhelpwiththis,see HowdoIRunaProgramUnderWindows.
Onceyou'vereadatutorial,youcanbrowsethrough Python'sonlinedocumentation.It
includes atutorialthatmaybehelpful, aLibraryReferencethatlistsallofthemodulesthat
comestandardwithPython,and theLanguageReferenceforacomplete(ifratherdry)
explanationofPython'ssyntax.
Whenyouarereadytowriteyourfirstprogramyouwillneedatexteditor.Togetstartedyoucan
useanyeditoryouarefamiliarwithevensomethinglikeNotepadbutasyougainexperience
youmaywanttouseatexteditorwithfeaturesthathelpyouwritePythonprograms.See
PythonEditorsforalistofprogramsfriendlytoPythoncodeediting.

NeedHelp?
Needhelpwithanyofthis?ReadBeginnersGuide/Helpformailinglistsandnewsgroups.
MostPythonbookswillincludeanintroductiontothelanguageseeIntroductoryBooksfor
suggestedtitles.
ConsultBeginnersGuide/Examplesforsmallprogramsandlittlesnippetsofcodethatcanhelp
youlearn.
Or,ifyouprefertolearnPythonthroughlisteningtoalecture,youcanattendatrainingcourseor
evenhireatrainertocometoyourcompany.ConsultthePythonEventspagetoseeifany
trainingcoursesarescheduledinyourarea,andthePythonTrainingpageforalistoftrainers.

Teacherscanjointhe EDUSIG,amailinglistfordiscussionofPython'suseinteachingatany
levelrangingfromK12uptouniversity.

CompletelistofBeginner'sGuidepages
1.
2.
3.
4.
5.
6.
7.
8.
9.

BeginnersGuide(PythonDoc&Start16DEC2010.pdf)
BeginnersGuide/Download
BeginnersGuide/Examples
BeginnersGuide/Help
BeginnersGuide/NonProgrammers
BeginnersGuide/Overview
BeginnersGuide/Programmers
BeginnersGuide/Programmers(Cpp2Python.pdf)
BeginnersGuide/Programmers(Tutorial.txt)

QuizandExercises
CheckIO

Onlinelearning,testingandimprovingyourpythonskills

AfterHoursProgramming
Pyschools

PythonQuiz

ACollectionofPythonQuizandExerciseQuestions

PythonChallenge

APythonQuizApponAndroidPlatform

CSCirclesonlinelessonsandgradedexercises
ArabicPythonQuiz

LookingforaparticularPythonmoduleorapplication?
Thefirstplacetolookisthe

PythonPackageIndex.

Ifyoucan'tfindanythingrelevantinthePackageIndex,
try searchingpython.orgyoucanfindanythingmentionedonthePythonsite,inthe
FAQs,orinthenewsgroup.Moreinfo: wheretosearch.
Youmayalsotryourexternalguestproject,
modulesearch.

pydoc.net,foradvancedpackageand

Next,try Googleorothersearchengineofyourchoice.Searchingfor"python"andsome
relevantkeywordswillusuallyfindsomethinghelpful.
Finally,youcantrypostingaquerytothecomp.lang.pythonUsenetgroup.

Wanttocontribute?
Pythonisaproductofthe PythonSoftwareFoundation,anonprofitorganizationthat
holdsthecopyright. DonationstothePSFaretaxdeductibleintheUSA,andyoucan
donateviacreditcardorPayPal.
ToreportabuginthePythoncore,usethe

PythonBugTracker.

TocontributeabugfixorotherpatchtothePythoncore,readthe
GuideformoreinformationaboutPython'sdevelopmentprocess.

PythonDeveloper's

Tocontributetotheofficial Pythondocumentation,jointhe DocumentationSIG,write


to docs@python.org,orusethe IssueTrackertocontributeadocumentationpatch.
ToannounceyourmoduleorapplicationtothePythoncommunity,use
comp.lang.python.announce.See theguidetoPythonmailinglistsformoreinformation.
Toproposechangestothepythoncore,postyourthoughtsto comp.lang.python.Ifyou
haveanimplementation,followthe PythonPatchGuidelines.
CategoryDocumentation

BeginnersGuide(lastedited2014121711:26:38byOMFGNuts)

MoinMoinPowered
PythonPowered
GPLlicensed
ValidHTML4.01