Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dictionary generator
#1
I need ideas how to implement such a dictionary, where the program will request data and ultimately get this kind of dictionary?
For example:

ac_voltage_multimeter = {(10, V): {(50, Hz): ((9, 'V'),), (60, Hz): ((9, 'V'),), (400, Hz):((9, 'V'),)},
(100, V): {(50, Hz): ((90, 'V'),), (60, Hz): ((90, 'V'),), (400, Hz):((90, 'V'),)},
(1100, V): {(50, Hz): ((200, 'V'),), (60, Hz): ((200, 'V'),(400, 'V'),(600, 'V'),(800, 'V'),(1000, 'V')), (400, Hz):((200, 'V'),)}}
Reply


Messages In This Thread
Dictionary generator - by Irv1n - Jul-20-2021, 04:12 PM
RE: Dictionary generator - by bowlofred - Jul-20-2021, 04:30 PM
RE: Dictionary generator - by Irv1n - Jul-20-2021, 04:56 PM
RE: Dictionary generator - by deanhystad - Jul-20-2021, 04:36 PM
RE: Dictionary generator - by Yoriz - Jul-21-2021, 10:11 PM
RE: Dictionary generator - by naughtyCat - Aug-18-2021, 06:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  receive from a generator, send to a generator Skaperen 9 5,606 Feb-05-2018, 06:26 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