On Jan 24, 2019, at 5:07 PM, Fletcher Johnson <[email protected]> 
wrote:
> 
> My most interesting python question is related to the "file... import ..." 
> command.  Apparently, you can't specify a parent folder in the file portion, 
> just the current one.  But there is a way to designate where other files may 
> be found, I just haven't figured out where that gets set, especially when 
> using environments.  

You can't specify operating system paths in the import command; those modules 
need to be in known locations where Python can find them. When you install 
something (usually with `pip install`), it is placed in the 'site-packages' 
directory of your environment. I started to write a big long explanation here, 
but decided that it would be better as a blog post:

https://blog.leafe.com/using-a-python-virtual-environment/

Of course, if you have any questions about that, let me know.


-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to