timlai666/agent/python-tutorial

Claude Code and agent skill by timlai666/agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Python programming tutorial and best practices. Use when the user asks about Python basics, syntax, or wants to learn Python programming.

Install

npx vskill@latest install timlai666/agent/python-tutorial

SKILL.md

The same SKILL.md was published earlier as timlai666/agent/python-tutorial.

Python Tutorial Skill

This skill provides Python programming guidance and includes bundled resources for learning.

When to Use

  • User wants to learn Python basics
  • User asks about Python syntax or features
  • User needs Python code examples
  • User wants to understand Python best practices

Core Concepts

1. Variables and Types
python
# Basic types
name = "Alice" # str
age = 25 # int
height = 1.75 # float
is_student = True # bool
# Collections
numbers = [1, 2, 3] # list
coords = (10, 20) # tuple
unique_ids = {1, 2, 3} # set
person = {"name": "Bob", "age": 30} # dict
2. Control Flow
python
# If statements
if age >= 18:
print("Adult")
elif age >= 13:
print("Teenager")
else:
print("Child")
# Loops
for num in range(5):
print(num)
while condition:
# do something
pass
3. Functions
python
def greet(name: str) -> str:
"""Greet someone by name."""
return f"Hello, {name}!"
# Lambda functions
square = lambda x: x ** 2
4. Classes
python
class Person:
def __init__(self, name: str, age: int):
self.name = name
self.age = age
def greet(self) -> str:
return f"Hi, I'm {self.name}"

Best Practices

  1. Use Type Hints: Makes code more readable and catches errors
  2. Follow PEP 8: Python's style guide
  3. Write Docstrings: Document functions and classes
  4. Use List Comprehensions: More Pythonic than loops
  5. Handle Exceptions: Use try/except appropriately

Available Resources

This skill includes bundled resources:

  • Scripts: Example Python scripts demonstrating concepts
  • References: Additional documentation and cheat sheets
  • Assets: Templates and starter code

To access resources, mention you want to see examples or reference materials.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/timlai666/agent/python-tutorial/badge)](https://verified-skill.com/skills/timlai666/agent/python-tutorial)

Something wrong with this skill or its page? Tell us.