You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Samuel Price edited this page Nov 24, 2015
·
1 revision
myList.py [link] lists all top-level files or directories in the directory containing the script (in this case, our project directory) by generating an html file (list.html) displaying this information. For example, for what it contains now, by running:
python myList.py
in the project directory, a webpage will popup (pointing to list.html) that looks like this:
And running this script from my home directory produces the following output: