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


This page removed for FERPA compliance
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Fall 2004 Questions on Labs

Ask questions on labs here!


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


Lab 1



Hey. Is there any way to modify my personal page on the "who's who" part of coweb? I've already created it, but I just wanted to add some information. Thanks.

Go to the page, and then use the "edit" button in the red menu bar. Student1951

For the first part of the lab... when it says email ur "turnin" from your GT PRISM account, is that the same thing as the gtg056x@mail.gatech.edu, email address.

"Turnin" isn't what you're supposed to mail; we want you to "turn in" the assignment by sending an email. You're right that it should by sent from your GT address, e.g. gtXXXXX@mail.gatech.edu or gtXXXXX@prism.gatech.edu (whichever OIT told you when it issued you the account). Student1951

When I click on the Who's Who-Fall 2004 page there is no box at the bottom of the page to type into. Any help would be greatly appreciated!

It's fixed now. Student1951

if you don't have a personal computer can you still complete the security portion of the lab?

You can follow the instructions listed for if your computer does not have a virus, or use a computer in the library, student center, or other computer lab on campus. Also, just to give you a heads up, this class may be more difficult and time consuming if you do not have a personal computer. Student1594

Since 2001, all students are required to own a computer. See http://www.sco.gatech.edu/ Student2243

I don't see the "options" button on the webmail site to complete the email turn-in section without having an email client. Any help?
After signing in to webmail, there's a taskbar at the top of the screen that begins with Inbox. Options is the 4th one over inbetween folders and search. Student1594

I do not have a box at the bottom of my screen to type in my name. I thought it was fixed, what should I do?
Try using the edit button and add your name that way Student1594

Just to clarify...If you are confused as to how to add your name to the Who's Who page, scroll down to the bottom of the Who's Who page and look for a text box, like the one at the bottom of this page. Type in your name surrounded by astericks and click the "add to this page" button. Then look on the newly updated Who's Who page for your name and a "create this page" link. Click on the link and you will be taken to your new page, complete with a new text box for you to type in. Lauren Walker


i am trying to post for number 7 on the assignment. favorite movie, your name, and your GT number. i clicked the link and i dont know where to go from there... do i click edit? when i do that, everyone's info comes up. am i just supposed to add mine to the list? AHHHHH

There is supposed to be an add to this page box at the bottom of the Who's Who page where you add your name surrounded by asterics. Currently, that box is mysteriously missing, so you can click on edit, and a text bos will come up. Scroll to the bottom and add your name surrounded by asterics to the page, and click save (without clicking the lock box) Then it will go back to the page, and you can scroll down to your name and click on the create page button where you can create and edit your page. Student1594

will we get a response to our email if we sent it correctly and/or to verify the delivery?
There is no response sent after you send your email. If you sent it to the correct address, you can safely assume that it was sent, and your email program should save a copy of what you sent so you can verify it went to the right place. Student1594

After I clicked the edit button at the "Who's Who" page, typed my name between astericks, and clicked save, it took me back to the top of the page and asked me to enter the "lock password." I don't know what the password is. What should I do?
This happened becuase someone locked the page. I just checked and it is no longer locked. You should be able to edit the page now to add your name. And as a reminder, DO NOT lock the page when you add your name. Student1594

The add to this page box has been fixed on the Who's Who page, so you no longer need to edit the page to add your name. Simply add your name in the add to this page box and add it. Student1594


How do i configure Zone Labs Integrity Desktop after i haven downloaded Zonealarm?? (Lab 1 Part 2)

the page is locked again and I can't create a page for myself, can someone please unlock it, thanks

The page has been locked to prevent people from accidentally deleting other people's pages. An add to this page box has been added so that you can simply add your name to the add to this page box, and then click the button, and you will not need to edit the page. Student1594

What is the password to unlock the page? Or can someone unlock it again?
The page has been locked by the professor, and as such, the password is not public. See the answer to the above question as to how to complete the asignment. Sorry for any confusion. Student1594


Student2117

Sherezad Rehmann

I posted my name and movie on the fall 2004 lab post, but it's not there anymore. anybody know what's happening?

It was probably accidentally deleted. Try reposting it. Student1594

When I sent my email to cc.gatech.edu, I wrote that I wasn't using an email client. Is that okay? Should I get one?
You don't really need one, but webmail is a pain to use as a primary email source. It would probably be a good idea to at least try one out. Student1594

My computer isn't working. And, I'm not sure if it ever really will for at least the next few weeks until I can go home and exchange it for a new one... SO stuff for personal computers I can't really do, if it's not working, like download software. What should I do about this? Sorry, I know tha'ts a pain!
Any software you need for this class can be found in at least one computer terminal on campus. Try the library, or French cluster, or student center. Student1594



Lab 2



Do you have to have internet service to install JES?
Not if you're installing from the CD. If you're installing from the website, then you need internet service. Student56

