[Tutor] sys.path.append import python3 not working
Alan Gauld
alan.gauld at btinternet.com
Wed Feb 5 13:41:03 CET 2014
On 05/02/14 12:02, Tim Golden wrote:
> On 05/02/2014 11:58, Oscar Benjamin wrote:
>> Another option is to place it in site-packages. If you don't want to
>> use the system site packages you can always use the one in your user
>> directory. In my case on Ubuntu that's in
>> ~/.local/lib/pythonX.Y/site-packages/
>
> Good point: I always forget the user-specific site-package. Since the OP
> is on Windows... on my (Windows 7) box it's:
And after 15 years of using Python I didn't know it existed until now!
I've always used a local directory and added it to PYTHONPATH...
Always something new... :-)
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list