جزییات کتاب
Few programming languages provide you with the flexibility and pure power of Python. If you're becoming a professional developer, or are early in your development career, adding the Python skill set isn't just a resume embellishment-- It's an empowering language that will allow you to write procedural code in many types of environments and for many uses. Python is commonly used for server side programming for complex web applications or as a middle tier language providing web services or a communication layer with larger ecommerce systems. That being said, it's also a great language for beginners. The clear syntax makes it very easy to learn, and the powerful libraries make all types of programming possible. There are libraries for everything from games and graphics to complex mathematics to network and embedded programming. Watch, Learn and DoProgramming is not a spectator sport and if you want to learn Python well, this book contains everything you need. You'll be able to study and modify the code provided on your own to cement each topic. Python code coding lab exercises will familiarize you not just with Python syntax, but how real problem-solving in Python is done. Table of ContentsWriting Your First Python Program-- Quick StartUsing the Shell WindowWriting Code in the Editor WindowExecuting Python on the Command LineCoding Exercise: Writing, Running and Debugging Section Welcome: OutputThe print() FunctionSeparators and NewlinesCoding Exercise: Using the print() function Section Welcome: VariablesVariable AssignmentNumber Variables (Int, float and complex)String VariablesSubstrings and ConcatenationVariables with Lists, Tuples and DictionariesCoding Exercise: Using Variables Section Welcome: OperatorsPython Mathematical OperatorsOrder of OperationsPython Comparison OperatorsPython Logical OperatorsCoding Exercise: Operators Practice Section Welcome: Code BranchingSimple If StatementsIf.... Else StatementsNested If StatementsTernary OperatorCoding Exercise: Conditionals Section Welcome: LoopsWhile LoopsFor LoopsNested LoopsBreak and Continue StatementsCoding Exercise: Loops Section Welcome: Math FunctionsCasting FunctionsMathematical FunctionsRandom FunctionsCoding Exercise: Math Functions Section Welcome: Python String Functionscapitalize(), center() and count()find(), isalpha(), isdigit()join(), len(), split()Coding Exercise: String Functions Section Welcome: Tuples and DictionariesCreating TuplesAccessing Values in TuplesTuple FunctionsDeclaring a DictionaryAccessing and Editing Values in DictionariesDictionary FunctionsCoding Exercise: Dictionaries Section Welcome: Time and DateThe Time TupleThe CalendarTime and Calendar FunctionsCoding Exercise: Time Section Welcome: Python FunctionsDefining and Calling a Simple FunctionRequired Argument FunctionsKeyword Argument FunctionsDefault Function ArgumentsReturn StatementCreating and Consuming Python ModulesCoding Exercise: Functions Section Welcome: Input/OutputReading Keyboard InputReading an External Text FileWriting an External Text FileCoding Exercise: File I/O Section Welcome: More with PythonHandling ExceptionsWeb Server Coding with PythonProcessing Form Data in PythonWrap up and Goodbye
درباره نویسنده
مارکلکوفن (به آلمانی: Marklkofen) یک شهر در آلمان است که در بایرن واقع شدهاست.