Re: [Tutor] Environment variables and Flask

2019-06-28 Thread Mayo Adams
Many thanks to some very bright and helpful gentlemen. On Fri, Jun 28, 2019 at 9:24 AM Mats Wichmann wrote: > On 6/27/19 11:24 PM, Mayo Adams wrote: > > I have for some time been flummoxed as to the significance of setting > > environment variables, for example in order to run a Flask applicatio

Re: [Tutor] Environment variables and Flask

2019-06-28 Thread Mats Wichmann
On 6/27/19 11:24 PM, Mayo Adams wrote: > I have for some time been flummoxed as to the significance of setting > environment variables, for example in order to run a Flask application. > What are these environment variables, exactly, and why is it necessary to > set them? "Googling" here simply lea

Re: [Tutor] Environment variables and Flask

2019-06-28 Thread Cameron Simpson
On 28Jun2019 09:34, Alan Gauld wrote: Environment variable have fallen out of favour for user settings and config files are now preferred. But some things are a bit easier via en environment variable - especially where you spawn new sub-processes and don't want the sub-process to have to re-read

Re: [Tutor] Environment variables and Flask

2019-06-28 Thread Alan Gauld via Tutor
On 28/06/2019 06:24, Mayo Adams wrote: > What are these environment variables, exactly, and why is it necessary to > set them? When you run a program under an operating system the OS sets up an "environment" (or context) for the program to run in. (This includes the OS shell that the user intera