where can we get help with this in real life? i mean like a help desk. or should i use office hours with someone?
Look at the TA Contact Info REMOVED and go to their office hours. Your TAs are here to help you! :) Student1919

How do I find out who my TA is? Nothing's listed on the "TA-Student Pairings" page.
We're still working on the TA list and matchups to students. We'll make an announcement once the matchups have been made. Until then, you may go to or contact any TA that's on the TA Contact Info page. Student56

When I try to turnin my lab, I get an error message that reads "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 have checked JES's settings, and they are correct. Every time I resubmit, I get the same message. Help?
This is because the TA-Student pairing haven't been made yet. We're still working on the matchups. We'll make an announcement once the matchups have been made. Student56

On part b of this lab, what does step 9 mean? On the new page, Insert the picture you wrote out(using writePictureTo()) from part A of this lab. Do you simply want the path to what picture we used? Student1899

On the above question...i figured it out. Thanks though. Student1899

Well, for anyone with the same question, who maybe hasn't figured it out. You are supposed to paste the actual picture that you saved to your computer with the writePictureTo() function, so there should be a picture in your word file when you turn it in. Student1594

On the above question...I can't find the file that I modified on part 1 of Lab 2!! When I loaded the writePictureTo() part it said that it was ok, but now I can't find it. It is loaded to D:\MediaSources\bride.jpg. Please help. Student1869

Also, I tried typing in the writePictureTo() exactly as it was posted on the Lab 2 instructions, but it said that there was an error in the path that I named. Student1869

If you got a path error and you are sure that you typed in the path correctly, you may want to make sure the directory actually exists. Try copying "C:\JES\mediasources\" into the address bar of your internet explorer. Does it work? If not, make sure you have correctly copied your mediasources directory from the CD.
Student549

on lab2b.. using word. the file that is downloaded is called. lab3.doc, and when you open it, at the top it says lab4.. did i download the wrong thing? and when we run spell check, are we supposed to correct everything.. or just run it. that sounds like a dumb question.. but yeah
It should say lab 3, you have the right file. And yes, correct everything that spell check catches. Student549

when I go to type in the command example1() and example 2() the message 'A local or global name could not be found. You need to define the function or variable before you try to use it in any way' comes up. Why is this happening and how do I fix it?

If you have copied the code into the recipe area? And if you have, did you hit the load button? Student549

on lab 2a, I can't get the recipe to load. I put all the commands in there just like it says on the lab2 page, but when I hit load, nothing happens. I've made sure it's already saved as lab2a.py, but pressing load still doesn't do anything. is there something I'm supposed to do AFTER I save and press load? thanks

Loading simply alerts JES that the information is there for it's use. If you actually want the function to run, you must then go to the command area and type in the function, i.e. example1() or whatever your function is that you want to run, and then hit enter, and it should run that function, or provide you with any errors that may exist while running it. Student1594

I can't turn the lab in. There is not the option to turn in lab 2.
Student2029
When you go to Turnin->Assignment a window should pop up. On the top of the page it says "Assignment to submit". There's a drop down box that lets you pick the assignment to turn in. Student56
My problem is that I don't have anything in the "Assignment to submit" menu.Student2029

When I was doing the lab, everything worked fine (i.e. pictures did what they were supposed to). But now that I have completed it, including the questions, when I type "example1()" or "example2()" into the command area, I get an error message regarding local/global names. Is that because of everything now in the program area, or have I screwed something up?

That depends. I would have to look at your code. First check your spacing to make sure that everything is indented properly, and then check where you added your answeres to question 1 and question 2. Have you commented those out? If not, add a # in front of every line in your answer and try to run it again. Student1594

When I try to turnin my lab, I get an error message that reads "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. Error: file not found (Access Denied)" I saved everything and everything came up like it was supposed to but now it won't accept my assignment. the TA-student pairings are up now so why is this not working?
gt# please. Student56

What CD is lab 2a talking about?


Just to make it more clear, what cd is lab 2a talking about when refering to the cd that has all of the pictures and images for this course??
The CD in the back of your book. Student1951

I get this error message when attempting to apply the command in step 5 for lab2a: An attempt was made to call a function with a parameter of an invalid type. This means that you did something such as trying to pass a string to a method that is expecting an integer.
I dont understand bc the picture I chose appeared and changed as described. Help?! thanks
Student1973

When I try to turnin my lab, I get an error message that reads "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've tried repeadedly, with no luck. I have my TA assignment and so I know that's not it. Annie Ramirez - gt# gtg140y. Advice?

After I go to the Turnin menu and Assignment and the window pops up, the pull down menu under Assignment to Submit doesn't have anything other than "Assignments" written there. I am registered, and I am connected to the internet. I've tried reinstalling from the CD and the website. I've also tried disabling my firewall. Nothing seems to work. I'd appreciate it if I could get some help with this. Thanks! Rabeel Saleh gtg221u

I dont understand exactly what this means because I cant find it in the book: newColor = makeColor( redValue, 0, 255 - redValue)
Student1973

