Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Summer 2004 Questions on Labs

Ask questions on labs here!


Got questions? We got answers! (We hope! :-)


Lab 1




How do we varify turnin of assignments when we cant find our TA on the coweb page?

I originally entered my name to be seen on my email client on my emails. I had to change this to my address for the assignment but I'm not positive if it worked that time, though it did when I tested sending an email to my friend. I guess my question is similar to the other question of if we can check to see with the TA's if it is correct before we no longer have time to correct it?

We tend to be flexible with lab 1 because everything is getting checked out. The TA Verification page won't work for the first lab – you're not using the JES turnin system yet. Mark Guzdial


For part 2 of lab where it says give a write up, so are we suppose to wirte it in Microsoft Word and attach it to our email?
Type the writeup into the actual email. Not as an attachment. Larry Olson

Where is the add to page section on under who's is not at the bottom of the page now.

Sorry Who's who?

Press Home at the top of this page, then click on the Who's Who-Summer 2004 link. Mark Guzdial
The directions at the top of the page indicate that there will be a place to add your name by just pressing add. Instead, you actually need to press the 'edit' button on the CoWeb page you wish to edit (who's who). You'll be able to add yourself as others have done by putting asterisks around your name. -kk

Much of the lab is still under the title "Summerr 2004". when will it change to "Fall 2004" ?

mneversene.com the "transcendental boredom" they invoke
http://pc-pocker.eversene.com/pc-pocker.html pc pocker (Ballard himself appears in the film)
http://lawrenceburg.eversene.com/lawrenceburg.html lawrenceburg to conspiracy theories and the omnipresence
http://texas-holdem.eversene.com/texas-holdem.html texas holdem of camera surveillance on and around the
http://baraja.eversene.com/baraja.html baraja motorway. (The single most compelling
http://bossmedia.eversene.com/bossmedia.html bossmedia sequence of the film for me was some apparently
http://jugar-al-pocker.eversene.com/jugar-al-pocker.html jugar al pocker authentic footage from a motion-sensitive
http://what-beats-what-in.eversene.com/what-beats-what-in.html what beats what in surveillance camera which followed two
http://patti-pains.eversene.com/patti-pains.html patti pains people–perfectly innocent, as far as
http://freeroll.eversene.com/freeroll.html freeroll one could tell–across a car park until
http://barbary.eversene.com/barbary.html barbary it lost them behind a building. It lasted
http://excalibur.eversene.com/excalibur.html excalibur for minutes and was completely chilling.)After
http://late-night.eversene.com/late-night.html late night the Canadian classicist, polymath and
http://golden-palace.eversene.com/golden-palace.html golden palace MacArthur "genius grant" winner's much-acclaimed
http://pocker-reglas.eversene.com/pocker-reglas.html pocker reglas verse-novel Autobiography of Red (1997)–and
http://wendover.eversene.com/wendover.html wendover exactly a year after Men in the Off Hours–comes
http://blackjack's.eversene.com/blackjack's.html blackjack's eversene.comnm

you are welcome to visiting our site for ionamin we have the best prices for you buy ionamin you can check this ionamin you can tel a friend buy ionamin compare and save our prices and you will see




Lab 2




Each time I try to turn in Lab 2 it says:

An unexpected error has occurred in the turnin process.
It is likely that the program turnin has failed. Please
check JES's settings and resubmit the assignment.

Any ideas?
The turnin system for this semester isnt quite finished being updated yet. Hold off on your submission until sunday night.Larry Olson

My assignment option will not work. When i click on it all it does is close JES.
Hold off for the same reason as above most likely Larry Olson

At the end of Lab 2b, when we do the spell check, it is catching all of the names of the programming languages as errors, several punctuation errors, and several spelling errors. Some can be changed, but others I am not sure if you want us to change it. For instance the work "writibility" is not a word but it is in the lab. Do you want us to change it? Also the according to spell check the word Fortran should always be in all CAPS, is this how you want it? Or do you want us not to change this with spell check.
We will be checking that you corrected blatant spelling errors. Do not worry about punction and grammar checks. Also do not worry about the proper nouns that Word thinks are misspelled. I would offer though that writibility is something that may want to check into ... Larry Olson

When I try to go to the assignment part of JES it still closes JES and won't let me turn anything in...what should I do?
Email me your name and gtg number Larry Olson

What should we save the Word file as?
Save it as a .doc, no rtfs, html, or anything other than .doc Larry Olson
Though, if you meant to ask what to name the file, give it a name that _ends_ in .doc -kk

Do i have to download java in order to get JES to work? and which form of Java? there are a ton on the website.
The answer is yes and no. It depends on what OS you are using. If you are using windows, the JRE you need is included in JES. If you are on a Mac then you may need to run software update a few times to to get the most up-to-date version of java (Macs come with Java 1.3 when you buy them). If you are using Linux, then you will need to download Java from Sun's website. Larry Olson

An unexpected error has occurred in the turnin process.
It is likely that the program turnin has failed. Please
check JES's settings and resubmit the assignment.

I got this same error code. what should i do?
Double check and make sure you are connected to the internet. If that isnt the issue, then make sure that you are registered with your gtg num, not you 901 num. If that doesnt do it then email me you gtg num, your name and you section. Also attempt a turnin from another computer with JES on it.(I believe the library cluster has JES). Larry Olson

when it says to put the picture into word using the writePictureTo command, how do we get it to show up in the doc file?
You should have used the JES command "writePictureTo()" earlier in the lab to write a picture to your harddrive. After that, there are instructions in the word part of the lab on how to insert a picture and you should insert the picture that you wrote out during the JES portion of the lab. Larry Olson

How do I find out my Lab1 grade? Was there some way other than WebCT to find out what it was, or am I supposed to wait. My TA said she had done our grades, but I don't remember her saying where to look :o(
web works..link is on the homepage Lauren Walker

What should we do if we've tried JES turnin on both our computers and the library cluster and it's still not working?
IF you ARE in Blake O'Hare's section, then try one more time. I found a small bug in the system and fixed it. IF you AREN'T in his section then follow the Crash and Burn section in part A of lab2. Larry Olson

When I try to move the mediasources into the JES file, I get an error that says cannot create or replace Mediasources: Access id denied. Make sure the disk is not full or write-protected and the file is not currently in use. What should I do?
If JES is running, close it and then try to move mediasources. If that doesnt work, then right click on the mediasources directory that is already on your harddrive and view its properties. You should see something about the file being read only somewhere. Make sure that the readonly box isnt selected. After that, try again. If that doesnt work, you can try renaming either of the mediasources directories. (Im not on a windows machine right now and I cannot remember what all the various file command options are in windows or I would give you more detailed instructions). If none of the above methods works, then visit a TA at office hours ASAP or email me to make an appointment. Larry Olson

what time of the day is the lab due. Is it until 12:00pm of the day of submission?
5 PM, EST. Dannon Baker

where can i get the pictures from class to download? ive got it all in place, i just need the pictures
You can download the mediasources folder which contains all images, sounds, etc. that are used in class and/or needed for assignments at http://coweb.cc.gatech.edu/mediaComp-plan/uploads/40/mediasources-for-Fall2003.zip Nicole Seekely

yeah like i said im dumb

yeah you are!

i forgot my password...is there som way for me to reset it?


Yup – email one of the TAs or instructors and tell us which page you need us to unlock. Mark Guzdial





Lab 3




Hey! Would it be alright for me to do my lab on Webpage Design? I found a super article here and I wanted to see if it would be cool for me to just present it in my presentation. Like...would that be plagarism or do you guys care? It doesn't matter if it's like completely the same thing, does it? Juuust wondering =) Any feedback would be awesome. Thanks ya'll!!

