Skip to main content

All Questions

Tagged with
93 votes
7 answers
28k views

How bad of an idea is it to use Python files as configuration files?

I've always used JSON files for configuration of my applications. I started using them from when I coded a lot of Java, and now I'm working mainly on server-side and data science Python development ...
André Christoffer Andersen's user avatar
1 vote
2 answers
569 views

Modelling a REST Object Question (Python)

I have a REST API that I want to model in a class so I can access the properties using the dot notation (JS list notation). I explicately defined the properties on my class using the @property tags ...
code base 5000's user avatar