Re: ghostscripts in python with watchdog

2020-02-13 Thread Bheesham Persaud
Hey! If you change the "-sOutputFile` parameter you pass into gswin64c. For example, something like: output_directory = os.path.join(os.path.dirname(input_src), "out") And then you should be able to modify the call to `os.system` to something like: os.system( "gswin64c -q -d

Re: first time python learner

2020-02-13 Thread Cameron Simpson
On 13Feb2020 21:38, Marty Konopko wrote: Win 10 Anti Virus off [image: image.png] Any idea? Alas, this is a text only list; your screenshot has been discarded. Please reply with your complete error message cut/paste into the text. And a description of what you were trying to do. Thanks

first time python learner

2020-02-13 Thread Marty Konopko
Win 10 Anti Virus off [image: image.png] Any idea? -- Martin Konopko -- https://mail.python.org/mailman/listinfo/python-list

Re: Load python from different plugin dlls

2020-02-13 Thread R.Wieser
Eko, > My test looks like this right now. And there you have a probem, as I have no experience with what those functions do. The below is therefore just a bit of educated guessing, so caveat emperor. > According to the docs PyImport_AppendInittab should be called > before Py_Initialize And

Re: Load python from different plugin dlls

2020-02-13 Thread Eko palypse
Thanks for the information. My test looks like this right now. I have two plugins which, when loaded separately, work. But when both are loaded, I get AccessVioletion messages from python37.dll. The init code for both dlls is this: cpp_init_code = f'''#include #include "PluginInterface.h" PyMODI