This book is written to provide all the essential information to get you programming in Python 3. The book starts by running through the basics of the language before showing you how to use some of the powerful libraries included in Python 3.
- Title
- Essential Python 3
- Publisher
- Smashwords
- Author(s)
- Kevin Vans-Colina
- Published
- 2021-07-03
- Edition
- 1
- Format
- eBook (pdf, epub, mobi)
- Pages
- 115
- Language
- English
- ISBN-13
- 9780463901809
- License
- Kevin Vans-Colina
- Book Homepage
- Free eBook, Errata, Code, Solutions, etc.
Essential Python 3 1. Introduction 2. What is Python 3. Getting Python Install Python Setting Up the Path Unix / Linux Path Csh shell Bash shell (Linux) sh or ksh shell Windows Path Running Python 4. Python 2 5. Python Basics Using the Interpreter Interactively Using the Interpreter with a Script 6. Python Help 7. Python Syntax Identifiers in Python Program Layout Comments 8. Variables Immutability Numeric Variables int (signed integers) float (floating point real values) Complex (complex numbers) Strings String Methods String Formatting Variable Scope and Namespaces 9. Data Types Lists Tuple Dictionaries 10. Data Type Conversion 11. Operators Arithmetic Operators Comparison Operators Assignment Operators Bitwise Operators Logical Operators Membership Operators Identity Operators Operator Precedence 12. Program Flow Control While Loop For Loop Offsets and Items Continue Statement Break Statement Loop Statements and Else If Statement if / else Ternary Expression 13. Functions Function Definition Default Function Arguments Variable Length Arguments Anonymous Functions Map Function Filter Function Reduce Function 14. Modules Module Reloads Locating Module Files Module Data Hiding __name__ and __main__ 15. Classes and Objects Class Definition Static methods Inheritance Function Overloading Overloading Operators Class attributes Garbage Collection 16. Input and Output Screen Output Keyboard Input Opening Files for Reading and Writing Writing to Files Reading from Files Closing Files Binary Files Moving around Files File Attributes Managing Files and Directories 17. Exceptions try - except try – finally Exception Arguments Raising Exceptions 18. Date and Time Time Module Formatted Time DateTime Module Calendar Module 19. Example Project – Software Bug Tracker Issue Class Project Class 20. Command Line Arguments 21. Configuration Files 22. Databases SQL 23. XML Simple API for XML (SAX) Document Object Module for XML (DOM) 24. HTML Parsing 25. Tkinter- GUI Overview Widget Layout Pack Manager Place Manager Grid Manager Simple Form Practical Form Message Boxes Dialogs File Dialog Menus Resizing the form Scroll Bars 26. Where Next? 27. Appendix 1-Interpreter Command Line Options 28. Appendix 2 – Reserved Words 29. Appendix 3– Bug Tracker Code Issue.py project.py bugTracker.py 30. Appendix 4 – Simple Notepad 1 31. Appendix 5 – Simple Notepad 2
Related Books