Skip to content

acmcsufoss/py-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐍 Python workshop for first-time Python programmers.

Agenda

  • Running programs
    • Installation
    • Hello world
    • Normal mode (e.g. python3 hello.py)
    • Hashbang e.g. #!/usr/bin/env python3 (Linux/Mac only)
    • Interactive mode e.g. command-line REPL interpreter
  • Basic syntax
    • Indentation
    • Comments
    • Variables
    • Printing
  • Strings and numbers
    • Single line strings
    • Multi-line strings
    • Substrings e.g. s[0:5]
    • Conversion to string e.g. str(5)
    • Integer
    • Float
    • Conversion to integer e.g. int("5")
    • Conversion to float e.g. float("5.5")
  • Control structures
    • If
    • Else
    • Elif
    • While
    • Ternary operator
  • Lists
    • Initialize lists
    • Append to lists
    • Access list items
    • Remove from lists
    • Iterate over lists
  • Dictionaries
    • Initialize dictionaries
    • Access dictionary items
    • Remove from dictionaries
    • Iterate over dictionaries
  • Functions
    • Define functions
    • Arguments
    • Return values
  • Classes
    • Define classes
    • Constructor
    • Methods
    • Inheritance/composition/polymorphism
  • Files
    • Open files
    • Read files
    • Write files
    • Close files

8th weekly workshop (August 4th, 2023) of Hot Open Source Software Summer hackathon series hosted by ACM CSUF Student Chapter's Open Source Software team.

About

🐍 Python workshop for first-time Python programmers!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages