Python libinsane to Executable file (Where to keep dll file after making exe)

175 views Asked by At

I followed this link and this official git repo of libinsane, and setup libinsane in MSYS2 environment. I was even able to scan with scan.py file place in this folder. I have use of pretty much what scan.py is doing in my application. Can you guys suggest how I can club my project. if it is difficult to do how can I make exe of scan.py and use it as standalone application which can be invoked from my application and it will save the jpg file somewhere in the folder where my application can get it from?

Thanks

1

There are 1 answers

0
Jerome Flesch On

There are two programs that do something similar and that you can use as reference if you want.

There is a Python test program called IronScanner. It's built as an EXE for Windows, so you can have a look at how it's done (basically, it uses Cx_Freeze):

The same thing goes for Paperwork: