looking for some solutions? You are welcome.

SOLVED: Python class to answer questions?


Hi trying to figure out the best way to deal with this? I’m trying to understand would reading a yaml file or making a class with dictionary be the way to go for entering values for each question based configuration. Normally I could just dump everything in, but this is confusing me.

Here’s how it looks:

locationA(conf) create app
Value for name: test
Value for image: latest
Value for ip:

Basically every time I enter a value, a new question appears. It goes on for at least 5 more questions. Is there an example of making this a class someone can show me so I can get started? Much appreciated.

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots

No comments: