Python standard modules (standard packages)

  1. Some Standard packages
  2. time
  3. sleep in Python
  4. timer
  5. Current date and time datetime now
  6. Converting string to datetime
  7. date and datetome fromisoformat
  8. datetime arithmeticis
  9. Rounding datetime object to nearest second
  10. sys
  11. Writing to standard error (stderr)
  12. Current directory (getcwd, pwd, chdir)
  13. OS dir (mkdir, makedirs, remove, rmdir)
  14. python which OS are we running on (os, platform)
  15. Get process ID
  16. OS path
  17. Traverse directory tree - list directories recursively
  18. os.path.join
  19. Directory listing
  20. expanduser - handle tilde ~ the home directory of the user
  21. Listing specific files using glob
  22. External command with system
  23. subprocess
  24. subprocess in the background
  25. Accessing the system environment variables from Python
  26. Set env and run command
  27. shutil