Python
Pythonは昔から使っていて、好きなので書きたいと思います。
#!/usr/bin/python-exec2c
# vim:fileencoding=utf-8:ft=python
# (c) 2012-2016 Michał Górny
# Released under the terms of the 2-clause BSD license.
#
# This is not the script you are looking for. This is just a wrapper.
# The actual scripts of this application were installed
# in subdirectories of /usr/lib/python-exec.
# You are most likely looking for one of those.
from __future__ import with_statement
# prepare a clean globals for exec()
= dict(globals())
new_globals # we have to keep the import top, so delete it from globals
del new_globals['with_statement']
import errno, os, os.path, sys
try:
from epython import EPYTHON
except ImportError:
= os.path.basename(sys.executable)
EPYTHON if '' and EPYTHON.endswith(''):
= EPYTHON[:-len('')] EPYTHON
Posted on 2020-09-27 19:08:21