I need some simple examples and tutorials for creating stand-alone python application. I've never do such a thing, so any help is needed. More precisely, I have one class - SVGViewer, with one argument - full path to .svg file, and I need it to be standalone and somehow to be able to open .svg files. Any suggestions for that would be appreciated.
Asked
Active
Viewed 442 times
-2
-
What is your definition of "standalone"? Every Python script is standalone. Do you want to make a "full program", e.g. an .exe in Windows or something? – timss May 14 '13 at 08:46
-
sorry for that... yes, I want .exe – Aleksandar May 14 '13 at 14:14
-
1@Aleksander In that case take a look at this question: http://stackoverflow.com/questions/2136837/process-to-convert-simple-python-script-into-windows-executable (i.e. use py2exe) – timss May 14 '13 at 14:21
1 Answers
0
You can check how other people do "standalone" SVG viewers in Python.
I guess you can also use ReportLab to generate convert the SVG to some bitmap.

Jordan Jambazov
- 3,460
- 1
- 19
- 40
-
-
You missunderstood me.. What I wanted is to create .exe file for my program, not to run it from Eclipse, as I do now. – Aleksandar May 14 '13 at 14:39
-
1Ah, then you have to take a look at the [py2exe project](http://www.py2exe.org/). – Jordan Jambazov May 14 '13 at 14:59