git clone https://gist.github.com/joshuataylor/061148102103a0f8289961bf613dde5d misep
cd misep
mise trust
# install python
mise install
python foo.pynow open pycharm.
| export FOOHELLO="world" | 
| .venv | 
| [env] | |
| mise.file = '.envrcs' | |
| [tools] | |
| python = {version='3.12.4', virtualenv='.venv'} | 
| import os | |
| # Get the value of the FOOHELLO environment variable | |
| foohello_value = os.getenv('FOOHELLO') | |
| # Check if the environment variable exists | |
| if foohello_value is not None: | |
| print(f'The value of FOOHELLO is: {foohello_value}') | |
| exit(0) | |
| else: | |
| print('The FOOHELLO environment variable is not set.') | |
| exit(1) | 
| 1 |