Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by hobofan

8 years ago

I'm pretty sure Python 3 already does this, and that's what the __pycache__ directories it creates when running a command are for.

1 comment

hobofan

Reply

lmm  8 years ago

Those are only bytecode. It helps a little but you still have to load the file from the filesystem and run it on import.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities