Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorChris Ball <cjb@pullcord.laptop.org>2007-08-21 01:34:26 (GMT)
committer Chris Ball <cjb@pullcord.laptop.org>2007-08-21 01:34:26 (GMT)
commitc3f501eee467db21e7960ce3c27a8ad46b066002 (patch)
treeff35018262e25bedc4b168c1fb913c5bf47d2471 /data
parent429d4c002d00694cdbc739a345043f9de4fdbf70 (diff)
Replace hippocanvases with raw Gtk, get both scrollbars working.
Diffstat (limited to 'data')
-rw-r--r--data/graphics/jump1
-rw-r--r--data/python/if1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/graphics/jump b/data/graphics/jump
index aec5896..db7c347 100644
--- a/data/graphics/jump
+++ b/data/graphics/jump
@@ -1,3 +1,4 @@
+# From C. Scott Ananian
# both of these functions should be in the 'basic' package or some such
def clear_scr():
print '\x1B[H\x1B[J' # clear screen, the hard way.
diff --git a/data/python/if b/data/python/if
index dcc9544..6bcfbb8 100644
--- a/data/python/if
+++ b/data/python/if
@@ -1,4 +1,5 @@
number = input("Enter a number: ")
+
if number > 5:
print "Greater than 5"
elif number < 5: