I simply start a web server:
python -m http.server

and make a htm:

 Friends CGI Demo (static screen)

```
<BODY>
<H3>Friends list for:<I>NEW USER</I></H3>
<FORM ACTION = "/cgi-bin/test.py">
<B>Enter your Name:</B>
<INPUT TYPE = text NAME = person VALUE = "NEW USER" SIZE = 15>
<P><B>How many friends do you have?</B>
<INPUT TYPE = radio NAME = howmany VALUE = "0" CHECKED> 0
<INPUT TYPE = radio NAME = howmany VALUE = "10" > 10
<INPUT TYPE = radio NAME = howmany VALUE = "25" > 25
<INPUT TYPE = radio NAME = howmany VALUE = "50" > 50
<INPUT TYPE = radio NAME = howmany VALUE = "100" > 100
</P><INPUT TYPE = submit>
</FORM>
</BODY>
</HTML>

```

then, write a test.py:
 #!c:\Python33\python.exe
 import cgi

```
print('Content-Type:text/html\n\n')
print('hello cgi')

```

it's a cgi example from CorePython, but it didnt work, i use python3.3, i google, and mend it, but it still not work, error is : code 404 message File nof found, look like test.py cannot be found, i have make a cgi-bin directory,and put test.py in it. i totally confused, look for your help