Python Forum
subprogram issues: cannot unpack non-iterable function object error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
subprogram issues: cannot unpack non-iterable function object error
#6
At the end of the function get_data
change
    return data
    return answers
to
    return data, answers
Reply


Messages In This Thread
RE: Help with subprograms - too many variables error - by Yoriz - Aug-19-2020, 03:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  DEC pack, unpack and disk-images Curbie 12 652 Jun-10-2024, 12:06 AM
Last Post: Curbie
  Too much values to unpack actualpy 3 601 Feb-11-2024, 05:38 PM
Last Post: deanhystad
  Need help with 'str' object is not callable error. Fare 4 991 Jul-23-2023, 02:25 PM
Last Post: Fare
  cx_oracle Error - AttributeError: 'function' object has no attribute 'cursor' birajdarmm 1 2,702 Apr-15-2023, 05:17 PM
Last Post: deanhystad
  Error in Int object is not subscript-able. kakut 2 1,254 Jul-06-2022, 08:31 AM
Last Post: ibreeden
Question how to solve `'TypeError: 'int' object is not iterable`? netanelst 2 1,713 May-24-2022, 12:03 PM
Last Post: deanhystad
  unpack dict menator01 1 1,287 Apr-09-2022, 03:10 PM
Last Post: menator01
  AttributeError: 'function' object has no attribute 'metadata 3lnyn0 5 4,910 Mar-28-2022, 04:42 PM
Last Post: Larz60+
  ValueError: not enough values to unpack (expected 4, got 1) vlearner 2 6,512 Jan-28-2022, 06:36 PM
Last Post: deanhystad
  Conjugate Gradient having issues with defining A (function to solve [A]{x} = {b} ) DimosG 2 2,906 Sep-21-2021, 08:32 PM
Last Post: 1968Edwards

Forum Jump:

User Panel Messages

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