[New-bugs-announce] [issue36536] is there a python implementation of the cpython commandline interpretor?

wis report at bugs.python.org
Fri Apr 5 08:40:52 EDT 2019


New submission from wis <wesam.co at outlook.com>:

this algorithm: https://github.com/python/cpython/blob/34ef64fe5947bd7e1b075c785fc1125c4e600cd4/Python/coreconfig.c#L1644

I need a python library that does that to fix this answer
https://stackoverflow.com/a/55413882/4178053
I need to get the correct path of the script from the commandline of the python process.

I searched for libraries or implementations and couldn't find one, can someone help me? I can't read C.

----------
components: Argument Clinic
messages: 339499
nosy: larry, wis
priority: normal
severity: normal
status: open
title: is there a python implementation of the cpython commandline interpretor?

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36536>
_______________________________________


More information about the New-bugs-announce mailing list