0

I am following the instruction in week 8 - Python, there is a statement like this

"We start the program, and nothing seems to happen. But if we open our browser and visit http://127.0.0.1:8080 (on the CS50 IDE, the address will be different)"

How I can find the address if I use CS50 online to test the python program?

2

In the CS50 IDE, choose "Web Server" from the "CS50 IDE" menu (left of "File"), it'll open the right address in a new tab/window.

2
  • Thanks very much. To be more specific for anyone who couldn't found on the menu. Click on the CS50 IDE icon, next to the "File" tab => click on web server Mar 6 '17 at 7:56
  • You're right. Wasn't sure about the name of the menu, and could not check when I wrote the answer. I'll add it to my answer.
    – Blauelf
    Mar 6 '17 at 9:36
0

If you prefer just using the keyboard, hit ALT + S to switch to CS50's terminal, and type http-server at the command-line prompt.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .