On Mon, 21 Sep 2015 20:41:13 +0200, <tropical.dude....@gmail.com> wrote:

Hello everybody,

(...)

I created index.py:
#!/usr/bin/env python
# -*- coding: UTF-8 -*-# enable debugging
import cgitb

cgitb.enable()
print("Content-Type: text/html;charset=utf-8")
print("Hello World!")

But it is still not working.

Can anybody help me out?

Thanks in advance.

Which Python are you running? If it's Python 3, change the shebang accordingly because "python" is assuming Python 2.

--
Vriendelijke groeten / Kind regards,

Albert Visser

Using Opera's mail client: http://www.opera.com/mail/
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to