mirror of
https://github.com/python/cpython
synced 2024-09-16 03:29:57 +00:00
aa61505fd2
to Py_Initialize will be undone by n calls to Py_Uninitialize. |
||
---|---|---|
.. | ||
Makefile | ||
pysvr.c | ||
pysvr.py | ||
README |
This is an example of a multi-threaded C application embedding a Python interpreter. The particular application is a multi-threaded telnet-like server that provides you with a Python prompt (instead of a shell prompt). The file pysvr.py is a prototype in Python. THIS APPLICATION IS NOT SECURE -- ONLY USE IT FOR TESTING!