Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • I like that answer. Probably not what the user really wants but it does directly answer the question. Commented Jul 14, 2009 at 14:26
  • 1
    Also, you can use this to create your own script that you can later on use to run scripts from another server, or maybe embed it into another script... Commented Jul 14, 2009 at 14:59
  • It is because the file has only a line "print serve1". I cannot understand the meaning of the error. Commented Jul 14, 2009 at 15:05
  • The error is that the print statement is trying to print a variable that does not exist. Try the following: print "server1" Commented Jul 14, 2009 at 15:10
  • Or maybe because you have python v3, the print statement has been replaced by the print function if I remember correctly... So use print("server1") instead. Commented Jul 14, 2009 at 15:13