Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adrusi
on Jan 25, 2016
|
parent
|
context
|
favorite
| on:
Use JSON files as if they are Python modules
There is no good reason to load json from import paths. Your import paths should contain code, assets, not configuration.
icebraining
on Jan 25, 2016
[–]
A JSON document might be an asset, such as static data. In fact, I'd much rather have a Python file as configuration and JSON as data than the opposite.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: