mirror of
https://github.com/python/cpython.git
synced 2024-12-14 20:34:12 +08:00
12 lines
232 B
Python
Executable File
12 lines
232 B
Python
Executable File
#!/usr/bin/env python3
|
|
if __name__ == '__main__':
|
|
import sys
|
|
rc = 1
|
|
try:
|
|
import venv
|
|
venv.main()
|
|
rc = 0
|
|
except Exception as e:
|
|
print('Error: %s' % e, file=sys.stderr)
|
|
sys.exit(rc)
|