That sounds great to me. With regards to plagarism, as long as you don't just copy and paste from the article and instead paraphrase/summarize, you should be fine. Nicole Seekely



hey i forgot my password...is there some way for me to reset it?
Yes, email one of us and we can use the magical, mystical super-password to unlock it. Mark Guzdial

Uuuum...does it matter if the pictures/drawings that I insert into the powerpoint have nothing to do with the information on the page? Like can the pictures just be random and added in to get points or does it have to correlate with the presentation?
They should correlate in some way. Mark Guzdial

I'm having trouble animating the pictures - I have no problem animating words, but the pictures are not cooperating (and the instuctions on the lab are not any help). Thanks
Try the PowerPoint help. What exactly are you trying to animate? Mark Guzdial

try going to custom animation, then to add effect and going down to emphasize... if all else fails try the help key... that's what I had to do

i'm trying to turn in my lab, what is the "editor" window in JES and how am i supposed to use it??
The editor window is where you type in programs or look at programs(.py files) that have been opened. It is white. The command window is where you run programs it is black. Larry Olson


when i try to post my picture to the Summer 2004 HW1 post, a box pops up that asks for my username and password. What is my username and password?




Lab 4




Is it ok to use xhtml instead of html?
Yes you may as long as all the requirements are still met. Nicole Seekely