My CD was broken in 2 so i down loaded the JES from the website. Where would I find the media sorces file so that I use it for the lab
Jennifer Rogers
Look here: Course Software (JES) Student56

My turnin is ALSO having the same problem as everyone else - "An unexpected error..."
My internet is on and I know I typed "gtg551y" for my student number. I have been paired with my TA and I know I am also selecting "Lab 2" to turn in. Please help!

-Nicole Fay gtg551y

Greg Leo said to correct EVERYTHING spell check caught, but do you mean to change things to what spell chech suggests or like ignore some of the things? A lot of it is "computer speak" and like the longo of the business so should we really change EVERYHTING?

Student2054 gtg534w
spell check the words... Student1919
i.e. If spellcheck says something is misspelled that really isn't, such as the name of a programming language, don't change it's spelling,hit ignore. Student1594

Deadline is midnight on Friday for Lab 2, right?
Student1185
5 pm is the deadline Student1919

when i try to paste 'barbara's' picture into jes, it states " unable to locate suitable java runtime environment on this machine".. ive dont everything in the lab except the picture part. what does that mean?



Lab 3



I started to look at Lab 3, but have run into a big problem: I don't
have power point on my computer. I'm using windows 2000. Should I have it or do I need to buy it? If I do need to buy it, where's the best place to get it?

Thanks,
Stephanie Saltzman
gtg293y
An office package is required as part of your GT Computer Ownership agreement. If you don't feel like you need it, then just go to the library or use a friend's computer. If you want to buy it, then the GT Bookstore should have it for the students price (which is a lot cheaper than getting it somewhere else at retail price). Student56

I have PowerPoint 2003 but I can't seem to animate the pictures in my slide show. I've tried following the directions in the Lab 3 assignment but I don't have the Animation Settings option in neither Tools nor Slide Show.
gtg146x

The menus and animation controls in PowerPoint 2003 are a little different than in previous versions. The lab assignment has been updated with instructions for using PowerPoint 2003. Student1951

Sorry, I just have a really annoying question. If a lab is due on a certain day, at what time of the day will the lab be due? For example, lab 3 is due on Monday, but at what time?

5 PM for the section A, and 12 midnight for section B for lab 3 ONLY. In the future, there is a 7 PM deadline for everyone on all asignments. Student1594

Hey, I have been trying to look for drawings in powerpoint. The directions said that drawing tool bars allow you to use shapes to draw, but I can't find any shapes in powerpoint. Why?
If you right click on the bar that has the print, new sheet, etc. (the one with all the little icons) and make sure that "drawing" is checked. if it is not checked, check it. A tool bar should come up somewhere. Check everywhere. It may come up at the bottom of the screen. Student1919

When will our grades be up on WebWork? Thanks! Student558
Your grade will be on webwork when your TA grades your asignment and posts it. Not all TAs grade at the same time, so your grade may show up soon after you turn in your assignment, or it may take some time. With the exception of the first two assignments which may be graded late because the TAs didn't know who their students were until recently, you should expect a grade no more than 2 weeks after your asignment is turned in, and if at that point, you still do not have one, you should contact your TA about the issue. Student1594

I have the office package but for some reason it didn't include Microsoft Word or Power Point. It included Microsoft Works Word Processor. I will get the others, but for lab 3, if we use a friends computer how do you want us to turn it in since our Jes isn't on their computer?Student2117
You can either install JES on your friends computer, or use the instructions at the end of lab2 for how to attach your submission directly to the turnin page. Student1594

Am I lost? I didn't realize Lab 3 HAD sections A and B. What are they?

Lab 3 didn't have sections. There are two sections of the class. Section A meets at 9 AM, section B meets at 4 PM. Student1594



Lab 4



"FIRST AND FOREMOST, YOU MUST PUBLISH YOUR PAGE ON THE COWEB EVEN IF YOU ARE PUBLISHING IT TO PRISM AS WELL FOR BONUS. JUST LINK TO THE PRISM SITE FROM THE COWEB ONE."

ok i do not fully understand this. I have my site and pictures uploaded and fully working on my PRISM site and i have a link to my prism site in my coweb. Do i have to upload my html file and all my images to my coweb page as well? or can i just put a link to my prism site. thanks




When is the lab due?????

Look on the Syllabus

"1 clickable image link which leads to another site." –if my image link sends you to the full-sized image (filename.jpg), will that fulfill this requirement or does it have to be to an actual website?

No. It has to be an actual website. Student56

I just want to make sure I'm on the right page: so, do we just type all of our html into jes? And then to check on our progress, do we just copy & paste it into the edit section on our Who's Who page?
you can type it into JES, but I would use notepad or wordpad to write out your HTML. You will save the page as an html file and attach it to the coweb. Got it?! read the lab directions for more detailed info. :) Student1919

Can the image link pic be a saved pic from a website, or does it also have to be a personal/ scanned photo?
Either. Student1919

