Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Load JSON Data Over Several Templates
Post: RE: Load JSON Data Over Several Templates

You probably want to load the data outside of the route (otherwise it will be reloaded on every request, and file reads are blocking – only one can be done at a time) to increase the efficiency of you...
taldridge Homework 4 2,921 Jan-03-2019, 07:44 PM
    Thread: How to return values from For Loop via return in a function
Post: RE: How to return values from For Loop via return ...

You can use a generator function to do this. (It's pretty idiomatic Python).
taldridge Data Science 14 8,180 Jan-03-2019, 07:39 PM

User Panel Messages

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