Cameron Simpson wrote:
>
> Almost everything I use comes either from pip or from my own modules. My
> $PYTHONPATH on the Mac has this:
>
> /Users/cameron/lib/python:/Users/cameron/rc/python
>
> being, respectively, my personal modules and a place for third party
> modules which do not
On 23Jul2021 11:33, Chris Green wrote:
>This isn't a question about how to set PYTHONPATH so that Python code
>can find imported modules, it's about what is a sensible layout for
>one's home directory - i.e. where to put Python modules.
>
>I'm running Linux and have a number of Python modules
Roland Mueller wrote:
> Hello,
>
> pe 23. heinäk. 2021 klo 21.44 Chris Green (c...@isbd.net) kirjoitti:
>
> > This isn't a question about how to set PYTHONPATH so that Python code
> > can find imported modules, it's about what is a sensible layout for
> > one's home directory - i.e. where to
On my Arch Linux box, slightly different path, but still in .local/bin:
pbryan@dynamo:~$ python3
Python 3.9.6 (default, Jun 30 2021, 10:22:16)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python39.zip',
Hello,
pe 23. heinäk. 2021 klo 21.44 Chris Green (c...@isbd.net) kirjoitti:
> This isn't a question about how to set PYTHONPATH so that Python code
> can find imported modules, it's about what is a sensible layout for
> one's home directory - i.e. where to put Python modules.
>
> I'm running
This isn't a question about how to set PYTHONPATH so that Python code
can find imported modules, it's about what is a sensible layout for
one's home directory - i.e. where to put Python modules.
I'm running Linux and have a number of Python modules that are only
used by my own code. My top level