Programming Bootcamp for Scientists #35
- 00:00 Standard module (standard packages) (slides changed a lot since video recording)
- 00:42 Some standard packages
- 02:58 sys
- 05:14 Writing to the standard error (stderr) and command line redirection
- 10:13 Current directory (getcwd, pwd, chdir)
- 14:30 OS dir (mkdir, mkdirs, remove, rmdir)
- 17:35 python which OS are we running on (os, platform)
- 18:22 Get process ID
- 21:08 OS path (basename, dirname, abspath)
- 23:28 Traverse directory tree - list directories recursively (walk)
- 24:32 os.path.join
- 24:58 Directory listing (listdir)
- 26:10 Listing specific files using glob
- 27:15 External command with system
- 28:38 subprocess
- 29:13 time
- 32:55 sleep in Python
- 33:38 back to subprocess
- 37:09 subprocess in the background
- 38:15 Accessing the system environment variables from Python
- 38:59 shutil (copy, copytree, move, rmtree)
- 39:23 timer
- 39:41 Current date and time datetime now
- 40:51 Converting string to datetime
- 44:03 datetime arithmetics (elapsed time, timedelta)
- 45:17 Rounding datetime object to nearest second
Published on 2022-11-02
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post