How xianzs/pythonlearning works
PythonLearning-2026 is a teaching repository, not one integrated runtime system: it organizes Python lessons from fundamentals through advanced topics and the standard library, with demos and practical projects. The principal learner workflow is to follow the documented learning route and use each section’s examples to build understanding; the sampled chat assistant is a separate end-to-end project, from Streamlit input and settings through session history and streamed DeepSeek responses to rendered messages. The assistant links below follow shown imports and calls; broader curriculum links reflect the README’s documented order and capabilities.
Main entry points: app.py Streamlit Entry · chat_manager.py Conversation State · sidebar.py Settings Sidebar · deepseek_client.py DeepSeek Client
Components 26
Python Foundations
- Python Basics
python_basic_learning - Core Syntax
python_basic_learning/1_Variables_and_Data_Types.py - File Handling
python_basic_learning/6_file_operate.py
Advanced Python
- Advanced Topics
python_advance_learning - Advanced Functions
python_advance_learning/2_advance_func/2_advance_function.py - Object Oriented
python_advance_learning/3_oop_code/3_oop_code.py - Network Programming
python_advance_learning/6_web_code - Database Programming
python_advance_learning/7_sql_code
Standard Library
- Standard Library
python_stdlib_learning - Data Formats
python_stdlib_learning/2_data_process_format - Concurrency
python_stdlib_learning/7_concurrency_and_asynchrony - Network Modules
python_stdlib_learning/9_network_communication - Security Modules
python_stdlib_learning/10_encryption_and_security
Learning Demos
- Python Demos
python_Demo_learning - System Monitor
python_Demo_learning/1_real_time_system_monitoring_panel/3_real_time_dashboard.py - Terminal Images
python_Demo_learning/2_picture_show/main.py
Chat Assistant
- Streamlit Entry
python_practical_project/Intelligent_Chat_Programming_Assistant/app.py - Settings Sidebar
python_practical_project/Intelligent_Chat_Programming_Assistant/src/ui/sidebar.py - Chat Display
python_practical_project/Intelligent_Chat_Programming_Assistant/src/ui/chat_area.py - Conversation State
python_practical_project/Intelligent_Chat_Programming_Assistant/src/chat_manager.py - Model Configuration
python_practical_project/Intelligent_Chat_Programming_Assistant/src/config.py - Stream Processor
python_practical_project/Intelligent_Chat_Programming_Assistant/src/stream_handler.py - DeepSeek Client
python_practical_project/Intelligent_Chat_Programming_Assistant/src/deepseek_client.py
Other components
- Learner
- Chat User
- DeepSeek API
Connections 16
- Learner → Python Basics: learns first
README.md - Python Basics → Advanced Topics: continues to
README.md - Advanced Topics → Standard Library: continues to
README.md - Standard Library → Python Demos: explores optional
README.md - Chat User → Streamlit Entry: submits prompt
python_practical_project/Intelligent_Chat_Programming_Assistant/app.py - Streamlit Entry → Settings Sidebar: renders settings
python_practical_project/Intelligent_Chat_Programming_Assistant/app.py - Streamlit Entry → Chat Display: renders messages
python_practical_project/Intelligent_Chat_Programming_Assistant/app.py - Streamlit Entry → Conversation State: manages history
python_practical_project/Intelligent_Chat_Programming_Assistant/app.py - Streamlit Entry → Stream Processor: processes response
python_practical_project/Intelligent_Chat_Programming_Assistant/app.py - Settings Sidebar → Model Configuration: reads settings
python_practical_project/Intelligent_Chat_Programming_Assistant/src/ui/sidebar.py - Settings Sidebar → Conversation State: manages session
python_practical_project/Intelligent_Chat_Programming_Assistant/src/ui/sidebar.py - Chat Display → Conversation State: reads history
python_practical_project/Intelligent_Chat_Programming_Assistant/src/ui/chat_area.py - Conversation State → Model Configuration: uses limits
python_practical_project/Intelligent_Chat_Programming_Assistant/src/chat_manager.py - Stream Processor → DeepSeek Client: consumes chunks
python_practical_project/Intelligent_Chat_Programming_Assistant/src/stream_handler.py - DeepSeek Client → Model Configuration: uses API settings
python_practical_project/Intelligent_Chat_Programming_Assistant/src/deepseek_client.py - DeepSeek Client → DeepSeek API: requests stream
python_practical_project/Intelligent_Chat_Programming_Assistant/src/deepseek_client.py