This is a really simple question but it's been stumping me for a while. I want to open a file that is in the same directory as the .py script, but I want to specify that directory without using a universal path.
filepath1 = '/Users/username/Documents/Python/TC/TC cedict final.txt'
file = open(filepath1, 'rU')
Also an unrelated question is: If I make a program using wxpython into a .app for Macintosh or .exe for Windows, then does the person running it also have to have python and wxpython installed?