New submission from wis :
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
<https://bugs.python.org/issue36536>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com