computer and with your own test files to see what happens as usualyou can also test it interactively (use the package path like this one to import from different directoryassuming your module search path includes the pp root)from pp system media playfile import playfile playfile( ' :\movies\mov mpg'video/mpeg we'll use the playfile module again as an imported library like this in to open media files downloaded by ftp againyou may want to tweak this script' tables for your players this script also assumes the media file is located on the local machine (even though the webbrowser module supports remote files with "it does not currently allow different players for most different mime subtypes (it special-cases text to handle "plainand "htmldifferentlybut no othersin factthis script is really just something of simple framework that was designed to be extended as alwayshack onthis is pythonafter all automated program launchers (externalfinallysome optional reading--in the examples distribution package for this book (available at sites listed in the prefaceyou can find additional system-related scripts we do not have space to cover herepp \launcher py--contains tools used by some gui programs later in the book to start python programs without any environment configuration roughlyit sets up both the system path and module import search paths as needed to run book exampleswhich are inherited by spawned programs by using this module to search for files and configure environments automaticallyusers can avoid (or at least postponehaving to learn the intricacies of manual environment configuration before running programs though there is not much new in this example from system interfaces perspectivewe'll refer back to it laterwhen we explore gui programs that use its toolsas well as those of its launchmodes cousinwhich we wrote in pp \launch_pydemos pyw and pp \launch_pygadgets_bar pyw--use launcher py to start major gui book examples without any environment configuration because all spawned processes inherit configurations performed by the launcherthey all run with proper search path settings when run directlythe underlying pydemos pyw and pygadgets_bar pyw scripts (which we'll explore briefly at the end of instead rely on the configuration settings on the underlying machine in other wordslauncher effectively hides configuration details from the gui interfaces by enclosing them in configuration program layer pp \launchbrowser pyw--portably locates and starts an internet web browser program on the host machine in order to view local file or remote web page in automated program launchers (external