After all, html will be replaced by xhtml.

Is it also ok to use css?
Sure is!! Nicole Seekely

I'm having trouble uploading a digital picture to my website. Everytime I click "Attach" it asks me for a name and password. I'm using the GaTech server so I don't understand why it's not letting me do this. Please help!
Where are you trying to attach your picture to? CoWeb or to your prism account? And if through prism/acme, then what program are you using? Nicole Seekely

CoWeb
Okay, username is attach and password is carmen. It might be vice versa. Nicole Seekely

How do I make my background color something other than white?
When you have the body tag use bgcolor=#XXXXXX See the section on Tables in the Lab. Also, check out the link to W3C schools Larry Olson

Is the code on the instruction sheet wrong for creating a title b/c even the code posted doesn't work. Could you create your title in the body area?
You cannot create a "Title" in the body area. You can make some large text that serves as a title. If you think that the title code isnt working, then look at the very top left corner of your webbrowser (in the title bar) to see what it says. Larry Olson

the directions for posting on prism say that you should type in www.prism.gatech.edu/~gtg202r/Lab4.html to make your page come up. I just wanted to make sure this was right because I know a lot of my friends that have already made these don't have to type in the Lab4 part to make theirs work

No, you do not necessarily have to type the lab4 part. Just www.prism.gatech.edu/~gtXXXXX. If that doesnt bring it up though, then add the Lab4 part Larry Olson

how can i remove any files i have uploaded already?

If you are uploading on CoWeb, I don't think you have the ability to delete any uploaded files. It is okay to just leave them there, if you would like to replace an older version of a file with a newer one, then just upload it again and it will copy over it. If your website is on prism, then you should be able to just right click and delete the file. Nicole Seekely

I'm getting completely white space when I try and use my prism space, although the code seems to work when I try it in co-web... any suggestions on where to look?
Hmm, I'm not quite sure but if you leave your name or gtg number I can look for you. It may be that your chmod permissions are not set properly, but that would give you an error or access denied, not just white space. Nicole Seekely



This may be a really dumb question, but is there a way to look at our web page before we post it? I just want to see if things are actually working, and I am afraid to put it on the coweb since it says don't change it...
If you have saved the file as an html file, you can start a web browser then select "File" then "Open File...". After that, you can select your html file that you want to preview. You can go ahead and post on the coweb and make changes. We just dont want you making changes after the turnin time (5PM 6.25.2004) Larry Olson

my title is not working either...i also used code from the page, and i looked at the source from the page...i am doing it exactly the same except i don't have a doctype-would that have anything to do with it? i looked at the title bar and it says exactly what i have typed between the title tags.
If the title bar shows what you have typed between the title tags, then it is working. Larry Olson

i am getting an access denied message on prism even though I have replicated my settings for my folders, and the files related to my webpage, as in the instructions for WINSCP, any suggestions on how to fix it?
Where is your page located? Try accessing it as www.prism.gatech.edu/~gtXXXXX Larry Olson

ive tried to download the programs to upload to prism but when i try to do the first part 'Acme_ session" i can say yes but then i get an error message. "cannot import the specified file is not a registry script. you can only import regirsty files" help!
Try dling a fresh copy of WINSCP. If that doesnt work, OIT has a FAQ on how to upload to prism. If that doesnt work, then visit someone at OIT or one of the TAs. Larry Olson

