Python Forum
Running Class methods in a loop and updating variables.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running Class methods in a loop and updating variables.
#4
You pass the same values to the method every time, "searchClass.xlowrand, searchClass.xhighrand", but you never change those values. If the method should be returning a predictable output for a given input, then it is working correctly.
Reply


Messages In This Thread
RE: Running Class methods in a loop and updating variables. - by nilamo - Oct-05-2016, 07:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Class and methods ebn852_pan 15 945 May-23-2024, 11:57 PM
Last Post: ebn852_pan
  Class and methods Saida2024 2 358 May-13-2024, 04:04 AM
Last Post: deanhystad
  super() and order of running method in class inheritance akbarza 7 971 Feb-04-2024, 09:35 AM
Last Post: Gribouillis
  Class test : good way to split methods into several files paul18fr 4 648 Jan-30-2024, 11:46 AM
Last Post: Pedroski55
  Unchangeable variables in a class? Calab 12 1,875 Sep-15-2023, 07:15 PM
Last Post: deanhystad
  Structuring a large class: privite vs public methods 6hearts 3 1,235 May-05-2023, 10:06 AM
Last Post: Gribouillis
  "Name is not defined" when running a class lil_e 6 4,538 Jan-12-2023, 11:57 PM
Last Post: lil_e
  help RuntimeError: no running event loop marpaslight 5 4,067 Oct-18-2022, 10:04 PM
Last Post: marpaslight
  PyRun_SimpleFile calling multiprocessing Python Class cause endless init loop Xeno 2 1,162 Sep-19-2022, 02:32 AM
Last Post: Xeno
  Creating a loop with dynamic variables instead of hardcoded values FugaziRocks 3 1,612 Jul-27-2022, 08:50 PM
Last Post: rob101

Forum Jump:

User Panel Messages

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