Re: venv questions

2022-08-30 Thread Dennis Lee Bieber
On Mon, 29 Aug 2022 22:57:50 -0400, gene heskett declaimed the following: >Greetings all; > >The command to setup a venv, "python -m venv venv" has no man page that >I have >found. > https://docs.python.org/3/library/venv.html -- Wulfraed Dennis Lee Bieber AF

Re: How to make a variable's late binding crosses the module boundary?

2022-08-30 Thread dn
On 31/08/2022 05.26, Schachner, Joseph (US) wrote: > The way we do this, is in main.py, call a "globalizer" function in each other > file: > > # call globalizers to get shortcuts as global variables > funcs.globalizer(interface, variable_dict) > util.globalizer(interface, variable_dic

Re: Download Python 3.10.6 for windows

2022-08-30 Thread Eryk Sun
On 8/30/22, George Rwaga wrote: > > 1. I installed Python 3.10.6 in the default directory > C:\Users\x.x\AppData\local\programs\Python\Python310 > After the installation, there was no shortcut on my desktop. Shortcuts are created in the start menu. The installer doesn't modify the user's

Re: Running two separate servers (was Re: venv questions)

2022-08-30 Thread gene heskett
On 8/30/22 06:52, Chris Angelico wrote: On Tue, 30 Aug 2022 at 19:51, gene heskett wrote: So I'm thinking of venv's named rock64prusa, and rock64ender5+, each with "port#" on my local net. So chromium could have two tabs open, one to localhost:5000 and one to localhost:5001, totally independent

Re: Download Python 3.10.6 for windows

2022-08-30 Thread MRAB
On 2022-08-30 16:09, George Rwaga wrote: I last installed an updated version of python more than a year back. I am trying to download (from https://www.python.org/downloads/ ) and install Python 3.10.6 for Windows - but I keep running into problems. 1. I installed Python 3.10.6 in the default

Re: Coffee

2022-08-30 Thread Michael F. Stemper
On 29/08/2022 07.16, Stefan Ram wrote: |Python's obviously a great tool for all kinds of programming things, |and I would say if you're only gonna use one programming |language in your live, Python will probably the right one. Brian Kernighan I transcribed this from the recent video "Coffe

Download Python 3.10.6 for windows

2022-08-30 Thread George Rwaga
I last installed an updated version of python more than a year back. I am trying to download (from https://www.python.org/downloads/ ) and install Python 3.10.6 for Windows - but I keep running into problems. 1. I installed Python 3.10.6 in the default directory C:\Users\x.x\AppData\loca

RE: How to make a variable's late binding crosses the module boundary?

2022-08-30 Thread Schachner, Joseph (US)
The way we do this, is in main.py, call a "globalizer" function in each other file: # call globalizers to get shortcuts as global variables funcs.globalizer(interface, variable_dict) util.globalizer(interface, variable_dict) sd.globalizer(interface, variable_dict) tests.global

Re: Running two separate servers (was Re: venv questions)

2022-08-30 Thread Chris Angelico
On Tue, 30 Aug 2022 at 19:51, gene heskett wrote: > So I'm thinking of venv's named rock64prusa, and rock64ender5+, each with > "port#" on my local net. So chromium could have two tabs open, one to > localhost:5000 and one to localhost:5001, totally independent of each other. > As I said, that ha

Re: Running two separate servers (was Re: venv questions)

2022-08-30 Thread gene heskett
On 8/29/22 23:22, Chris Angelico wrote: On Tue, 30 Aug 2022 at 12:59, gene heskett wrote: But that might create another problem. how to differentiate the servers, both of which will want to use localhost:5000 to serve up their web pages we run things with. Suggested solutions? This is nothing