Can we post to both coweb and prism just in case prism doesn't work for some reason?

Never mind, I read the requirements

I posted my page on the prism site, but my pictures won't show up on my webpage even though they are in the file public_html..how do i fix that?

Make sure that your pics are labeled correctly in the HTML. If I recall correctly, the names are case sensitive, so you may want to check that out. Student1919


i'm trying to post my webopage to coweb, but my pictures won't show up. i followed the directions but i'm seeing white boxes containing a red x wherever a picture is supposed to be. Am I doing something wrong? please help! Student1861

Don't have spaces in your image files and it will make it a lot easier.

can the image that we have to the link be a .bmp file? If not, how do we change it to a jpg

HTML only works with jpg and gif image files.
And png, but for the most part, you're right. It's actually the browser that limits the file types, not HTML itself. Mark Guzdial


can we get extra credit for good asethetics?
Nice idea, but I don't know how to write the grading criteria for that so that it's fair and objective. Mark Guzdial

how do you center text
<center> and </center> Mark Guzdial


here is my anchor tag, (I know that there should be thebefore href, but if i put it, it might actually create a link) but when I click onit, I get the message that the web page cannot be found. What do I do? href = "www.gatech.edu.html">GT

The web address should be "http://www.gatech.edu"
Always remember the http:// before each web address link. If you don't have that browser will look for the page on the current site, which it won't find.

Also, the .html is a file extension for an html file. Therefore you don't need to put it at the end of every address, just the addresses that end with the html file.


Ok, this may sound dumb & the answer may be completely obvious, but is our webpage our coweb page w/all requirements, or is there supposed to be a link on our coweb page that goes to our webpage?

haha, never mind the previous question; i momentarily forgot how to read

i'm having problems with the image link to: i just want to use a pick from media sources; here's my tag: <a href = http://www.gatech.edu/><img src = “flower1.jpg” width=10%></a>
First, check FAQ on how to ask questions about HTML. Second, if you don't have a complete URL for your src=, you have to have the file uploaded to the same place as your HMTL file. Mark Guzdial

haha, i don't know why i thought that tag was going to show up...it's html; i'm a ding-dong
You have a chocolate cap and creamy filling? :-) Mark Guzdial

why do people always ask when this assignments are due? i don't understand
Me neither :-). Mark Guzdial

is there anyone out there to help us
Deep question – are you asking theologically, metaphysically, or philosophically? Mark Guzdial
I'm at office hours and no one is visiting me!!! Student1919

hey i tried to upload my page onto CoWeb, but I have forgotten my password from when I set it a long time ago. Is there anyway I can get the password cleared? Who do I email>
Yes – email any TA or instructor or me. Mark Guzdial

So where is the digital picture we scan in supposed to end up? On the page that will have the link to our webpage or on our webpage?
On the page that you upload. Mark Guzdial

How can we edit our webpage once we've uploaded it? When I click on my lab4 link at the bottom of my coweb page - it takes me to my webpage but it doesn't have the options at the top to edit it. Does it have to be removed & then re-uploaded?
Just re-upload – the link will always go to the latest version. Mark Guzdial

How do we make sure our digital pic ends up on the same page? When we upload our html file, the link appears on our coweb page, so won't the pic just end up on our coweb page along with the link & not appear on the newly created webpage?
Then just copy-paste the URL. Mark Guzdial

I uploaded my pictures onto the coweb and for some reason one of pics is showing up but the other two have the little red x in the space for the pic, i thought maybe i didnt upload it correctly and so i did it again, and still i have two pics missing. what can i do to make my other two pics show up?
REMOVED red X means that it's not viewable. Be sure not to have spaces or underscores in your file names! Mark Guzdial (Y'know, if you sign your postings here, we can check your pages and see what's going on.)

My pictures do upload, but I can't figure out how to get the digital pic to show up on my new webpage - it's just on my original coweb page (w/name & info, etc. from lab1)
If it's showing up anywhere on the Web, you can get its URL so that you can put it in your webpage. Try right-clicking on the image then view the properties so that you copy out the URL. Mark Guzdial

If you didn't collaborate with anyone, do you still have to say that you didn't in the webpage?
Nope. Mark Guzdial

I can now see my pictures that are uploaded directly to the page, but when I go to my webpage I am still seeing the little red x in the white box. I'm not sure what else could be wrong. Help! Student1861

never mind I figured out the problem Student1861

Im trying to make a popup and it just puts my pop up image on my page so it doesnt actually "pop-up". The instructions say to use our own web address to fill in the sample one? Do we make this address up? i.e www.mypuppy.com or something?

For my title I have:

<head>
<title>Web REMOVED</title>
</head>
and nothing shows up...what did I do wrong?
It should show up on the top left of your browser. Title is NOT the title of the page. It will not show up on the page. Student56

It won't even let me post the problem so nevermind
REad the FAQ on how to post HTML questions. The title shows up in the title of the WINDOW – nothing on the page. Mark Guzdial


