i am going to assume you mean typing input on the fly as opposed to typing input and hitting enter.
just wondering if i could make it so that while running the program a user can type a command in the console at ANYTIME not just on say on raw inputs...
You could use a GUI library as all of them have a source to take input on the fly), For terminal use, there are the modules, termios
for linux and msvcrt
for windows. You can google them to get some code snippets of how to handle them.
so say while the program is running if a user types /menu it will launch a defined subprogram instead of only being able to type /menu on raw inputs which would be alot of work on my end making sure every raw_input allows /menu as a response...thanks
It would be lot less work to use raw_input()/input() than it would be to create/modify/use other libraries and make your own functions to accomodate termios folr example to catch user input on the fly. Its a lot more simpler to use input and have the user hit enter.