So I made a program in Python and compiled it to .exe
. This works fine.
What I want is to be able to double click files I created (say with text in them) and open those files with the .exe
I compiled and then do something with the files as input.
I figured one way to do this might be to at least get the exact location of the file that is being opened with the .exe
so as a first test something like this:
.exe
file:
get_location = dirname(realpath(My_Clicked_File))
print get_location
The file clicked will be some random extension so .test
or something I made up.