Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~5K People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for hondros

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] …

Member Avatar for hondros
0
140
Member Avatar for NicholasE
Member Avatar for NicholasE
-1
96
Member Avatar for sharat87

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 …

Member Avatar for shadwickman
0
131
Member Avatar for sharat87

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 = …

Member Avatar for sharat87
0
4K

The End.