Python for Beginners: A Crash Course to Learn Python Programming in 1 Week
Ready to start this new journey into the Python's world?
Python is the ideal language to learn for budding develop
148
68
1MB
English
Pages 222
Year 2021
Report DMCA / Copyright
DOWNLOAD EPUB FILE
Table of contents :
Introduction
Brief History of Python
Why Python?
Chapter 1: Getting Started with Python
Minimum Requirements for Installing Python
Windows Requirements
Mac Requirements
Downloading Python
Installing Python
Installing Python 3 for Windows
Installing Python 3 for Mac
Using a Python Integrated Development Environment or Code Editor
What is an Integrated Development Environment (IDE)?
What is a Code Editor?
The Differences Between an IDE and a Code Editor
Python Coding Environment
Top 5 Python IDE’s
Idle
PyCharm
PyDev/Eclipse
Spyder
Thonny
Top 5 Python Code Editors
Atom
GNU Emacs
Notepad++
Vim
Visual Studio Code
PyCharm
PyCharm for Windows
PyCharm for Mac
Running Python
Hello Me
Chapter 2: Getting Started with the Basics
PyCharm Screen
Drawing Basic Shapes with the Print Function
Working with the Print() Function
Escape Characters
Chapter 3:
Statements, Comments, Variables, and Index
Statements
The Importance of Indentation
Comments
Single-line Comments
Multi-line Comments
Variables
Working With Variables
Creating, Assigning, and Implementing a Variable
Changing Variables
Index
Index
Negative Index
Chapter 4: Data Types — Strings and Numbers
Strings
String Operations
Numbers
Working with Numbers
Numbers and Strings Working Together
Built-in Python Mathematical Functions
Types of Python Numbers
Exercise 1
Exercise 2
Chapter 5: Data Types — List and Tuple
List
List Index
Functions Used With List Data Type
2D Lists
2D List Index
Tuple
Chapter 6: Data Types — Set and Dictionary
Set
Dictionary
Chapter 7: Operators
Arithmetic Operators
Comparison Operators
Logical Operators
Assignment Operators
Bitwise Operators
Identity Operators
Membership Operators
Chapter 8: Functions, Keywords, and Identifiers
Functions
Function Syntax
Arguments and Parameters
Variable Scope
Python Built-In functions
Keywords
Identifier
Rules for Creating Identifiers
Chapter 9: Loops
What is a Loop?
Python Loops
For Loop
While Loop
Loop Control Statements
Break Statement
Continue Statement
Pass Statement
Using If, Else, and Elif With Loops
If
Else
Elif
Nested Loops
Chapter 10:
Python Package Managers and Modules
Python Modules
Python Packages
Python Package Managers
Working with Pip
Chapter 11: Python Practice Projects
Python Project 1 — Mad Libs Generator
Python Project 2 — Calculator
Python Project 3 — Guess the Number
Python Project 4 — Hangman Game
Python Project 5 — Rock - Paper - Scissors Game
Project 6— Tic Tac Toe
Project 7 — Word Scramble Puzzler
Bonus Mini Project — Dice Rolling Simulator
Chapter 12: Working With Date and Time
Date
strftime() Method for a Date
The Calendar Module
The Calendar Module
Time
Time Zones
Time Ticks
Time Tuple
Time Formatting
Strftime() Method Data and Time Codes
Chapter 13:
Work With Date and Time Practice Projects
Project 8 — Calculate My Age
Project 9— Is it a Leap Year?
Project 10 — Date vs. Day of the Week
Project 11 — Clock
Project 12 - Calendar and Date Picker
Chapter 14: Python FAQ
Conclusion
Other Books from the Author
References