dholbach | good morning | 06:52 |
---|---|---|
=== dholbach_ is now known as dholbach | ||
raam | Hi, How do I call a method from a class into another method in python. I am stuck at this, here is my code --> http://pastebin.com/ncX0PyD2 | 07:10 |
raam | I want to call workingfolder_set | 07:12 |
dholbach | raam, so you want to call workingfolder_set() from another method in Record? | 07:14 |
raam | dholbach: no another method in another class | 07:14 |
dholbach | r = Record(); r.workingfolder_set(widget)? | 07:15 |
johnp_ | Hello, how do i refer to a "non __init__" method variable using instance in python? see this --> http://pastebin.com/e4DUuvUw | 12:05 |
xapantu | johnp_, like that: http://pastebin.com/8SSwXLQs? | 12:12 |
xapantu | (without the ? at the end...) | 12:12 |
xapantu | johnp_, what do you want to do in test() ? | 12:12 |
johnp_ | I want to avoid global and class variables :) | 12:13 |
johnp_ | I want to call a local variable 'y' outside method 'test'. | 12:16 |
xapantu | johnp_, "y" is in a method "test", so, you can't access it outside the method. What you can do is doing self.y = 0, so as it is attached to the object. | 12:16 |
xapantu | johnp_, for instance, this will work: http://pastebin.com/VVHwJpqJ | 12:17 |
johnp_ | ok i try | 12:18 |
=== allquixotic_ is now known as allquixotic | ||
=== margo_ is now known as margo | ||
george_e | http://askubuntu.com/questions/159302/whats-up-with-the-libqtrpc2-1-rds-package-in-the-archives | 23:56 |
george_e | Can anyone figure out exactly what's going on there? | 23:56 |
george_e | It's terribly confusing. | 23:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!