How do I get the current directory without an open file?
print(bpy.utils.resource_path('LOCAL'))   #Gives the default file locaton
print(bpy.utils.resource_path('USER'))    #Gives the blender installation location


You can use this as reference to go to other directories.