Skip to content

Commit be1d794

Browse files
author
Philip Guo
committed
minor
1 parent 2b29b4d commit be1d794

5 files changed

Lines changed: 18 additions & 56 deletions

File tree

TODO

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,8 @@ A disorganized collection of TODOs, bug reports, and friends' suggestions
33

44
January/Feb 2010 (notes from initial release)
55

6-
Ideas for programming tutorials
7-
- Could do a track on more advanced Python concepts for people who are
8-
already pretty comfortable with programming ... an intro to Python
9-
for programmers
106

11-
12-
Don't display boilerplate code when classes are being initialized
13-
14-
15-
Rob Miller's suggestions for handling aliasing:
16-
17-
'''
18-
Incidentally, for the aliasing example, it might help if you strive to
19-
have one object be the "official" one, in a sense, and make the aliases
20-
to it look different. For example, the x list would be displayed
21-
normally, but the y list might be displayed faded out (with a little
22-
note that says "this is the same object as x above"). Mousing over the
23-
x list or y list might highlight its aliases.
24-
25-
That would reinforce the fact that there's only one object in memory.
26-
We usually do that on the blackboard -- draw only one object, and have
27-
arrows from x and y pointing to that single object.
28-
'''
7+
Maybe don't display boilerplate code when classes are being initialized?
298

309

3110
Hubert's suggestions for permalinks:
@@ -137,7 +116,7 @@ scroll to it. This page might help:
137116
http://css-tricks.com/snippets/jquery/smooth-scrolling/
138117

139118
(also auto-scroll the program's stdout output as well as the code
140-
display!)
119+
display ... that one is easy --- always auto-scroll to BOTTOM!)
141120

142121
---
143122
2011-09-26

edu-python-questions.css

Lines changed: 0 additions & 32 deletions
This file was deleted.

edu-python-questions.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ $(document).ready(function() {
2929

3030
$("#pyOutputPane").hide();
3131

32+
// for demo purposes ...
33+
34+
3235
$("#executeBtn").attr('disabled', false);
3336
$("#executeBtn").click(function() {
3437
$('#executeBtn').html("Please wait ... processing your code");

edu-python.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,3 +535,16 @@ div#heapHeader {
535535
font-size: 10pt;
536536
}
537537

538+
539+
/* styles for Online Python Tutor questions site */
540+
541+
#questionsHeaderPane {
542+
text-align: left;
543+
margin-bottom: 10px;
544+
width: 650px;
545+
}
546+
547+
.questionsHeaderStmt {
548+
margin-bottom: 5px;
549+
}
550+

question.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
<script type="text/javascript" src="edu-python-questions.js"></script>
4848

4949
<link rel="stylesheet" href="edu-python.css" type="text/css"/>
50-
<link rel="stylesheet" href="edu-python-questions.css" type="text/css"/>
5150

5251
</head>
5352

0 commit comments

Comments
 (0)