Results 1 to 3 of 3
Hi Guys. I am teaching myself some Python in my spare time. I am using this page as a guide:
Byte of Python:First Steps - Text
When I attempt to ...
- 05-25-2007 #1Just Joined!
- Join Date
- Nov 2006
- Location
- ~/
- Posts
- 40
Python: unknown mime-type ?
Hi Guys. I am teaching myself some Python in my spare time. I am using this page as a guide:
Byte of Python:First Steps - Text
When I attempt to make the program executable, this is what I get:
This is currently what the program consists of:Code:mattmodica@Stargate:~$ chmod a+x helloworld.py mattmodica@Stargate:~$ ./helloworld.py Warning: unknown mime-type for "Hello World" -- using "application/*" Error: no such file "Hello World"
I am assuming I am missing some component in Linux, but I could be wrong. Does anyone know an answer?Code:# Executable #!/usr/bin/env python # Start of the program print 'Hello World'
Thanks,
BigFoot
- 05-25-2007 #2Linux User
- Join Date
- Aug 2006
- Posts
- 458
- 05-25-2007 #3Just Joined!
- Join Date
- Nov 2006
- Location
- ~/
- Posts
- 40
That was it, thanks.


Reply With Quote
