Hi all,
unfotunately, 'commands.getstatusoutput(command)' does not work under
windows.
Would there be any alternative?
os.system also just provides the exit number I think.
thanks a lot,
and cheers
marco
--
calmar
(o_ It rocks: LINUX + Command-Line
en it prints something, something was
not ok probably.
I will check the resulting file, to see if everything went ok, and try
to catch the output like you mentioned.
thanks a lot
marco
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
--
http://mail.python.org/mailman/listinfo/python-list
subprocess.PIPE,\
stderr=subprocess.PIPE, shell=False)
message = pipe.stdout.read()
error = pipe.stderr.read()
thanks all,
calmar
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
--
http://mail.pyt
ment? If, then how could
I get that environemnt? (the programs runs also under MS windows)
Well, maybe someone has some hints about encodings issues like that, and
what I can send to external commands?
thanks a lot
calmar
--
calmar
(o_ It rocks: LINUX + Command-Line-Interf
Hi all,
since I'm just a 'handicraft'/beginner or so,
could anybody provide me with some (rough) hints, about how to enhance the code
here:
http://calmar.ws/tmp/cal.html
Cheers and thanks a lot
calmar
--
calmar
(o_ It rocks: LINUX + Command
oblems with that (and gave up), but since I begin to
now understand it somebit more, I should try/check again.
> - when creating string-keyed dicts, the idiom
>
> dict(foo="bar",
> baz="pillepalle")
I see, I changed too.
Thanks a lot,
marco
--
c
ast remove them before e.g. putting to the web or so.
Cheers and thanks,
calmar
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
--
http://mail.python.org/mailman/listinfo/python-list
e the poster
> above mentioned, you have things that are telling you they want to
> be objects.
I will try to get some order (classes) and maybe remove them.
thanks a lot!!
cheers,
calmar
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_
f confused actually.
http://calmar.ws/tmp/cal.html
Will try to cleanup and implement even further all good
advices from all in some days.
Thanks a lot!!
calmar
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
--
http://mail.python.org/mailman/listinfo/python-list
.* functions, if you are interested in making your code work
> on different platforms.
Yeah, I will use the os.sep variable, that's a good idea
thanks a lot,
calmar
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
--
http://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo