Linux Format

Finding documentat­ion about os.walk()


As this tutorial uses some relatively complex Python methods, it is very important to carefully read the documentat­ion of each method before using it, otherwise you’ve learned little.

There are various places where you can look for documentat­ion including the Python 3 documentat­ion site, the pydoc3 command line utility and the Python 3 shell. Most of the time the Python 3 documentat­ion site has the most up to date informatio­n. The important thing is trying to understand the presented informatio­n and the subtleties of the methods you want to use. There are times where a small option can make the difference between a working and a non-working program.

Should you wish to learn more about the os.scandir() method, visit https://docs.

Newspapers in English

Newspapers from Australia