/srv/irclogs.ubuntu.com/2012/07/03/#ubuntu-app-devel.txt

dholbachgood morning06:52
=== dholbach_ is now known as dholbach
raamHi, 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/ncX0PyD207:10
raamI want to call workingfolder_set07:12
dholbachraam, so you want to call workingfolder_set() from another method in Record?07:14
raamdholbach: no another method in another class07:14
dholbachr = 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/e4DUuvUw12:05
xapantujohnp_, like that: http://pastebin.com/8SSwXLQs?12:12
xapantu(without the ? at the end...)12:12
xapantujohnp_, 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
xapantujohnp_, "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
xapantujohnp_, for instance, this will work: http://pastebin.com/VVHwJpqJ12:17
johnp_ok i try12:18
=== allquixotic_ is now known as allquixotic
=== margo_ is now known as margo
george_ehttp://askubuntu.com/questions/159302/whats-up-with-the-libqtrpc2-1-rds-package-in-the-archives23:56
george_eCan anyone figure out exactly what's going on there?23:56
george_eIt's terribly confusing.23:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!