Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling this script
#3
(Jan-03-2022, 10:02 PM)BashBedlam Wrote: YourdisplayDatafunction references two dictionaries that are not in your "Main Code". They aredataanddayweather. You will need to provide those one way or another. Best would be to send them to your function as arguments. (in my opinion)

Would that be done like this?
def displayData(data,dayweather):
Reply


Messages In This Thread
Calling this script - by Extra - Jan-03-2022, 08:18 PM
RE: Calling this script - by BashBedlam - Jan-03-2022, 10:02 PM
RE: Calling this script - by Extra - Jan-03-2022, 10:11 PM
RE: Calling this script - by snippsat - Jan-04-2022, 12:39 AM
RE: Calling this script - by Extra - Jan-10-2022, 09:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python script is hanging while calling a procedure in database prasanthi417 4 785 Jan-17-2024, 02:33 PM
Last Post: deanhystad
  crontab on RHEL7 not calling python script wrapped in shell script benthomson 1 2,440 May-28-2020, 05:27 PM
Last Post: micseydel
  Calling a C Func though Pyhon Script using DLL file which is created for C file. CMMouli 4 4,804 Feb-18-2017, 05:06 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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