Skip to content
プロジェクト

概要

GenAI学習者向けに特化した、迅速かつ体系的なPythonの基礎学習環境です。このリポジトリでは、生成AIの実務での応用に重点を置きながら、Pythonの基本概念を学べる6日間の包括的な学習パスを提供します。

学習・教育

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-3
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Python-for-GenAI — 6-Day Beginner Roadmap

Description

A fast, structured Python foundation designed specifically for GenAI learners. This repository provides a comprehensive 6-day learning path that covers essential Python concepts with a focus on practical applications for Generative AI work.

Whether you're new to programming or looking to strengthen your Python skills for AI development, this roadmap will guide you through the fundamentals step by step.


How to Use This Repository

Learning Path

  1. Go day by day - Follow the sequence from Day 1 to Day 6
  2. File order matters - Each day has three files in this order:
    • 01_notes.md → Start here to learn the concepts
    • 02_student_task.md → Practice with hands-on tasks
    • 03_mini_project.md → Build a complete project
  3. Practice examples - Run and modify the code examples as you learn
  4. Complete assignments - Work through all tasks before moving to the next day

Getting Started

  1. Clone or download this repository
  2. Ensure Python is installed on your system
  3. Start with Day01 - Python Building Blocks/01_notes.md
  4. Create Python files to practice the examples
  5. Complete the student tasks and mini projects

Technical Requirements

Python Version

  • Python 3.7 or higher recommended
  • Check your version: python --version or python3 --version

Required Libraries

Most libraries are built-in, but you'll need to install:

pip install requests

The following are built-in (no installation needed):

  • json - For JSON file operations
  • csv - For CSV file operations
  • math, random, datetime - Standard library modules

How to Run Programs

  1. Create a Python file: filename.py
  2. Run from terminal:
    python filename.py
    
    or
    python3 filename.py
    
  3. Run examples directly: Copy code from notes into a file and execute

Roadmap Overview

Day Topic Key Concepts
1 Python Building Blocks Variables, Data types, f-strings, User input, Truthy & Falsy values, Operators
2 Collections & Conditions if-else, List basics, Common list methods, Dictionaries, for loop
3 Loops & Functions while loop, List comprehensions, Functions (def, parameters, return), Lambda functions
4 Working With Modules & Errors Python modules (import, from-import), Exception handling (try/except/finally), HTTP Requests (GET & POST)
5 File Handling Essentials Working with .txt, Working with .json, Working with .csv
6 OOP Fundamentals for GenAI What is a class?, Objects, attributes, and methods, Constructors (__init__), GenAI-friendly examples

What You'll Build

Each day includes a mini project to reinforce learning:

  • Day 1: User Info Collector CLI
  • Day 2: Grocery Price Tracker
  • Day 3: Quiz Creator
  • Day 4: API Data Fetcher
  • Day 5: CSV-based Student Score Manager
  • Day 6: PromptTemplate Class System

Repository Structure

python-for-genai/
│
├── Day01 - Python Building Blocks/
│   ├── 01_notes.md
│   ├── 02_student_task.md
│   └── 03_mini_project.md
│
├── Day02 - Collections & Conditions/
│   ├── 01_notes.md
│   ├── 02_student_task.md
│   └── 03_mini_project.md
│
├── Day03 - Loops & Functions/
│   ├── 01_notes.md
│   ├── 02_student_task.md
│   └── 03_mini_project.md
│
├── Day04 - Working With Modules & Errors/
│   ├── 01_notes.md
│   ├── 02_student_task.md
│   └── 03_mini_project.md
│
├── Day05 - File Handling Essentials/
│   ├── 01_notes.md
│   ├── 02_student_task.md
│   └── 03_mini_project.md
│
├── Day06 - OOP Fundamentals for GenAI/
│   ├── 01_notes.md
│   ├── 02_student_task.md
│   └── 03_mini_project.md
│
└── README.md

Learning Tips

  1. Don't rush - Take your time with each concept
  2. Code along - Type out examples instead of just reading
  3. Experiment - Modify examples to see what happens
  4. Practice daily - Consistency beats intensity
  5. Ask questions - If something doesn't make sense, review the notes
  6. Complete projects - The mini projects are crucial for understanding

Prerequisites

  • Basic computer literacy
  • Ability to install software
  • Text editor or IDE (VS Code, PyCharm, or any text editor)
  • Internet connection (for Day 4 API examples)

No prior programming experience required!


Additional Resources

While this repository is self-contained, you may find these helpful:


Credits

Created by Chandra Sekhar.

Connect with me on LinkedIn.


License

This repository is provided for educational purposes. Feel free to use, modify, and share.


Ready to start your Python journey? Begin with Day 1! 🚀

関連プロジェクトを探す

読み込み中…