![]() |
|
[b]"How do I properly set up a python configure page for my project?"[/b]
or
[b]"What's the best way to create a p - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Technical Community Support (https://proxycommunity.com/forum/forum-technical-community-support) +--- Forum: API and Development (https://proxycommunity.com/forum/forum-api-and-development) +--- Thread: [b]"How do I properly set up a python configure page for my project?"[/b] or [b]"What's the best way to create a p (/thread-b-how-do-i-properly-set-up-a-python-configure-page-for-my-project-b-%0A%0Aor-%0A%0A-b-what-s-the-best-way-to-create-a-p) |
“” - cloakHawk88 - 22-03-2025 CLI > config files sometimes. Use `click` or `argparse` to let users pass settings as flags. Then they don’t even need to touch files. But yeah, JSON for persistence. Best of both worlds. “” - DeepMimic77 - 23-03-2025 Ever tried `traitlets` from the Jupyter team? It’s awesome for configs with type checking and callbacks. Super underrated for python configure pages. Docs are a bit sparse, but worth the effort. |