Reply
Thread Tools
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#1
I'm hacking up shapeshifter's Alarmed app to make something else, & I notice that the .py source code resides in the N900 identically in two places:
/opt/alarmed/
/home/opt/alarmed/

also those directories contain a .pyo file, which I wonder is compiled code or something.

1. What's that all about? What's the difference between those directories? Why is it in both? What's a .pyo file ?

2. If I'm just putting together some .py code to run interpreted & not compiled on the N900, where should I put it?
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#2
/opt is a symlink to /home/opt

as for .pyo: http://docs.python.org/release/1.5.1p1/tut/node43.html
 

The Following 3 Users Say Thank You to reinob For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:46.