I am having a xml file and i am reading the data from that xml file.
But the problem is that i am making an exe file from all the available .py files (using py2exe).
i dont want to distribute my xml file along with my exe ( because of securiy reasons) as standalone xml file.I want my xml file should be part of exe as all other remaining .py files.
So Any idea can i use my xml file as .py file or anyother method.
Any help really appreciable.
One thing you can do is include it as a string in a module:
Then just import it: