The Artima Developer Community
Sponsored Link

Python Answers Forum
pvm verion(all) doesnt work wright, help!!!

1 reply on 1 page. Most recent reply: Feb 8, 2005 1:15 AM by Jack

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Stephanus

Posts: 1
Nickname: wich
Registered: Feb, 2005

pvm verion(all) doesnt work wright, help!!! Posted: Feb 7, 2005 2:22 PM
Reply to this message Reply
Advertisement
Hi, Pythoneers
Let me first say i've been on Python now for the last eight months.

The only problem is that my Python interactive interpreter seems to work pretty good bud executing a file of Python code from the command line(ms-dos, bash) with the preceding pyhton never works. Only when you write a single body statement like: (print x) ore something.

In the documents that ive been purchasing there is always written that the python interpreter always executes lines of code in a .py file from top to bottum now matter what order the lines are placed even in the book Programming pyhthon al of the books examples are placed pretty logical.
Just in a line by line sequence.

But i seem to only get errors it almost seems like you have to code your .py modules in a surrtain kind of manner.

Can this be true i really would like to now so i can also build larger python programs without using the Python interactive interpreter!


Jack

Posts: 10
Nickname: zyppora
Registered: Jan, 2005

Re: pvm verion(all) doesnt work wright, help!!! Posted: Feb 8, 2005 1:15 AM
Reply to this message Reply
I'm writing python programs straight from VI, save'em as 'filename.py' and run'em from the terminal as 'python filename.py' in FC1 (old 400MHz machine). All I did was install the latest python engine (python 2.4). So maybe you don't have the (correct) python engine installed on your system(s)? What kind of errors do you get?

Flat View: This topic has 1 reply on 1 page
Topic: retrieving e-mail from yahoo pop server. What's wrong? Previous Topic   Next Topic Topic: Broadcasting?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use