Feb-01-2021, 06:38 PM
(This post was last modified: Feb-01-2021, 06:38 PM by rachidel07.)
(Feb-01-2021, 06:26 PM)deanhystad Wrote: Need more details. What do you mean "when I type this[20, 20] I want this result (20, 20)"? Where are you typing? Are you trying to make a tool that sits between you and the interpreter changing keystrokes as you type? Are you trying to make a file processor that will scan a file and change some of the content?
Your description may sound clear to you, but you have all the context and I have none. You need to provide the context.
i'm sorry i will try to explain more .
i use a website who gives me the indications of a game quest . like this :[20, 20] . as you see in the picture marks yellow .
and me i want to copy this indication from the website to the game but without brakets [] . that is way i want to make a script by python , who will work as atranslator .
i want to copy the indicator from website to my python project to replace brakets by () and then copy the final result to the game .