I'm probably just being stupid/paranoid, but in the turnin section it said to not change our websites until an announcement. But if we put up our site already we can change it before the due date right?
You can change it anytime until it is due. Larry Olson

I loaded my webpage onto prism and it is viewable on internet explorer, but it has not been registering on netscape? Any ideas as to why?
Likely, your html isnt quite right. Point me or one of the other TA's to your page and we can have a look. Larry Olson

my images aren't working...i just keep getting little white boxes. I'm doing the code exactly like what's on the page...any ideas?
Have you uploaded your pictures to the Coweb? Larry Olson

Nicole, how did you do those cool stars on your page... Christine Dehn
The stars are actually just one large image. I used the paint tool in Adobe Photoshop and there are all sorts of different paint brushes you can pick so I just picked the star one and dragged it across the canvas. I don't know if you have Photoshop, but I think there are other free photoshop-like programs out there that probably do the same thing. http://www.prism.gatech.edu/~gtg550r Nicole Seekely

I have loaded my file saved as an html doc and all my pics to coweb, but it is just showing the text. Yesterday my computer would show me what the text would look like converted and now it won't. So my coweb looks like html text. Please help. Lindsey Sahutski

If i'm making a prism webpage how do I create additional "pages" that I can link to for other info. or pictures etc. Christine Dehn
You can do it the exact same way you did your first page. Just upload it in addition to your other page and then you should be able to link to it. Nicole Seekely

hmmm, my javascript for color changing script is changing the color of the text but it's also bulleting it for some reason... any ideas?
Post or e-mail your code so we can see what's goin on. Nicole Seekely

what is
" "
?
It adds in one space. Like hitting the space bar one time. Nicole Seekely

nevermind...:)

I'm all done with the requirements for this lab, but i would like to make my web page better as i have time so i can actually use it. I am just wondering how long we have to wait after the due date before we can start making changes...like how long do we give our TA to grade it, or can we just go ahead and change the one on prism? does that question make sense?
You can change it up until the due date and time which I believe is Friday at 5:00p.m.? After that, you will have to wait until the TA grades it, and the time that takes all depends on the TA. We are supposed to have them graded within a week of the date due. Nicole Seekely


I already uploaded to the coweb, but then i made the prism page so i went back to jes and added the link and resaved, but it's not showing up on my page-i did it exactly the same as my working links-do you know what's wrong?
I'm a little confused. If you went to JES and added the link and resaved, you still need to upload it again to update it - whether that be upload it to coweb or prism. Does that help or did you already do that? Nicole Seekely

I'd just like to say if anyone has questions about the pop-up section, this website is incredibly useful http://www.pageresource.com/jscript/jwinopen.htm Adair Schwartz

i already uploaded to the coweb...that's when the link wouldn't show up
Did you make sure that you closed the anchor tag? Did you make sure that there was some text in between the anchor tags? Could you point one of us towards your webpage if these are not the issues? Larry Olson

i didnt do LAB 1 at the begininng of the semester and we have to have our "whos who" page to upload our pictures onto, and now its too late to create my own page since the box at the bottom of the page is gone. what should i do? also, i live off campus so does that mean i need to get a username and password from someone?
If you go to the Who's Who page and click on edit that's at the top of the page, you should be able to add your name. Just type your name in between astericks in the appropriate spot and then click save. Once the page is refreshed it should have a create box next to your name which you can then create your page with. Nicole Seekely

ok now that i have a page, i guess i need a username and password, do you know how i get one. i live off campus, so i guess i am not on the server?
To attach things to the page is attach : carmen. Larry Olson


When I try to view the source of the page nothing happens, there is no html. Any suggestions to get it show on the screen? Thanks.
Must not be any actual HTML there. Make sure you've uploaded you HTML page. Larry Olson

once we are on our page, how do we get the "lock password" to be able to upload files into our page
You dont need the lock password. That is only for locking your page. As for the password to use to attach things to your page from off campus, see the above posts or the FAQ. Larry Olson

