Author Topic: Bundling an stand alone application  (Read 646 times)


  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Bundling an stand alone application
« on: October 12, 2014, 03:46:49 PM »
Hi Tony,

I have a scenario where i need to bundle the application. I understand that in pyxll.cfg - we mention the python path and modules. Can pyxll handle a .exe file name instead of a module name?

If not, the only other way i can think of is to bundle python along with application and let the code remain as .py files.

Please let me know if there is an elegant way to do this.



  • Administrator
  • Hero Member
  • *****
  • Posts: 661
  • Karma: 15
    • View Profile
Re: Bundling an stand alone application
« Reply #1 on: October 13, 2014, 09:26:24 AM »
Hi Kasa,

you can bundle .py files as a zip file then python can import them. See

All you need to do is to add the zip file to the pythonpath.

If you are using py2exe then the file should have everything you need - you could just add that to the pythonpath, and if you put pyxll.xll in the same folder as the python dll it will find it from there.

Best regards,
« Last Edit: October 13, 2014, 09:54:01 AM by Tony »