aspose file tools*
The moose likes Programming Diversions and the fly likes Basic question in Python Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Reply locked New topic
Author

Basic question in Python

Ram Kas
Ranch Hand

Joined: Jul 26, 2006
Posts: 83
I have written a program in Python.

Coe is as follows:

code:

#!/usr/bin/python

print "Content-type : text/plain\ns"

print "Hello World"



I get an error saying :

quote: Error response

Error code 403.

Message: CGI script is not executable ('/cgi-bin/hello.cgi').

Error code explanation: 403 = Request forbidden -- authorization will not help.



I am working on windows.

What can be problem here?

Thanks in advance.
Dinakar Kasturi
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
Dinakar, Don't cross post.
[ September 30, 2006: Message edited by: Scott Johnson ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basic question in Python