ProgrammingWiki
Edit Page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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, you have to indent each line of wiki-text by one space:
+
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.
   
Please note that all contributions to the ProgrammingWiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)