You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make a Python program that works in both CPython and RapydScript. The code itself works in both, but it currently needs shlex. If I could catch ImportError, I would just wrap "import shlex" in a try-catch and use a custom shlex.split() if that failed, but "try: ... except ImportError: ..." appears to have no effect.
The text was updated successfully, but these errors were encountered:
I'm trying to make a Python program that works in both CPython and RapydScript. The code itself works in both, but it currently needs shlex. If I could catch ImportError, I would just wrap "import shlex" in a try-catch and use a custom shlex.split() if that failed, but "try: ... except ImportError: ..." appears to have no effect.
The text was updated successfully, but these errors were encountered: