<div dir="ltr"><div>Hi Brian,<br></div>thank you for the answer. I've copied the directory of the auto-generated Python code on the project's directory which uses it. Anyway the path generated from the omniidl is not supported by the Python3.5 which want absolute path and in fact it return ImportError about the code auto-generated. Maybe I can try to add the directory to the PYTHONPATH too.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-10 17:29 GMT+01:00 Brian Neal <span dir="ltr"><<a href="mailto:bgneal@gmail.com" target="_blank">bgneal@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--------- Forwarded message ----------<br>
> From: Alessandro Pischedda <<a href="mailto:alessandro.pischedda@gmail.com">alessandro.pischedda@gmail.com</a>><br>
> To: <a href="mailto:omniorb-list@omniorb-support.com">omniorb-list@omniorb-support.com</a><br>
> Cc:<br>
> Date: Thu, 10 Dec 2015 15:57:26 +0100<br>
> Subject: Python3.5 support<br>
> Hi,<br>
> I see that OmniOrbpy 4.2 should supports Python3.5 but I've tried to compile a .idl with omniidl on a virtual enviroment with, just Python3.5, but I've many import error when I try to use the idl compiled. The command that I use is<br>
><br>
> omniidl -bpython <file.idl><br>
><br>
> I should use something different ? Maybe some option that I forget or other ?<br>
><br>
> Thank you<br>
><br>
> P.S. I've tried even to modify the 'import path' on the files but it is really tedious and difficult.<br>
><br>
<br>
I'm not exactly sure what you mean, but after omniidl creates the<br>
auto-generated Python code, you should treat it just like any other<br>
3rd party library. This usually means putting the directory on your<br>
PYTHONPATH, or copying it to a directory already on that path. You<br>
should then be able to import it.<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><br></div>Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - <i>Martin Golding</i><div><i><br></i></div><div><span style="font-size:small;line-height:16px">There are 10 kind of people</span><span style="font-size:small;line-height:16px">. Those who understand binary, and those who do not. I hate both of them. - <i>Me</i></span><i><br></i></div></div></div>
</div>