Python Forum
Question about functions(built-in) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Question about functions(built-in) (/thread-30955.html)



Question about functions(built-in) - Jinja2Exploitation - Nov-15-2020

What built-in Python function can you use to create new config items that persist between requests?


RE: Question about functions(built-in) - ndc85430 - Nov-15-2020

Your question is very vague. Explain in more details what it is you need to do and why. What kind of requests (HTTP or something else?)? What kind of items?


RE: Question about functions(built-in) - jefsummers - Nov-15-2020

Agree. Tons of options - from extremely simple text file writes to json files. If your "persist between requests" does not mean exiting and restarting the program, then a Class allows you to create objects that persist while your program runs.