On our Who's Who REMOVED, should the other pictures that we uploaded still be there... or should the link to the webpage be the only thing? (Of course, in addition to what we did to Who's Who for Lab 1...) Kari Cansler
It's okay to leave the pictures on the Who's Who page, but you can also delete them from the Who's Who page content (they'll still be uploaded and will still work on your HTML page). Mark Guzdial

I have uploaded my site through the prism account, but I am unclear whether I need to upload again to coweb for credit. Right now I just have a link from coweb to my prism site...could someone please clarify? thanks! http://coweb.cc.gatech.edu/cs1315/2149
That's fine. Mark Guzdial

Well i know this question was answered, but i still can't view my picture when i upload it. So, what does it mean make sure there is no underscores?
Look at the filename that you uploaded. Any spaces in it? "_" underscore characters? Perhaps sign your note so that we can look at your page and help you? Mark Guzdial

how do u link the prism website on the coweb one?
("u" is not "you" – English, please.) Click the Help button in the upper right. Basically, *http://www.cnn.com* will you give you a link to a website. Mark Guzdial

my hexadecimal colors just aren't cooperating!! I think the chart was wrong or I'm completely being silly; i'll try to get a nice sky blue and instead i get a puky green! :( please help!
Try going to this page: http://www.w3schools.com/html/html_colors.asp it may help! Student1919

and is there a way to comment out lines on html?
Yes. <!– comment goes here –> Student56

what are the differeces between alink, vlink and normal links?
alink is active link; vlink is visited link and link is just a generic link; vlink is when you've already visited the link. Most people just manipulate the colors. alink is what happens when you roll over the link.

how do you go about contacting the system administrator? my page is locked for some reason and i can't upload anything.
e-mail a TA. BUT, if you're getting a username/password prompt while you're trying to attach things to the page, the username is attach and the password is carmen. Student1919

my tool bar does not have an info button (uploading into prism). how can i set my permissions if this button does not show up?
I don't understand exactly why you need an info button? Maybe IM or go to a TA's office hours and explain more clearly. What tool bar are you talking about? in what program? Be a little more specific please! Student1919


How do you add color to the background of your webpage?
This page gives you a nice chance to see how to work with your background. http://www.w3schools.com/html/tryit.asp?filename=tryhtml_bodybgcol Student1919

nevermind the color question, I got it down pat: for others that need this you type in bgcolor="color" after body e.g.


can we get up to 10 pts extra credit (by doing both java thing and prism) or can we only get a maximum of 5 pts extra credit?
Max of 10 pts extra credit. Student56

I'm making my page about something, not just myself...will the TA's be picky if the paragraph about myself is not exactly about me but still an intersting paragraph?
Make sure that your webpage includes EVERYTHING we tell you to do in the lab assignment. You can add extra paragraphs, but be sure the info we request is there! Student1919

on my coweb, I have everything attached and seems to be working great. if you click on lab4.html it takes you to my page and when you click on my picture, it takes you to my picture page("pictures.html"). only problem is, the last picture doesn't show up although it is attached to the coweb and shows up on the main page. the other funny thing is, when you click on "pictures.html" by itself, this last picture shows up, but not when you link to it from lab4.html by clicking on my picture. does this make sense? maybe you could check it out on my coweb, last name beacham, also, it works on prism. i don't know what the deal is, thanks for your help
Maybe a link to your page will help us understand what your problem is. Student56

Does the title in the upper left of the website have to be your gt#? and name? or on the webpage itself?
If the instructions doesn't specify, you can make it anything you like. Student56

How do you make your page www.prism.gatech.edu/~gte375v instead of
www.prism.gatech.edu/~gte375v/Lab4.html??
Upload your webpage as "index.html" Student549

i tried to do the pop up and it did not work ......... the picture went to my page and no pop up ....... I dont know what i did wrong. If someone can help i would appreciate it.
You may want to take it to a Ta's office hours. Student549

I have a primary webpage and a secondary webpage. I made a change to the secondary webpage and uploaded it again. if I veiw it by itself the change shows up. If I view the webpage by going to the primary one first and then clicking on the link it still goes to the older version. How do I get it to connect to the newest version? Student1857
Every time you upload to the coweb, files with the same filenames are given a number. Your first might be "Lab4.html", If you upload it again, the coweb will save it as "Lab4.1.html" and so on... "Lab4.2.html","Lab4.3.html"... Change the link in your primary page to link to the newest version. The trick will just be to see what the latest version is. If you click the attach button like you normally would to upload your html file, you will see a list of files under "Attachments to this REMOVED" click on the one that says Lab4.html, note the url on the top of your browser. It will say something like http://coweb.cc.gatech.edu:8888/uploads/cs1315/####/Lab4.#.html. Note that last part (Lab4.#.html) and then change the link in your primary page to whatever that is. Student549


