• 0 Posts
  • 2 Comments
Joined 2Y ago
cake
Cake day: Jun 18, 2023

help-circle
rss

I think there’s several reasons for that, not the least of which is that you can’t distribute python bytecode.

With java, I run through an intentional compilation step and then ship the jar file to my consumers. I’d never ship a .pyc to the field.

In python (specifically cpython), that step is just an implementation detail of the interpreter/runtime.
If you ever used something other than the default python interpreter, it probably wouldn’t implement the same bytecode subsystem under the hood. Python bytecode isn’t part of the spec.


You’re gonna get mocked for saying compiler instead of interpreter, since python isn’t compiled.

But, to answer the spirit of your question, I’ve had good experiences with “Pydroid 3.” Clean interface and gets the job done.