ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
well I'm trying to get their little hello module world example to be executable. have folowed these directions:
create file module1.py as follows:
print "Hello, module world"
% chmod +x module1.py
according to them, i should now enter module1.py at the prompt and it will execute. But instead I get: bash:module1.py:command not found
It's getting late after a long hard week. Perhaps I'm making some silly error. If you can point out such, I'll appreciate it.
Let's see I checked the path to python; it's right. All the other tests and examples worked ok. It's just this one.
Which forum would your advise posting a problem with Python exercises to? Install? Securitaa? Networking possibly?
Nah, sounds like you have issues of your own, possibly delusions of grandeur.
You know, this place used to be good. But it has become just about useless, due to people like you. A person asking an honest question is most likely to be flamed and told to search the archives. You should quit calling it Linux Questions. And for sure you should remove the line "where newbies go for help." It has become a pseudo elitist club.
sorry, i didn't mean to sound rude. i guess i forgot to use the please word.
it's just that that's a question about Paths and program execution, and not actually relevant to python, even though you're using python. Just recently i've noticed how the programming forum conaints next to nothing but people trying to install the JDK or such like. which i'd think is simply a general question.
and anyway, i told you how to run it, what's the problem? If that's your genuine attitude to this place then your very wrong. In general thou i feel that a little RTFMing is sometimes appropriate.
hm... it's just the way you worded your reply. i was quite taken aback too. it did seem a harmless question. i mean haknot does seem to be a newbie to python and perhaps can't tell whether it is a code problem or a settings problem. and though yes you answered the question, doesn't mean you didn't appear rude. i've made many of these kinds of mistakes before and a kind word, especially from a moderator would be encouraging instead of detrimental. if you're tired of doing the job, perhaps you can approach jeremy for a short break?
that said, haknot:
acid is not a nasty person on this forum, at least fom the many posts i've seen. perhaps it's just a genuine misunderstanding and his/her intention was to help you post in the right place to get a better answer.
don't give up on this forum yet i've also been peeved off many a time by people who did not mean it. i nursed my wounded pride for a while and still came back and well, it may not be an ideal place (i wonder where we get the idea ) but it's good enough