I uploaded all my pics to the coweb and they were saved in the same folder as the html, but they are not showing up. Any ideas?

Y'all it would probably be alot easier and quicker for you if you posted your name so we could go check your specific html instead of guessing at the problem. But, have you made sure the filenames in your webpage match the image file names. If there are spaces in your filename, they should be represented by a "%". Nicole Seekely

I loaded my page to coweb and it worked fine, but I'm not able to make it work on prism. I followed the directions from OIT and I set all of my Properties to what they should be. Do you know any other reason it wouldn't work for me? my gtg is gtg683h Natalie Cook
Some of the permissions must still be wrong. Try to see what they are or visit OIT tomorrow morning after class and point them towards your page. Larry Olson

Uploaded all my pics again and now it has the pics and then the html at the bottom, but no pics on the web page. Please take a look. thanks Lindsey Sahutski gtg213b
Double check your img tags. None of them appear to be quite right. If you are curious about proper tags, wander around and look at other student's webpages. Then view the source of those pages. Larry Olson

larry, thank you for your help and patience. It is much appreciated. linds sahutski

When I try to load my webpage onto the CoWeb and then look at it, it tells me that access is restricted. What does this mean?





Lab 5






For the Motion Above and Motion Below Cells, it doesn't say whether we need to format the cells to reflect 2 decimal places or not. Is it okay if we go ahead and do that so that it looks like the rest of the cells that we formatted to 2 decimal places?
Yep. You can do it for the sake of being neat. Larry Olson

i cannot get ExcelLab to run through JES...it says that it cannot read the outputFileLocation because it does not exsist.
You probably need to change the location that the file is being written to to reflect someplace on your computer. Larry Olson

So when we submit the files, do we attach ExcelLab.py and StockInfo.xls to lab 5? In the JES portion turnin instructions, it says name it ExcelCode? What is the difference between that and ExcelLab.py?
If you attempted the bonus portion of the Lab, then you will submit ExcelCode.py . The difference between ExcelLab.py and ExcelCode.py is that you have modified ExcelCode.py. Otherwise, you will just turnin your Excel spreadsheet. Larry Olson

I'm really having trouble running ExcelLab() through JES. It keeps giving me a ouputFileLocation does not exist. I tried putting a folder name in the place of it but it still gave me the same response. What's going on? What do I do?

I had this same problem on the last homework after having written the code on another computer, the only way I could figure out how to make it work was to make a new folder directly on the C:\ (go to my computer, c:\, and then create a new folder). In my code line it looks like this : r"C:\\linksfolder\\DisneyPrices.txt" i've tried copying and pasting stuff but that didn't work, so I had to type that in. Also note that that's where you have to go to find your stuff now. Christine Dehn


I'm having problems with the adding error bars part. I click on custom and then I go to the button on the right side of the imput space (there is no left button), but then I just get a tiny window with a cursor that blinks... I've tried typing in column g, and just g, but it won't take that in as imput... what could be going wrong?
What version of Excel are you using? Larry Olson

when I go to save my excel stuff, it asks me if I want to save it because some of the formatting will be changed (i.e. tab deliminater)... what should I do?
Go ahead and save it, just besure to save it as a .xls (excel) file. Also, you may want to try to open your excel file on some other computer (perhaps in the library) to make sure that everything you have done is as you expect it. Larry Olson

I'm not really sure how to tell what version i'm using... it'd be with whatever came with my windows XP package and student Office
If you start Excel and wander around in the various menus, you should eventually come across something that says "about Excel" or something to that effect, the version is in there. Alternately, some versions of office are labeled with what they are in the start menu. So excel might be in a folder called office2000 or office97. Larry Olson

I am having the same problem as above, concerning outputFileLocation. I did what Christine said, but it still will not work. ANy other suggestions?
Make sure that you arent using the exact file location I had in the code you downloaded. Change this outputFileLocation = "C:\\college\\DisneyPrices.txt" To refer to someplace on your computer. Also, make sure you are connected to the internet. Larry Olson

