Python’s standard library is often described as batteries included, and this module is a guided tour of the batteries you will reach for most. This first lesson covers the ones that deal with your computer: the interpreter itself, environment variables, files and folders, copying and moving, and temporary space. Every example works on a throwaway folder, so you can run them safely.
More lessons in Complete Python Programming