Passing information between modules
Cameron Simpson
cs at cskk.id.au
Sat Nov 19 17:36:41 EST 2022
On 18Nov2022 10:53, Stefan Ram <ram at zedat.fu-berlin.de> wrote:
> Can I use "sys.argv" to pass information between modules
> as follows? [...]
Stefan, it looks like most of the replies take the form: yes you can do
that but it is probably a bad idea.
Could you outline the larger situation where you want to do this? Often
this kind of response ("yes but don't!") can be a clue that you're
chasing the wrong (sorry, "suboptimal/poor") solution to a problem which
can be solved in another way.
Cheers,
Cameron Simpson <cs at cskk.id.au>
More information about the Python-list
mailing list