Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You may have a very long python-path and/or script loading a lot of modules initially if it is taking so long to start up.

For example, in a recent script I deferred loading the requests module and startup improved a few tenths of a second. Rinse, repeat.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: