On Wed, Mar 02, 2011 at 01:07:23PM +0100, Okko Willeboordse wrote:
> <FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" 
> size=2><div>Consider 2 files in the same folder, one importing the 
> other.<br><br>This runs fine from the folder holding the 2 files or from any 
> other folder.<br><br>Pylinting is fine from the folder holding the 2 files 
> but not from any other folder as it then results in;<br><br>[F0401] Unable to 
> import 'module'<br><br>TMHO this is not right and therefore I 
> added;<br><br>import sys<br>import os<br>sys.path.insert(0, 
> os.path.abspath(os.path.dirname(sys.argv[-1])))<br><br>to;<br>c:\Python26\Scripts\pylint<br><br>Can
>  this be fixed?<br><br>Kind regards,<br><br><div>Okko 
> Willeboordse<br>Consultant<br><br>Imtech ICT Technical Systems<br>A: 
> Terminalweg 32, 3821 AJ AMERSFOORT<br>T: +31 (0) 33 4543333<br>M: +31 (0) 6 
> 46 17 43 09<br>E: <a 
> href="mailto:[email protected]";>[email protected]</a><br>W:
>  <a href="http://www.imtechict.nl";>www.imtechict.nl</a><br></div></div></FONT>

could you please repost a text version of this html email ?

-- 
Pierre-Yves

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to