python-ngrok icon indicating copy to clipboard operation
python-ngrok copied to clipboard

请问有单线程的方式吗

Open luvying opened this issue 5 years ago • 2 comments

因为一些特殊的原因,不能使用多线程,如果大佬能提供单线程的方式就好辣~

luvying avatar Jun 11 '19 08:06 luvying

gevent 协程库可以轻松实现

hauntek avatar Apr 24 '21 19:04 hauntek

可以尝试下: python-ngrok_gevent.py

  • 需安装gevent库, 命令: python -m pip install gevent

hauntek avatar Apr 24 '21 20:04 hauntek