简体   繁体   中英

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

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

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 :

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM