An alternative to solve this issue is to use the Grasshopper Player. You can copy a part of your code in a GH Python block and use the new blocks from Rhino V7 :
Get Point
Get String
You can _Paste whater you want during the prompt of those new blocks.
Refer to this Steve Baer’s tutorial for more information: