0

Is there any contraindication in deploying .pyc only files in and embedded systems running Linux and python 2.7 ?

If I can deploy only .pyc I would avoid having waste of storage in a resource constrained embedded system.

Felipe Lavratti
  • 2,887
  • 16
  • 34
  • have you tried it? I would expect it to work fine ... (although you might need to create the pyc on the target system (Im not sure)) – Joran Beasley Apr 10 '15 at 16:21
  • 4
    Beware that .pyc files are not guaranteed to be portable. They are Python version specific and also architecture specific - big/little endian issues, for example. – cdarke Apr 10 '15 at 16:25
  • Thanks, I thought it was portable. Anyway I can compile them in target. – Felipe Lavratti Apr 10 '15 at 17:19

0 Answers0