I cannot figure out why my pictures are not showing up, there are not spaces or underscores in the name, and if you click on the white box it works as a link; also, I followed the directions exactly to make a pop-up but that doesn't work either. can you look at it and help me please? Student2156

I figured out the pictures but I still can't get the popup to work, help please Student2156
I don't see the code. Email me if you still need help with that. Student56

Also, I was looking at the Usage Policies, is it okay for me to use the logo that I did?Student2156
It's fine as long as it's not copyrighted. Student56

Is there a reason my code isn't working correctly? I can;t figure it out



You need a semicolon after PopUp(); and you need to watch how you use your quotes ("). Student56

can we use "unofficial" images of buzz on our web site?
Sure. If it's not copyrighted Student56

where do we put who we worked with
Somewhere on your webpage Student56

I can't make my table work. If someone would look at my site, I'd appreciate any suggestions. ~carol lynne iversen
Looks like it's working now. Student56

What is the password to attatch files (mainly the pictures that i'm supposed to have in my website,) to get in???!!! its not attatch and carmen anymore? Pleease help, my TA is not replying to my emails.

I'm trying to post my page onto prism. I downloaded the WinSCP3 Software, and I'm clicking on acme, typing in my gtg # and password, but it continues to say "host does not exist"? Could someone help me figure out the problem?
Your host is acme.gatech.edu. Email a TA if you still have a problem Student56

ok, so its just my computer that is messing up because it won't accept attach and carmen as the username and password.. what could be wrong??
Make sure you don't have your cap lock on. It's cap sensative Student56

for the GTnum part, do we pput the numerical gt number or our gtg#?
User your acme/mail ID for your GTnum. Folks, TAs and instructors are not required to be answering questions all through the night the day that the assignment is due! The username/password for attaching hasn't changed. For help on extra credit (e.g., Prism uploads, JavaScript pop-ups), take it to office hours, please. Every time you upload a new version of any file to CoWeb, it creates a new filename/URL with another number. Right click on the file in the list on the Attach page to see the new URL. Mark Guzdial

On the CoWeb I have uploaded my pics and my website. Are the pictures supposed to be showing on my CoWeb site? If not what do I do or where to I put them?
Yes, if you uploaded them right. Why not sign your message so that we can check your page, or get help via email? Mark Guzdial

I can't remember my password for coweb, can computer assistance email it to me?? I need it to upload the pictures......help gtg886x
Look on the FAQ page. Student56

What are we to do if we live off campus, in regards to posting our webpage to the prism account. I downloaded the two files from OIT but there's an error coming up about not being able to import the file ... "The file is not a registry scipt. You can import only registry files"

What's the user name & password to attach files to our Who's Who page? I am off campus. gtg075e.

Never mind I got it. gtg075e
Use username:attach
password:carmen


For those who are having trouble that their HTML looks fine on their computer but won't work on CoWeb: Be sure that the CASE of your filenames MATCH EXACTLY. On the Web, picture.jpg is NOT the same as picture.JPG. Me.jpg is not the same as me.jpg. The case of the characters in the filename must match between what you uploaded to the Attach page and what's referenced in the image tags of your HTML. (Someone just came by with this problem.) Mark Guzdial

If you lock your page and forget the password, any of the TAs can unlock it for you. Mark Guzdial


Is this ok? Or do I need to attach my html file directly to CoWeb?
http://coweb.cc.gatech.edu/cs1315/2095
John BraREMOVEDr

you need to attach the file directly on the coweb. Student56



Lab 5



ExcelCode part: since the while loops are nested, will it take extra long to execute? because mine is...although it's also taking entirely too long even when all i change is rfind...
Since the idea is to make nested while loops that do the same thing as the code that is already there, then it should not take a significant amount of time longer. If it's taking a lot longer, then there's most likely a mistake in your code. Student1594



Do we have to personalize the output file line so that it will write to a file on our computer locally? The output file line is on line 28.
Yes, it must write to a place on your computer so that you can open it in excel and edit it in the excel portion of the lab Student1594
Rember to specify the output location using getMediaPath() to make grading easier for the TAs

Jonny



When I try to run the ExcelLab() program in Jes, i get this error message:

>>> ExcelLab()
I tried to read a file, and couldn't. Are you sure that file exists? If it does exist, did you specify the correct directory/folder?
in file C:\WINDOWS\Desktop\JES\ExcelCode.py.txt, on line 22, in function ExcelLab
in file C:\WINDOWS\Desktop\JES\ExcelCode.py.txt, on line 33, in function breakdownYahooPrices
IOError: File not found - C:\college\DisneyPrices.txt (The system cannot find the path specified)
Please check line 33 of C:\WINDOWS\Desktop\JES\ExcelCode.py.txt

kinda confused...

On line 33 of your program, you're referencing the file DisneyPrices.txt, but it's not there. So, either you reference the right file, or you put DisneyPrices.txt there. Mark Guzdial


I keep trying to open Excelcode.py & it won't work - even when I save target as; I try to open it & nothing happens.

never mind that, I'm a ding dong

When I import the text file into Excel, it shows a webpage instead of the information in the format shown in the instructions. What is going on, and how do I correct it?
You can just delete the webpage file you created and start over opening the .txt file in Excel. Make sure to follow the instructions very closely to get the desired result. Student1594

I got the same error message regarding the file not being found (5 entries above). I don't get what it is you told that person to reference &/or where the DisneyPrices.txt is supposed to be in that line.
Did you change the output file so that it was a file that actually exists on your computer? You need to have a file called disneyprices.txt saved in the loaction on your computer that you are asking the program to write to in order for it to find the file. Student117

I'm having difficulties with two of the Excel Portions. I can't get the Excel program to copy the ABS function into multiple cells nor can I get the copied function to modify itself to the cell #.
Try this. Select the first cell (the one with the formula) along with the rest of the cells. Then hit CTRL + D. It should copy the entire formula down. Let me know if it doesn't work. Student56

And the Error Bars Portion... I try to customize it, but I always get a message saying that the formula I've entered is wrong.

In case the type of Excel program would affect this... I'm using Microsoft Office Excel 2003.
Most likely you entered the formula wrong according to how Office 2003 expects it. Try looking at the help menu in Excel to see how you should be formatting it. Also, if you would rather, the computers in the library should have the same version of Excel that the lab was written with and so you should be more able to follow the instructions exactly if you do your asignment there. If you are still having trouble, try going to see a TA at office hours where they can help you with more specific problems Student1594

After we sort the information so that it isn't backwards anymore, do we need to redo the graph so it is also in the right order, or does it do that for us?
Why don't you try it and see? Student1594


For the part with column I, it won't let me paste in the formula to all the cells like it did with the Above and Below things...Is there a reason for this?
There could be many reasons. Make sure you are doing it exactly the way you did it before. It also might have something to do with the absolute references, the $L$1 things. Make sure you have your absolute and relative references in the right places. Student1594

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 ?
Yes, you can consider the first percent change to be 0 or blank since there is no previous day to compare it to. Student1594


When I saved my spreadsheet, it saved only the active page (the spreadsheet) and not the chart. Should the chart be turned in separately or not at all?
The chart must be turned in. You should not have to save two files. You should be able to save both the chart and the spreadsheet in one file. Student1594


  1. First we will choose the values above. By the custom selection there is a box that is labeled with a +. Beside that, there is a button that will allow you to select a range of values. Press the button.
  2. Select column G.
  3. Press Enter.
  4. Beside Custom there is also an area labeled -. It too has a button that will allow you to select a range. Press it.

I have no options to choose column H or G when i click on the button i get a little screen where I can type something, thats it.
The little screen should be able to type the column in itself when you click on G. Try clicking on G when the screen shows up and see if that works. Student1594

When I try to run my program I get the message:
I tried to read a file, and couldn't. Are you sure that file exists? If it does exist, did you specify the correct directory/folder?
Please check line 36 of C:\Documents and Settings\computer\Desktop\JES\ExcelCode.py
The problem is that I did create a file and I put the address at the top where it says "outputFileLocation =" ....... was I suppose to change anything else?
Make sure it says something like this: outputFileLocation = r"C:\\Documents and Settings\\Administrator\\My Documents\\DisneyPrices.txt" (with 2 backslashes) Student56

I am having the same problem as the person above. Can you help me?


If you did it correctly, then no you should not have needed to do anything else. You also shouldn't need to create the file yourself. The program should generate the file itself, just like in HW4 with index.html What exactly did you put for outputFileLocation=? Was it just the directory, or the director plus the file? Did the file have the correct extension .txt? A lot of different things could be going on. Try IMing a TA or professor. They should be able to give more specific help quicker. Student1594

Typing G or G1 does not work, and you cannot select the column because it is on a different sheet.
Select the different sheet (by using the tab at the bottom) and click on the G column. Student56

I'm having this same problem...I keep getting an error message when I try to specify column G and H. Then I tried having the data page open so I can select the columns. When I did that, I was able to click on the columns but I still got the error message when i clicked OK
What's the error message? Student56

I cannot select a column either

is the reason that some of the 0.00s in column I are red and some are black that before they were rounded to 2 decimal places they were either positive or negative values?
They're suppose to be red or black. Red meaning negative value and bold black means position. You're suppose to make it that way using Format->Conditional Formatting. I guess I don't quite understand your question. Student56

what do you mean by motion above and motion below?
Label the column "Motion Above" and "Motion Below". Just like how we have "High", "Low", "Close", and "Volume". Student56


What is the date range? The code is not retrieving any data from the
website.
7/28/04 - 10/28/04 Student56

when I try to do the error bar step Excel gives me an error message saying that I entered the formula wrong, why would this be?
If it's something like "The maximum number of data points you can use in a data series for a 2-D chart is 32,000. If you want to use more than 32,000 data points, you must create two or more series." Then don't worry about it. If it's not that then I'm not quite sure. Try clicking on a different dot and do that step again. Student56

i completed the steps to add error bars to my graph. i selected column G and H and the commands were pasted into the boxes with the + and - signs. i pressed ok, but i fail to see small lines with bars above and below my data points.
Try selecting another data point. Student56

i can copy the ABS function to multiple cells, but i can't get it to modify to the particular cell number. it stays the same as the original i copied. also: nothing is calculated. the function ABS stays a function in each cell, i never get any numbers.
The formula should be something like =(E3-E2)/E2 on the second line and you should be able to select the entire column and type CTRL + D. See if that works. Student56

It might be. If the function is not producing any numbers, and staying as a function, then that means it's interpreting it as just text, so you probably wrote it wrong. Check the help menu in excel and make sure you are writing it correctly according to how your version of Excel expects it. Student1594


Excel won't let me save multiple sheets. It will only let me save the active sheet or each sheet separately. What should I do?

Make sure you save it as a .xls file. You should be able to save the file as multiple sheets. Email or IM a TA if you're still having problems. Student56

i dont have any negative values in column "I", therfore nothing is red. . . have I done something wrong?

Did you switch it to percent? I think it's all positive if you didn't format the column. Student56

Has anyone figured out how to add the error bars yet?

When I try to open the text file written from Jes in Excel, Im getting some sort of cryptic nonsense and nothing like the directions. What am I doing wrong? Or what number of things?

re-read the beginning of the Excel portion of the lab. That should help. Lauren Walker
The instructions for the turnin have confused me a little. I think I understand but I want to double-check. So if we did not do the bonus portion, what all do we have to submit? Do we still open JES and open our ExcelCode.py and attach the StockInfo.xls? Or just go to the assigment turnin in JES with a blank screen and only send out of StockInfo.xls?

you only need to turn in the ExcelCode.py if you attempted the extra credit portion. Lauren Walker

When i put the equation in Column I row 2, and then copy and paste, all the numbers that should be negative come out as 0.00. What is wrong?


Whenever I try and save the following program, I keep getting an error:

def ExcelLab():
disneyPricesWebpage = "http://finance.yahoo.com/q/hp?s=DIS"
outputFileLocation = r"C:\Documents and Settings\Emily Lauren Tate\My Documents\CS 1315 Slides and Work\DisneyPrices.txt"
info = grabWebpage(disneyPricesWebpage)
breakdownYahooPrices(info, outputFileLocation)

import urllib

def grabWebpage(webpageLocation):
webpageConnection = urllib.urlopen(webpageLocation)
webpageInfo = webpageConnection.read()
webpageConnection.close()
return webpageInfo

def breakdownYahooPrices( htmlInfo, outputFileLocation):
outputFile = open(outputFileLocation, "wt")
startPhrase = 'width="14%">Date'
stopPhrase = ' '
index = htmlInfo.find(startPhrase)
stoppingPoint = htmlInfo.find(stopPhrase,index)

while(index = stoppingPoint):

dataRow = htmlInfo.find("",index)
start = htmlInfo.find('align="right',dataRow)
dateStart = htmlInfo.find(">",start)+1
dateEnd = htmlInfo.find("",dateStart)
outputFile.write(htmlInfo[dateStart:dateEnd]+"\t")

index = adjCloseEnd + 1
outputFile.close()

The error reads:

There was a spacing error in the program.
It might be from a previous line, but I think the error is in line 61.

I know this is the last line of the program, but why is it saying that this is wrong when this is verbatim what I downloaded from this website? PLEASE HELP!!!



It's hard to figure out you spacing error because it isn't formatted correctly on the coweb. Try posting it again after reading the FAQ Lauren Walker

Everytime I try to turn in a message pops up saying "there is no file open to submit or the current file has not been saved." My excel file is open while I am turning in, what is wrong?


what is supposed to be called in as 'htmlInfo' in the function
def breakdownYahooPrices(htmlInfo, outputFileLocation):
?


I am not getting an error but when i look for the text file it is empty. what could be the problem?

do we HAVE TO use getMediaPath for the TA's? it's not in the actual directions - refrencing Johnny's comment close to the begining of the questions for Lab 5

Any idea why this doesn't work:
while(index = stoppingPoint):

# Find a Row of Data
dataRow = htmlInfo.find("",index)
while(zy = 7):

#Find Adj Close
start = htmlInfo.find('align="right',End)
adjCloseStart = htmlInfo.find(">",start)+1
adjCloseEnd = htmlInfo.find("",adjCloseStart)
#Write the adjusted closing price and add a newline to the end
outputFile.write(htmlInfo[adjCloseStart:adjCloseEnd]+"\n")
zy=zy+1
index = adjCloseEnd + 1
..zy is defined previously in the function.. the program will load.. but stops at the second while loop...
AIM: Slavacus




Link to this Page