Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code no longer working
#5
The problem is quite self-explanatory really: on line 55, you try to use a variable called history which hasn't been declared in that scope. Is that line supposed to be there? Even if they variable had been declared, it wouldn't do anything useful as all you do is retrieve the value associated with 'Media' and then throw it away.
Reply


Messages In This Thread
Code no longer working - by yk303 - Dec-18-2020, 08:09 AM
RE: Code no longer working - by bowlofred - Dec-18-2020, 09:17 AM
RE: Code no longer working - by yk303 - Dec-18-2020, 10:27 AM
RE: Code no longer working - by yk303 - Dec-18-2020, 10:30 AM
RE: Code no longer working - by ndc85430 - Dec-18-2020, 01:25 PM
RE: Code no longer working - by yk303 - Dec-19-2020, 06:56 AM
RE: Code no longer working - by bowlofred - Dec-18-2020, 04:42 PM
RE: Code no longer working - by bowlofred - Dec-19-2020, 07:02 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 04:02 AM
RE: Code no longer working - by bowlofred - Dec-21-2020, 04:14 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 06:04 AM
RE: Code no longer working - by bowlofred - Dec-21-2020, 07:18 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 07:44 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 07:34 PM
RE: Code no longer working - by bowlofred - Dec-21-2020, 10:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  code isnt working. nezercat33 1 716 Mar-14-2025, 03:45 AM
Last Post: deanhystad
  Upgraded Python: Module no longer found - for Linux Curbie 8 1,769 Mar-05-2025, 06:01 PM
Last Post: Curbie
  Simple code not working properly tmv 2 608 Feb-28-2025, 09:27 PM
Last Post: deanhystad
  I'm new to Python - can someone help with this code as it is not working? lminc123 1 589 Feb-13-2025, 06:13 PM
Last Post: lminc123
Question [SOLVED] Upgraded Python: Module no longer found Winfried 1 1,347 Jan-01-2025, 02:43 PM
Last Post: Larz60+
  my code is not working erTurko 1 747 Nov-11-2024, 08:43 AM
Last Post: buran
  New to Python - Not sure why this code isn't working - Any help appreciated TheGreatNinx 4 2,455 Jul-22-2023, 10:21 PM
Last Post: Pedroski55
  code not working when executed from flask app ThomasDC 1 3,751 Jul-18-2023, 07:16 AM
Last Post: ThomasDC
  Beginner: Code not work when longer list raiviscoding 2 1,797 May-19-2023, 11:19 AM
Last Post: deanhystad
  I am new to python and Could someone please explain how this below code is working? kartheekdas 2 1,904 Dec-19-2022, 05:24 PM
Last Post: kartheekdas

Forum Jump:

User Panel Messages

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