[pypy-dev] RPython Environment Variables
Benjamin Peterson
benjamin at python.org
Fri Nov 1 00:23:43 CET 2013
Presumably, you can just use get/setenv()
2013/10/31 Ryan Gonzalez <rymg19 at gmail.com>:
> I am writing a tool in RPython that needs to access environment variables.
> Now, all has been going well, but I noticed something interesting. The
> RPython translator sees os.environ as constant. But, will it still be
> constant on other platforms?
>
> What I'm saying is, are the environment variables permanently embedded into
> the application? i.e., if I run it on another PC, the values will be the
> same? Or is there an RLib equivalent? Because I really don't feel like
> writing a C wrapper...
>
> --
> Ryan
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
--
Regards,
Benjamin
More information about the pypy-dev
mailing list