
Hi all, I hope you are doing well. I have a python script that allows the user to visualize specific residue pairs. Here is an overview of how the script functions: * Ask the user to input the path of a .cxs file (created previously) and a text file containing the pairs to be visualized * Print the names of the pairs along a uniquely assigned number * Ask the user to input a number in order to visualize the pair assigned to it To run the script currently, I have to do the following: i)Open chimerax ii)Show the shell iii) Call the script from the shell Now, is it possible to include some codes in the script that would allow me to just open chimerax, click on File -> Open -> this script, and then the shell would show up and the execution would continue there? Right now, if I ran the script using File -> Open -> this script, I would get this error: Traceback (most recent call last): File "C:/Users/Shubham/Desktop/this_script.py", line 8, in session_path = input('Enter file (.cxs) to be visualized with path: \n') RuntimeError: input(): lost sys.stdin Regards, Shubham Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows