Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activities/Pilas
(view source)
Revision as of 00:06, 11 April 2012
128 bytes added
,
00:06, 11 April 2012
→Running Pilas from Pippy
Line 93:
Line 93:
There is much more, read the Spanish. [http://www.pilas-engine.com.ar/]
There is much more, read the Spanish. [http://www.pilas-engine.com.ar/]
−
==Running Pilas from Pippy==
+
==Running Pilas from Pippy
or Terminal
==
This is not working, help please!
This is not working, help please!
−
Run the following code in
Pippy
+
Pippy
:
import sys
import sys
sys.path.append('/home/olpc/Activities/Pilas.activity')
sys.path.append('/home/olpc/Activities/Pilas.activity')
import pilas
import pilas
pilas.iniciar()
pilas.iniciar()
+
+
Terminal:
+
+
Create a file myprogram.py in ~/Pilas.activity containing
+
import pilas
+
pilas.iniciar()
+
+
In Terminal type
+
python myprogram.py
Tonyforster
2,486
edits