Difference between revisions of "Python"

From Chumby Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
=Why Python?=
+
==Why Python?==
 
* because writing in C sucks
 
* because writing in C sucks
 
* your time is valuable
 
* your time is valuable
 
* once a python zealot, always a python zealot.
 
* once a python zealot, always a python zealot.
  
=Compiling python from source=
+
==Compiling python from source==
  
 
# Construct the [[Scratchbox]] environment.
 
# Construct the [[Scratchbox]] environment.
Line 10: Line 10:
 
# {{Command|./configure; make; make install}}
 
# {{Command|./configure; make; make install}}
  
=If you're too lazy to do all that...=
+
==If you're too lazy to do all that...==
 
You can download all of this prebuilt in [http://files.chumby.com/languages/python/python2.6-chumby.tgz python2.6-chumby.tgz] (13MB).
 
You can download all of this prebuilt in [http://files.chumby.com/languages/python/python2.6-chumby.tgz python2.6-chumby.tgz] (13MB).
  
 
Just unpack onto a USB drive, add your python code and a "debugchumby" script, and you can write your own python applications for your chumby!
 
Just unpack onto a USB drive, add your python code and a "debugchumby" script, and you can write your own python applications for your chumby!

Latest revision as of 14:10, 27 November 2010

Why Python?

  • because writing in C sucks
  • your time is valuable
  • once a python zealot, always a python zealot.

Compiling python from source

  1. Construct the Scratchbox environment.
  2. Download the source to the python flavor of your choice
  3. ./configure; make; make install

If you're too lazy to do all that...

You can download all of this prebuilt in python2.6-chumby.tgz (13MB).

Just unpack onto a USB drive, add your python code and a "debugchumby" script, and you can write your own python applications for your chumby!