Hi, How do I find out what folder a script is in while it is executing? For example, for the file "C:/folder/script.py" contain the following two lines of code - myLocation = GetMyLocation() print myLocation >> C:/folder Thanks, Aine.