Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1001 Bytes

File metadata and controls

25 lines (19 loc) · 1001 Bytes

Session 4: Layouts

Python stuff

  • Operating System functions (docs)
    • os.mkdir()
  • Path functions (docs)
    • os.path.join() – join a folder and filename together to get a complete path
    • os.path.exists() — test if a path exists
  • High level file operations: move, copy, etc. (docs)
    • shutil.move()
  • Opening files with open() (docs)
  • Reading CSVs (docs)

Drawbot stuff

  • FormattedString() (docs)
  • textSize()
  • fontDescender(), fontCapHeight(), fontXHeight()
  • BezierPath() (docs)