Variable iterating on itself – different behavior with different types

Please see edits below! For Each edits also added below under Edit2 More edits about ForEach and Collections at Edit3 One last edit about ForEach and Collections at Edit4 A final note about iteration behavior at Edit5 Part of the subtlety of this odd behavior in the semantics of variant evaluation when used as a … Read more

repeat an iteration of for loop

Do it like this: for eachId in listOfIds: successful = False while not successful: response = makeRequest(eachId) if response == ‘market is closed’: time.sleep(24*60*60) #sleep for one day else: successful = True The title of your question is the clue. Repeating is achieved by iteration, and in this case you can do it simply with … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)