errors getting python up-and-running
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Fri Nov 26 16:20:56 CET 2010
On Thu Nov 25, 2010 at 21:55:19 -0800, lkcl wrote:
> and then copied the example x86-fb.cfg (called it hello.lua, don't ask, but
> it matches above...) and added:
You can name it as you like.
> so... yah, that was a pain, but i got there, yaay! :) ok. rrrright.
> files. how the heck do i get files in (e.g. some python modules). i see
> there's some here:
>
> lkcl at teenymac:~/src/l4ka/build-x86_64$ ls -altr lib/amd64_K8/l4f/python-mod/
> total 20
> lrwxrwxrwx 1 lkcl lkcl 92 2010-11-26 05:10 operator.so ->
> /home/lkcl/src/l4ka/build-x86_64/pkg/python/lib/objs/OBJ-amd64_K8-l4f/python-mod/operator.so
> lrwxrwxrwx 1 lkcl lkcl 94 2010-11-26 05:10 _functools.so ->
> /home/lkcl/src/l4ka/build-x86_64/pkg/python/lib/objs/OBJ-amd64_K8-l4f/python-mod/_functools.so
> lrwxrwxrwx 1 lkcl lkcl 96 2010-11-26 05:10 _collections.so ->
> /home/lkcl/src/l4ka/build-x86_64/pkg/python/lib/objs/OBJ-amd64_K8-l4f/python-mod/_collections.s
> drwxr-xr-x 2 lkcl lkcl 4096 2010-11-26 05:10 .
> drwxr-xr-x 4 lkcl lkcl 4096 2010-11-26 05:10 ..
> lkcl at teenymac:~/src/l4ka/build-x86_64$
>
> is that... basically it? then include the file e.g. site.py as a module?
> there must be a "good" way to do this, surely.
Well, never tried it. When you add the site.py file in modules.list it
will appear as rom/site.py in python. Can you load it?
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the l4-hackers
mailing list