how can i run my program using test files on my desktop without typing in the specific pathname. I just want to be able to type the file name and continue on with my program. Since i want to be able to send it to a friend and not needing for him to change the path rather just read the exact same file that he has on his desktop.
You can tell your friend to make *.py files to be executed by the interpreter.  Change it from Explorer:Tools:Folder Options:File Types.
Python path help