Click here to Skip to main content
15,567,466 members
Home / Discussions / Python
   

Python

 
PinnedForum Guidelines - PLEASE READ Pin
Chris Maunder5-Oct-22 13:14
cofounderChris Maunder5-Oct-22 13:14 
QuestionPython learning Pin
Nahid.hb25-Dec-22 2:01
Nahid.hb25-Dec-22 2:01 
AnswerRe: Python learning Pin
OriginalGriff25-Dec-22 2:06
mvaOriginalGriff25-Dec-22 2:06 
AnswerRe: Python learning Pin
Kevin McFarlane10-Jan-23 1:05
Kevin McFarlane10-Jan-23 1:05 
QuestionTennis racket Pin
Member 1586879618-Dec-22 11:04
Member 1586879618-Dec-22 11:04 
QuestionRe: Tennis racket Pin
Richard MacCutchan18-Dec-22 22:46
mveRichard MacCutchan18-Dec-22 22:46 
QuestionMessage Closed Pin
6-Dec-22 22:28
Tangent Technologies6-Dec-22 22:28 
AnswerRe: Variables Pin
trønderen6-Dec-22 23:29
trønderen6-Dec-22 23:29 
QuestionDSA DOUBT Pin
Krishang Gupta1-Dec-22 12:03
Krishang Gupta1-Dec-22 12:03 
AnswerRe: DSA DOUBT Pin
Richard Deeming1-Dec-22 23:08
mveRichard Deeming1-Dec-22 23:08 
QuestionHow to iterate within a list in python? Pin
ryandaniel1724-Nov-22 19:48
ryandaniel1724-Nov-22 19:48 
AnswerRe: How to iterate within a list in python? Pin
Richard MacCutchan24-Nov-22 23:13
mveRichard MacCutchan24-Nov-22 23:13 
Your question is unclear, what do you mean by "could not do the same to extract the rssi and loRaSNR values"? What is the actual code you used, and what problems did you see?

Also, I have edited your question so the JSON text is readable.

[edit]
The info field is an array (of one item), so you just need to access element zero. something like:
Python
gateway = info[0]
rssi = gateway["rssi"]
loRaSNR = gateway["loRaSNR"]
print(F"{rssi=}, {loRaSNR=}")

[/edit]

modified 25-Nov-22 7:47am.

QuestionPlz Help Trying to make driving game more realistic and fun (pygame) Pin
s897422-Nov-22 21:41
s897422-Nov-22 21:41 
QuestionPython Code Related Pin
Mr.Zeenore18-Nov-22 13:28
Mr.Zeenore18-Nov-22 13:28 
AnswerRe: Python Code Related Pin
Dave Kreskowiak18-Nov-22 18:55
mveDave Kreskowiak18-Nov-22 18:55 
GeneralRe: Python Project Question Pin
Mr.Zeenore18-Nov-22 22:36
Mr.Zeenore18-Nov-22 22:36 
AnswerRe: Python Project Question Pin
OriginalGriff18-Nov-22 22:36
mvaOriginalGriff18-Nov-22 22:36 
GeneralRe: Python Project Question Pin
Craig Robbins7-Dec-22 2:06
Craig Robbins7-Dec-22 2:06 
GeneralRe: Python Project Question Pin
trønderen7-Dec-22 4:04
trønderen7-Dec-22 4:04 
GeneralRe: Python Code Related Pin
Mr.Zeenore18-Nov-22 21:09
Mr.Zeenore18-Nov-22 21:09 
GeneralRe: Python Code Related Pin
Dave Kreskowiak19-Nov-22 5:07
mveDave Kreskowiak19-Nov-22 5:07 
AnswerRe: Python Code Related Pin
Richard MacCutchan18-Nov-22 23:35
mveRichard MacCutchan18-Nov-22 23:35 
QuestionPython vs. PHP - Web Application Development Pin
vitaassure15-Nov-22 11:30
professionalvitaassure15-Nov-22 11:30 
AnswerRe: Python vs. PHP - Web Application Development Pin
Gerry Schmitz15-Nov-22 13:11
mveGerry Schmitz15-Nov-22 13:11 
AnswerRe: Python vs. PHP - Web Application Development Pin
Richard MacCutchan15-Nov-22 22:34
mveRichard MacCutchan15-Nov-22 22:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.