Is there any library like 'msvcrt' to use cross-platform? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any library like 'msvcrt' to use cross-platform?

Try to make listening commands input to work in console on any system. Is there any library to use methods in cross-platform way? Example: try: import msvcrt else: import getch as mscvrt and then use: msvcrt.getwch() but this wasn't work cause lack of repeating methods /= Any suggestions or advices? Someone handle this before? Or I need to make full OS oriental part of code?

23rd Apr 2017, 8:31 AM
Kostiantyn Smahlii-Vaza
1 Answer
0
Still can't find universal algorithm. And still no comments. That's sad )=
24th Apr 2017, 4:38 PM
Kostiantyn Smahlii-Vaza