Introduction
This Course Covers…
- Introduction to Python
- Establishing the Fundamentals for Self-Learning
- Introduction to 3rd party Python libraries
- Common libraries
- Installation Methods
- Exploration of 3rd Party Python Libraries for…
- Numerical Computation
- Data Set Manipulation
- charting
Course Overview
- Installing and Running Python
- Basic Principles
- Numerical Type
- Variables
- Operator
- Arithmetic Operators:
+
, -
…
- Logical Operators:
<
, >
…
- Boolean Operators:
&&
, ||
, not
…
- Control Flow
- Conditional Execution (e.g.,
if
statement)
- Iteration
- Iterables
- Iterators
- Loops
- Exception Handling
- Advanced Data Types
- Sequence Types
- Dictionaries and Sets
- Dates and Times
- Decimals
- Functional Programming
- Functions
- Higher-order Functions
- Closures
- Decorators
- Object-Oriented Programming
- Custom Classes
- Methods
- Properties
- Data Acquisition
- 3rd Party Libraries
- pytz: Timezone & Daylight Saving
- dateutil: Transfer date in CSV file (text format) into date object
- requests: Query APIs
- numpy: Numerical Analysis
- pandas: Data Set Manipulation
- matplotlib: Charting
Prerequisites
- OS: Windows 10, macOS 10.9 or higher, Linux
- Python version: Python 3.6+ (Recommend: 3.8/3.9 or higher)
- Familiarity with Terminal (Mac/Linux) / Command Prompt (Windows)
- Install and run Python
- Open / terminate a shell
- Change directory
- List contents of a directory
- Create a directory
- No prior knowledge of Python required
- No prior programming knowledge needed
Course Structure and Materials
- Two parts for each topic
- Lecture video
- Coding video
- Exercises for each section
- Jupyter Notebooks & Resources
Windows Command Prompt (命令提示字元)
- To open Command Prompt in Windows: Press the
Windows key
, type cmd
, and press the Enter key
.
- Use the
Tab key
to complete folder/file names.
- Use
<command> /?
to know how to use the specific command
Common Command Line Commands
CMD Commands |
Linux/Mac commands |
Description |
dir |
ls -l |
Listing Directory |
cd |
cd |
Change Directory |
del |
rm |
Delete Files |
mkdir |
mkdir |
Create a directory |
move |
mv |
Move a file/Rename a file |
cls |
clean |
Clear the screen |
rmdir |
rmdir |
Remove an empty directory |
|
|
|
type |
cat |
Displays the contents of a text file |
copy |
cp |
Copy one or multiple files from one location to another |
find |
grep |
Search for a string in a file |
fc |
diff-19 |
File compare |
Example
dir
C:\Users\user>dir
C:\Users\user>dir <FolderName>
C:\Users\user>dir <String>* # list all files in the current directory that begin with <String>
cd
C:\Users\user>cd <FolderName>
C:\Users\user\Music>cd .. # back to the parent directory
C:\Users\user>cd "<FolderName with Spaces>" # double quotes for spaces in folder name
C:\Users\user>cd ../.. # back to the directory two levels above
C:\Users\user>cd <Absolute Path>
del
C:\Users\user>del <File>
mkdir
C:\Users\user>mkdir <New FolderName>
move
C:\Users\user>move <Files> <Destination> # Move files
C:\Users\user>move <Old FileName> <New Filename> # Rename files
cls
C:\Users\user>cls
rmdir
C:\Users\user>rmdir <FolderName> # for an empty folder
C:\Users\user>rmdir /s <FolderName> # for the folder with other files inside
C:\Users\user>rmdir /s /q <FolderName> # delete folder without asking
type
D:\Python - Fundamentals\python-fundamentals-main>type README.md
# Python Fundamentals
This folder contains all the downloadable materials for my Udemy **Python Fundamentals** course, available here:
[https://www.udemy.com/course/python3-fundamentals](https://www.udemy.com/course/python3-fundamentals/?referralCode=DA09C6F40CEC38C942F6)
This folder is organized into the various sections of the course, and those themselves are organized by lesson within each chapter.
Resources include:
- Fully annotated Jupyter notebooks corresponding to the coding lessons.
- Any files we used during the coding lessons.
- Exercises for each chapter containing at least two files:
- A Jupyter notebook with the questions.
- A second Jupyter notebook with a fully annotated solution (you may have a different way of solving the problem and that's absolutely fine, as long as your code works, and is clear and easy to read).
- if applicable, additional data files or materials needed to complete the exercises.
In the first chapter of this course I explain how to install and run Jupyter notebooks - please refer to that chapter if you need detailed instructions.
copy
D:\Python - Fundamentals>copy python-fundamentals.pdf test\python-fundamentals.pdf
複製了 1 個檔案。
find
D:\Python - Fundamentals\python-fundamentals-main>find "Jupyter" README.md
---------- README.MD
- Fully annotated Jupyter notebooks corresponding to the coding lessons.
- A Jupyter notebook with the questions.
- A second Jupyter notebook with a fully annotated solution (you may have a different way of solving the problem and that's absolutely fine, as long as your code works, and is clear and easy to read).
In the first chapter of this course I explain how to install and run Jupyter notebooks - please refer to that chapter if you need detailed instructions.
fc
D:\Python - Fundamentals\python-fundamentals-main>fc README.md README1.md
正在比較檔案 README.md 和 README1.MD
***** README.md
# Python Fundamentals
***** README1.MD
# Python Fundamentals_Alice
*****
Reference:
3個讚