Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 13: | Line 13: | ||
===Basic Bookmarks=== |
===Basic Bookmarks=== |
||
* http://www.python.org |
* http://www.python.org |
||
β | * http://www.pygtk.org |
||
===Other interesting stuff=== |
===Other interesting stuff=== |
||
Line 20: | Line 19: | ||
==Including Sample Code in a Wiki== |
==Including Sample Code in a Wiki== |
||
β | To put code in one of these cute boxes |
+ | To put code in one of these cute boxes: |
def function(): |
def function(): |
||
print "hello" |
print "hello" |
||
β | Fortunately, cutting and pasting ''out'' of the cute box results in properly formatted |
+ | You have to indent each line by one space. Fortunately, cutting and pasting ''out'' of the cute box results in properly formatted |
Python code. To quickly format your code for cut-and-paste ''into'' the wiki on a linux computer, you can use the '''sed''' command. |
Python code. To quickly format your code for cut-and-paste ''into'' the wiki on a linux computer, you can use the '''sed''' command. |
||