Python Forum
Cant access variable from anywhere
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cant access variable from anywhere
#31
I thought i followed your pattern. Sorry i did some changes.
Reply
#32
That is why your learning progress has been slow. You follow when you should think. Don't copy patterns. Analyze them, understand them, apply what you learn from them.

This latest code won't work either. You are not calling cma.update(), you are printing the method object. Calling cma.update() will fail because you don't have any arguments to pass.

I still have no idea what you are trying to do. What is "MyIndicator" supposed to be?
Reply
#33
Not sure i follow you.
Reply
#34
Sorry, I'm done.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can we access instance variable of parent class in child class using inheritance akdube 3 14,027 Nov-13-2020, 03:43 AM
Last Post: SalsaBeanDip
  Access a variable of a daemon peek_no_boo 8 3,403 Apr-03-2020, 07:29 PM
Last Post: BrendanD
  How to access class variable? instances vs class drSlump 5 3,382 Dec-11-2019, 06:26 PM
Last Post: Gribouillis
  How can I access this variable from a def? student3m 1 2,955 Sep-23-2017, 02:06 PM
Last Post: ichabod801
  Can access class private variable? Michael 2 7,205 Aug-11-2017, 01:59 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020