Python standard modules


  1. Some Standard modules
  2. sys
  3. Writing to standard error
  4. Current directory
  5. OS dir
  6. OS path
  7. os.path.join
  8. Directory listing
  9. expanduser - handle tilde ~
  10. External command with system
  11. Accessing the system environment variables from Python
  12. Set env and run command
  13. subprocess
  14. shutil
  15. time
  16. sleep in Python
  17. Current date and time datetime now
  18. Converting string to datetime
  19. datetime arithmeticis
  20. Rounding datetime object to nearest second
  21. Get process ID
  22. Signals and Python
  23. Sending Signal
  24. Catching Signal
  25. Catching Ctrl-C on Unix
  26. Catching Ctrl-C on Unix confirm
  27. Alarm signal and timeouts
  28. Exercise: Catching Ctrl-C on Unix 2nd time
  29. Exercise: Signals
  30. Ctrl-z