No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
I suppose you want those methods to be instance methods, not class methods, so here goes... Instance Methods must have their first paramter as `self`. Then, the self variable can be used like `this` in languages like java. The variable self will be passed automatically by python. Like so: [CODE] …
How far have you got with this? Did you even try anything?
Hello, I have an application written in python and Tk. My application is to be scriptable with python, i.e., the user gives a small piece of code written in python, and that is to be executed by my application in a different interpreter, with different set of local variables. I …
Hello everyone! just dumped bytes forums and joined daniweb... hope its a good decision :P anyway, could you guys take a second to look at the following code... [code=python] import subprocess as sp cmd = "awk '{print $0}'" ex = sp.Popen(cmd.split(' '), stdin = sp.PIPE, stdout = sp.PIPE, stderr = …
The End.
sharat87