If you're running Spyce on this embedded system, then you must already
be able to run Python, and therefore you'll be able to run the resulting
Python files (the output of the Spyce compilation).
You do NOT always need Apache on the system. Spyce can run as it's own
webserver. It can also run from the command-line and send it's output to
python spyce.py -h
if you have the permissions set correctly.
A few useful examples:
spyce foo.spy - compile and process foo.spy to stdout
spyce -c foo.spy - compile .spy and emit python code to stdout
spyce -l - run the built-in spyce web server
All the best,
On Wed, 27 Apr 2005, Sandro M wrote:
> Hello Mr. Rimon,
> I have a question about Spyce: i tell you my situation where I need spyce.
> I have to create 'static' html files, but this html depends by many variables, so I read a variable and i inserti the value at the right point of the static final html file, so it can be read from a browser. I'm oblige to use phyton
> My question is: the final .py (if spyce create .py...i dont know i'm new of spyce :)) are able to be read from a python interpreter only? I ask this 'cause i must save and then run my .py files from a particular version of Linux, called uClinux, built for embedded projects.
> I have to know if the files generated by spyce is total-compatible with a standard python interpreter for linux. I read that an apache server is needed..but i dont think in uClinux there is one...
> Thanks for your time, i hope in a quickly response causa i'm a little in hurry...:)
> If it isnt possibile and u know a solutions tell me naturally.
> Thanks again, bye
> Sandro M.
Get latest updates about Open Source Projects, Conferences and News.