Click here to Skip to main content
15,881,852 members
Home / Discussions / Python
   

Python

 
QuestionTennis racket Pin
Member 1586879618-Dec-22 10:04
Member 1586879618-Dec-22 10:04 
QuestionRe: Tennis racket Pin
Richard MacCutchan18-Dec-22 21:46
mveRichard MacCutchan18-Dec-22 21:46 
QuestionMessage Closed Pin
6-Dec-22 21:28
Tangent Technologies6-Dec-22 21:28 
AnswerRe: Variables Pin
trønderen6-Dec-22 22:29
trønderen6-Dec-22 22:29 
QuestionDSA DOUBT Pin
Krishang Gupta1-Dec-22 11:03
Krishang Gupta1-Dec-22 11:03 
AnswerRe: DSA DOUBT Pin
Richard Deeming1-Dec-22 22:08
mveRichard Deeming1-Dec-22 22:08 
QuestionHow to iterate within a list in python? Pin
ryandaniel1724-Nov-22 18:48
ryandaniel1724-Nov-22 18:48 
AnswerRe: How to iterate within a list in python? Pin
Richard MacCutchan24-Nov-22 22:13
mveRichard MacCutchan24-Nov-22 22: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.

AnswerRe: How to iterate within a list in python? Pin
Gulshan Negi15-Mar-23 23:28
professionalGulshan Negi15-Mar-23 23:28 
QuestionPlz Help Trying to make driving game more realistic and fun (pygame) Pin
s897422-Nov-22 20:41
s897422-Nov-22 20:41 
AnswerRe: Plz Help Trying to make driving game more realistic and fun (pygame) Pin
Gulshan Negi14-Feb-23 21:34
professionalGulshan Negi14-Feb-23 21:34 
QuestionPython Code Related Pin
Mr.Zeenore18-Nov-22 12:28
Mr.Zeenore18-Nov-22 12:28 
AnswerRe: Python Code Related Pin
Dave Kreskowiak18-Nov-22 17:55
mveDave Kreskowiak18-Nov-22 17:55 
GeneralRe: Python Project Question Pin
Mr.Zeenore18-Nov-22 21:36
Mr.Zeenore18-Nov-22 21:36 
AnswerRe: Python Project Question Pin
OriginalGriff18-Nov-22 21:36
mveOriginalGriff18-Nov-22 21:36 
GeneralRe: Python Project Question Pin
Craig Robbins7-Dec-22 1:06
Craig Robbins7-Dec-22 1:06 
GeneralRe: Python Project Question Pin
trønderen7-Dec-22 3:04
trønderen7-Dec-22 3:04 
GeneralRe: Python Code Related Pin
Mr.Zeenore18-Nov-22 20:09
Mr.Zeenore18-Nov-22 20:09 
GeneralRe: Python Code Related Pin
Dave Kreskowiak19-Nov-22 4:07
mveDave Kreskowiak19-Nov-22 4:07 
AnswerRe: Python Code Related Pin
Richard MacCutchan18-Nov-22 22:35
mveRichard MacCutchan18-Nov-22 22:35 
QuestionPython vs. PHP - Web Application Development Pin
vitaassure15-Nov-22 10:30
professionalvitaassure15-Nov-22 10:30 
AnswerRe: Python vs. PHP - Web Application Development Pin
Gerry Schmitz15-Nov-22 12:11
mveGerry Schmitz15-Nov-22 12:11 
AnswerRe: Python vs. PHP - Web Application Development Pin
Richard MacCutchan15-Nov-22 21:34
mveRichard MacCutchan15-Nov-22 21:34 
QuestionPython code Pin
Masande Nogemane3-Nov-22 6:34
Masande Nogemane3-Nov-22 6:34 
AnswerRe: Python code Pin
Richard MacCutchan3-Nov-22 7:47
mveRichard MacCutchan3-Nov-22 7:47 

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.