Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How would I alter this to a single api request?
Post: RE: How would I alter this to a single api request...

(Jun-19-2023, 04:00 PM)SuchUmami Wrote: I was wondering if there's a way to write the code that will create the request just once and fetch the full amount of data in a single api request? The reaso...
ferdnyc General Coding Help 1 745 Jun-24-2023, 08:30 AM
    Thread: ''.join and start:stop:step notation for lists
Post: RE: ''.join and start:stop:step notation for lists

(Apr-08-2021, 04:29 PM)BashBedlam Wrote: phrase = "Don't panic!" plist = list(phrase) plist.remove("'") plist.insert(6,plist.pop(3)) new_phrase = ''.join(plist[1:4] + plist[-5:-8:-1]) The explanat...
ferdnyc General Coding Help 2 2,423 Jun-24-2023, 06:09 AM
    Thread: Do I have to pass 85 variables to function?
Post: RE: Do I have to pass 85 variables to function?

(Sep-26-2020, 01:28 PM)Milfredo Wrote:             'dist_yards1' : line[315],             'dist_yards2' : line[316],             'dist_yards3' : line[317],             'dist_yards4' : line[318],    ...
ferdnyc General Coding Help 10 4,287 Sep-26-2020, 08:40 PM
    Thread: Do I have to pass 85 variables to function?
Post: RE: Do I have to pass 85 variables to function?

(Sep-26-2020, 01:34 AM)Milfredo Wrote: They are in a dictionary. I'm not sure they are. Nothing in the code you've shown is a dictionary — you're exclusively using lists. A dictionary (actually, a ...
ferdnyc General Coding Help 10 4,287 Sep-26-2020, 08:11 AM

User Panel Messages

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