1

I have implemented a new algorithm in python, using sources which use the numpy, scipy libraries and deal with file I/O. I now need to build a Windows GUI app (python might not be installed in any form on a Windows OS) which will implement my existing python source, and take inputs such as file names and some other parameters. Please suggest some possible methods to make this happen.

  • You can include a python runtime local to your own app, then choose a python gui toolkit you like. – Oerd Jun 20 '14 at 09:31
  • @Oerd Can you guide me through a way to locally include a python runtime? – Arkanath Pathak Jun 20 '14 at 09:32
  • Not entirely clear what you are asking: Do you want to re-implement your algorithms in a more 'native' language? Or do you want to wrap your algorithms inside a 'windows' GUI? In the latter case: Since you need Python anyway to run your algorithm, you can just as well use a Python GUI (e.g. Tkinter, which is included in the python standard library). – tobias_k Jun 20 '14 at 09:40
  • I've never needed to do this myself, but there are many windows apps including py runtume (i.e. Sublime Text). Take a look at py2exe, it will "bundle" your python code in a windows executable http://www.py2exe.org/index.cgi/Tutorial – Oerd Jun 20 '14 at 09:40
  • @tobias_k I am interested in the second case of wrapping my algorithm, and as Oerd is suggesting I need to include a local python runtime. – Arkanath Pathak Jun 20 '14 at 09:43

1 Answers1

2

You may create a GUI for your app, using different options like as below:

Regarding creating the final executable you have some options like as below:

There are other issues regarding the creation of an executable discussed here on the SO you may refer to them here if you are interested.

Community
  • 1
  • 1
ρss
  • 5,115
  • 8
  • 43
  • 73