discuss-gnuradio
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
How do I extract individual values from pmt list and dict
From
:
George Edwards
Subject
:
How do I extract individual values from pmt list and dict
Date
:
Wed, 3 Aug 2022 06:19:04 -0500
Hello GNURadio Community,
Let's assume the following pmt definitions for a list and and dictionary in an OOT block:
P_list = pmt.to_pmt([1, 2, 3.45, 'eggs'])
P_dict = pmt.to_pmt({'spam': 20, 'eggs': 40})
How do I explicitly extract the first element in P_list and the value for 'spam' from P_dict?
Thank you!
George
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
How do I extract individual values from pmt list and dict
,
George Edwards
<=
Re: How do I extract individual values from pmt list and dict
,
Marcus Müller
,
2022/08/03
Re: How do I extract individual values from pmt list and dict
,
Marcus Müller
,
2022/08/03
Re: How do I extract individual values from pmt list and dict
,
George Edwards
,
2022/08/03
Prev by Date:
Re: Transmitting high-speed PWM over RF
Next by Date:
Re: How do I extract individual values from pmt list and dict
Previous by thread:
Re: Problem extracting individual elements from pmt list and pmt dictionary messages
Next by thread:
Re: How do I extract individual values from pmt list and dict
Index(es):
Date
Thread