I made a little python function, which I would then like to use in a Linux command prompt. However, in order for it to run correctly in the command prompt, I need to first type "pycassaShell" into the command prompt so that pycassaShell is running before I input any further commands. Thus, is there any way to do this in my python program itself?
For example, I would like the python code to do the following:
Open command prompt
Enter "pycassaShell"
Press enter key
Run the function I created in the python program.
Alternatively, is it possible to simply access a function written in a python file directly in pycassaShell?
I apologize if this is a bad question, but I am new to using command prompt in general. Thanks!