Python Programming, For Beginners, Quick Start Guide!: Python Language Crash Course Tutorial
- Length: 211 pages
- Edition: 1
- Language: English
- Publisher: In Easy Step by Step
- Publication Date: 2020-11-22
- ISBN-10: B08P223Q52
About This Book
“Python Programming” covers all essential Python knowledge. You can learn complete primary skills of Python fast and easily. The book includes more than 80 practical examples for beginners and includes tests & answers for the college exam, the engineer certification exam, and the job interview exam.
Source Code is Available
This book provides source code for reference; you can reference the source code for better study, or copy the source code to your favorite editor to test the programs.
Table of Contents
Chapter 1 Start Python
What is Python?
First Python Program
The Shell Prompt
Configure Editor
Variables
Variables & Comment
Arithmetic Operator
Assignment Operators
Comparison Operators
Logical Operators
Conditional Operator
Convert Data Type
Triple Quotes
Exercise: Ticket Fare
Summary
Chapter 2 Statement
If Statement
If-else Statement
Indentation
If-elif-Statement
For-In Loops
for variable in range( )
While Loops
Continue
Break Statement
Input Texts (1)
Input Texts (2)
Pass Statement
Exercise: Traffic Light
Summary
Chapter 3 Function
Math Function
ceil( ) & floor( )
pow ( ) & sqrt ( )
Max ( ) & Min ( )
abs( ) & round( )
Custom Function
Function with Arguments
Global & Local Variable
Global Variable inside Function
Return
Main Function
List all functions in module
Exercise: Circle Area
Summary
Chapter 4 Data Structures
List
List Functions
Know More List
Tuple
Tuple Functions
Set
Set Functions
Dictionary
Dictionary Functions
Data Structure Review
Exercise: Four Colors
Summary
Chapter 5 Strings
Operation Strings
Escape Characters
Testing Functions
Searching Functions
Formatting Functions
Stripping Functions
Splitting Functions
String Functions (1)
String Functions (2)
Regular Expressions
Regular Expression in Python
Exercise: Check Your Input
Summary
Chapter 6 Input & Output
Format String
File Directory
Open File
Read file
Write File
Append Text to File
Renew Some Text
Open Web Page
Exercise: Process a File
Summary
Chapter 7 Module & Exception
Module
Import Module (1)
Import Module (2)
Built-in Module
Exceptions
Catch Exceptions
Finally
Debug
Exercise: Three Flowers
Summary
Chapter 8 Class & Object
Class Definition
Object Declaration
Another Object
Inheritance
Overriding Method
Polymorphism
Exercise: Rose is Red
Summary
Appendix Python Summary Charts
Appendix Django Basic
Django Introduction
Install Django
Test Django
Creating Project
Project Structure
Start up Server
Preview Web Page
Create a View File
Create an URL File
View the Web Page
Template
Template Path
Modify view.py
View the Web Page
Appendix Tests & Answers
Tests
Answers
Source Code is Available