Learn Python in One Day and Learn It Well Python for Beginners with Hands-on Project. The only book you need to start coding in Python immediately by Chan, Jamie (z-lib.org)

Telechargé par razibouallagui
LearnPythoninOneDayandLearnItWell
PythonforBeginnerswithHands-onProject
TheonlybookyouneedtostartcodinginPythonimmediately
ByJamieChan
http://www.learncodingfast.com/python
Copyright©2014
Allrightsreserved.Nopartofthispublicationmaybereproduced,distributed,ortransmittedinanyformorbyanymeans,
includingphotocopying,recording,orotherelectronicormechanicalmethods,withoutthepriorwrittenpermissionofthe
publisher,exceptinthecaseofbriefquotationsembodiedincriticalreviewsandcertainothernoncommercialuses
permittedbycopyrightlaw.
Preface
ThisbookiswrittentohelpyoulearnPythonprogrammingFASTandlearnitWELL.Ifyouareanabsolutebeginnerin
Programming,you'llfindthatthisbookexplainscomplexconceptsinaneasytounderstandmanner.Examplesare
carefullychosentodemonstrateeachconceptsothatyoucangainadeeperunderstandofthelanguage.Ifyouarean
experiencedcoder,thisbookgivesyouagoodbasefromwhichtoexplorePython.Theappendicesattheendofthebook
willalsoprovideyouwithaconvenientreferenceforsomeofthecommonlyusedfunctionsinPython.
Inaddition,asRichardBransonputsit:"Thebestwayoflearningaboutanythingisbydoing".Attheendofthecourse,
you'llbeguidedthroughaprojectthatgivesyouachancetoputwhatyou'velearnedtouse.
Youcandownloadthesourcecodefortheprojectandtheappendicesathttp://www.learncodingfast.com/python.
TableofContentsTableofContents
Chapter1:Python,whatPython?
WhatisPython?
WhyLearnPython?
Chapter2:GettingreadyforPython
InstallingtheInterpreter
UsingthePythonShell,IDLEandWritingourFIRSTprogram
Chapter3:TheWorldofVariablesandOperators
Whatarevariables?
NamingaVariable
TheAssignmentSign
BasicOperators
MoreAssignmentOperators
Chapter4:DataTypesinPython
Integers
Float
String
TypeCastingInPython
List
Tuple
Dictionary
Chapter5:MakingYourProgramInteractive
Input()
Print()
TripleQuotes
EscapeCharacters
Chapter6:MakingChoicesandDecisions
ConditionStatements
IfStatement
InlineIf
ForLoop
WhileLoop
Break
Continue
Try,Except
Chapter7:FunctionsandModules
WhatareFunctions?
DefiningYourOwnFunctions
VariableScope
ImportingModules
CreatingourOwnModule
Chapter8:WorkingwithFiles
OpeningandReadingTextFiles
UsingaForLooptoReadTextFiles
WritingtoaTextFile
OpeningandReadingTextFilesbyBufferSize
Opening,ReadingandWritingBinaryFiles
DeletingandRenamingFiles
Project:MathandBODMAS
Part1:myPythonFunctions.py
Part2:mathGame.py
ChallengeYourself
ThankYou
AppendixA:WorkingWithStrings
AppendixB:WorkingWithLists
AppendixC:WorkingWithTuples
AppendixD:WorkingWithDictionaries
AppendixE:ProjectAnswers
OneLastThing…
Chapter1:Python,whatPython?
Welcometotheexcitingworldofprogramming.I'msogladyoupickedupthisbookandIsincerelyhopethisbookcanhelp
youmasterthePythonlanguageandexperiencetheexhilarationofprogramming.Beforewediveintothenutsandboltsof
Pythonprogramming,letusfirstanswerafewquestions.
1 / 88 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !