How to separate code

I think we are using different definitions for these words–I think of a “script” as being a python file, and the only input possible is to run it on the command line. It sounds like you’re talking about behavior inside the script. So what you’re saying doesn’t make sense to me.

Can you show some examples of your code, and how you interact with it, and what is going wrong? Make sure to format the code according to the pinned post for this category.