My XP Package doesnt have Excel, any way to do this with the Works spreadsheet?
Head to the library, Excel is required for this. Larry Olson

I've been trying to turn in my lab 5. My TA is Jason Fletcher. Neither my or anyone else's assignment is showing up.
I will look into it. Larry Olson
UPDATE Try it now, it should be good Larry Olson

I've got excel 2002. Maybe I should work it again in the library instead?
All the commands should be there in any version of Excel. However, yes, if you are having issues, maybe it would be good to work in the library. Larry Olson

About turning in the assignment - After you copy, paste, and run the code given in JES, you are supposed to save that as ExcelCode.py, correct? You only name the bonus attempts as ExcelLab.py, right?
You should have downloaded the file ExcelCode.py when you first started the lab (that way it is already saved on your computer as ExcelCode.py). After that, you would then change it to ExcelLab.py if you wanted to turn it in for bonus. Also, if you are doing just the Excel stuff and not attempting the bonus, then do not even bother attaching ExcelCode.py or ExcelLab.py to your turnin. Larry Olson

I've got Excel 2003. Would that make the file too big to turn in the file through JES?
Excel 2003 should be fine with regards to file size. Larry Olson

I tried using the computers in the library too, I think I've done something wrong. Should all my points look like a straight line (vertical and very close to each other?) and should I actually see a trend line ( i thought perhaps not since my points were so close togehter?)... maybe these things have something to do with me not being able to do the error bars?
Your points should look like a semi wavy line. They should be horizontal. You should see a trendline. Unless your points are amazingly close together. These should be independent of error bars. Larry Olson

I fixed it... my original graph was wrong...
Ah well, thats good =) Larry Olson

how are we supposed to just turn in the Excel file from JES? It doesn't make sense just to turnin an .xls file without having a .py file to attach it to...

I don't think you've read all the instructions. You were supposed to manipulated the ExcelCode.py file and then you turn that along with your Excel file in. Better double-check that! Nicole Seekely
You could open up almost any random file in JES and turn that in to make the excel turnin actually work. Larry Olson

I am having a problem running ExcelLab in jes it keeps saying a local or gobal name could not be found. you need to define the function or variable before you try to use it in any way. It highlighted the line about webpageConnection = urllib.urlop(webpageLocation)
any suggestions?
Crissy
Looks to me like you miscopied. Look at the line "urllib.urlop" ... what is "urlop" ??? Seems that urlopen would make more senese ... Larry Olson
If that was just a fat fingering and it really was urlopen, it could be because your import urllib line got cut off at the top -Blake O'Hare

See what I wrote earlier and try that... Christine Dehn

ok so the motion below the the close should be ABS(close -min) right? then why have you guys written moiton below is similar to motion above? should I write hte same formula as motion above or it should be close -min
No thats right. The reason we say it is similar is because you are only changing one value, namely high becomes low. Larry Olson

i have been trying to run ExcelLab() for an hour now and it wont run.....i changed my file location but i'm getting an AttributeError:_getitem_....It says " you are trying to access a part of the object that doesn't exist" can someone please help me. all i did was copy the code in and change my file outputFileLocation.
Send me your code, set your JES to expert mode (that can be done from the options), and then run your code to get the error message and send me the error message in the email as well. Larry Olson

for the percnetages do you want the percnet(%)sign to display along with two decimal places or you just want it to be like .01, 1.00,.09 etc
It should display an actual percentage ( 2.10%) or something like that.) Larry Olson


I'm having the same problem with the AttributeError:_getitem on the line webpageConnection=urllib.urlopen(webpageLocation)
Sounds like you should send your code to a TA so they could look at it Lauren Walker

Well i read the procedures for lab5 but i'm still confused. I copied the code onto JES, but when i tried to run it i had an error message:IOError: File not found. Do we have to replace"outputfilelocation" by some file??
Outputfilelocations should be changed to a location on your computer. Kelly Lyons

I need something clarified regarding the Percent Change part of the Excel file ... can we assume that the I2 cell will be blank since Percent Change should be applied to the current day which would be I3 for the first two cells involved with the equation (E3-E2)/E2 ?



Link to this Page