This document outlines an agenda for a Python workshop from novice to ninja. It begins with an introduction and warning for beginners only. The agenda includes motivation for Python, essential Python concepts like data types and operators, basic application development with hands-on examples, and tips and tricks. It then covers why Python is a good choice, including being open source, cross-platform, easy to learn, and its growing community. Hands-on examples are provided to demonstrate scripting nature, functions, modules, and object-oriented programming. The workshop aims to help shape participants' experience with potential tracks like systems administration, web development, desktop applications, networking, and game development.
19. PYTHON BLOCKS
Branching
if condition:
If block
Function definition
def foo(x,y):
function body
Loop
for item in structure:
for block
Class definition
class class_name(parent):
class definition
21. BEFORE WE START
•
If you are linux or unix based you are good to go.
•
Else If you are on windows (I hope not) download
and install
•
•
•
sublime text editor
python runtime
Our code will be perfect for Python 2.x and may be
3.x.
25. SCRIPT HIGHLIGHTS.
•
Basic expression (variable assignment).
•
User input and output.
•
Function definition / passing function as variable.
•
List data-type.
•
Basic sorting.
26.
27. NEXT: SHAPING YOUR EXPERIENCE
SYSTEM ADMIN, WEB, DESKTOP, NETWORK,
GAME DEVELOPMENT,…