Python is an object-oriented programming. Its important philosophy is summarized by PEP 20. Like
? Beautiful is better than ugly.
? Explicit is better than implicit.
? Simple is better than complex.
? Complex is better than complicated.
? And so on....
The most important philosophy is "simple". So
? Keep it simple.
When you write a Python program, the only thing you should keep in mind is the above sentence. But what is the meaning of "simple"? It is a good question, right? Simply speaking, the simple is a style and a thinking. That is to say, you should uses a direct, obvious and effective way to design a software using Python in any case.
This e-book will take you to learn programming with Python. Just like the cover's image, I want to take you to go up the stairs step by step and you also learn programming with Python by this way, step by step. I think you should slow down and experience what you should know about programming.
Author(s): Kaiching Chang
Publisher: Kaiching Chang
Year: 2018
Language: English
Pages: 275
About This E-Book
Update Information
Table of Content
Part One - Basics
Unit 1 - Understanding The Python Programming Language
Summary
Discussion
Exercises
Unit 2 - How to Execute a Python Program
Summary
Discussion
Exercises
Unit 3 - Data Types and Variables
Summary
Discussion
Exercises
Unit 4 - Naming Convention and Indentation
Summary
Discussion
Exercises
Unit 5 - Expressions and Statements
Summary
Discussion
Exercises
Unit 6 - Selections
Summary
Discussion
Exercises
Unit 7 - Loops
Summary
Discussion
Exercises
Unit 8 - Functions
Summary
Discussion
Exercise
Unit 9 - Classes
Summary
Discussion
Exercises
Unit 10 - Object-oriented Programming and Encapsulation
Summary
Discussion
Exercise
Unit 11 - The __init__() Method
Summary
Discussion
Exercises
Unit 12 - Modules
Summary
Discussion
Exercises
Unit 13 - Docstrings
Summary
Discussion
Exercises
Part Two - Software Development
Unit 14 - The Encrypt Class
Summary
Discussion
Exercises
Unit 15 - Implement setCode()
Summary
Discussion
Exercises
Unit 16 - More Testing
Summary
Discussion
Exercises
Unit 17 - The Corrected Formula
Summary
Discussion
Exercises
Unit 18 - Encoding
Summary
Discussion
Exercises
Unit 19 - Decoding
Summary
Discussion
Exercise
Unit 20 - Be Pythonic
Summary
Discussion
Exercise
Unit 21 - Understanding The Standard Library and Tk
Summary
Discussion
Exercises
Part Three - GUI
Unit 22 - The Basic Concept of GUI
Summary
Discussion
Exercise
Unit 23 - Set Commands
Summary
Discussion
Exercises
Unit 24 - Combine The Encrypt Class
Summary
Discussion
Exercises
Unit 25 - Saving and Loading
Summary
Discussion
Exercises
Unit 26 - The final EncryptGUI
Summary
Discussion
Exercises
Unit 27 - Next
Examples
encrypt.py
encrypt_gui.py
Copyright