which is why the example uses for loop with it howeverthe os environ['pythonpath'attribute does include the split(functionso you can use it to create list of individual paths you must provide split(with value to look for in splitting list of items the os pathsep constant ( variable that has oneunchangeabledefined valuedefines the path separator for the current platform so that you can use the same code on any platform that supports python close the python shell the python shell window closes figure - you must request informa tion about environment variables separately you can also add and remove items from sys path for exampleif you want to add to the list of modulesyou type sys path append(" :\bp \\"and press enter in the python shell window when you list the sys path contents againyou see that the new entry is added likewisewhen you want to remove an entrysuch as you type sys path remove(" :\\bp \\"and press enter viewing the module content python gives you several different ways to view module content the method that most developers use is to work with the dir(functionwhich tells you about the attributes that the module provides