Week of October 22nd Comments and 29th
Post thoughts here:
Code from class today:
def anchor(someURL):
return ''+someURL+''
def image(somename,somepicture):
return '
This is '+somename+'
'
def makeHomePage(aname, aschool, someinterests):
file = open("C:/myhomepage.html","wt")
file.write("""
""")
file.write("The Home Page of "+aname)
file.write("")
file.write("The Home Page of "+aname+"
")
file.write("Welcome to my home page!\n")
file.write("
My name is "+aname+".
I attend "+aschool+".\n")
file.write("
My interests are: "+someinterests+".")
file.write("
")
file.write("My favorite web sites are:"+anchor("http://www.cnn.com")+" "+anchor("http://www.ebay.com"))
file.write("
These are some of my friends.")
file.write(image("Joel","students1.jpg"))
file.write(image("Christina","student8.jpg"))
file.write("")
file.close()
i can't seem to get this code to work. I'm following everything I think he did in class today... JES says that its not legal jython but I tried to change jpegs and other variables that might make it fussy but it still doesn't like me.
I have a question about the TA stuff:
what if I've never taught anyone anything
what if I wait a semester to do it?
what if I sign up for it and I realize that I don't want to do it?
so that was a few questions... whatever :)
| Hmm, I'd probably be able to help you solve the problem better if I knew what the error was... Mark Guzdial |
As for the second question:- No previous teaching experience required.
- Yes, you can wait a semester. We're interviewing now for Spring. In the Spring, we'll interview for Summer and Fall.
- You can sign up now and interview. If we need you (e.g., the interview went well, and enough students signed up for the class that we need enough TA's), you'll get offered the job. You can always decline then. There's no obligation to interview.
Mark Guzdial |
For the code, I get text only and no pictures show up (just the square with the random shapes that mean a jpeg should be here but wont show). Pretty much looks just like it does on this page
nevermind for the code, i got it under control
Link to this Page
- Feedback last edited on 27 November 2006 at 8:14 am by r33h37.res.gatech.edu