Ask coding questions

← Back to all posts
Question about repl.it modules
TerrorbuildLuna (38)

Repl.it says it imports modules for me, but when I tried the the msvcrt module, it failed. It works on VS code, but not here. Please help!

Answered by adl212 (166) [earned 5 cycles]
View Answer
Comments
hotnewtop
adl212 (166)

@TerrorbuildLuna unfortunately, you can't import msvcrt in repl.it. Try using some other module. Upvote and choose this answer as the correct answer if so.

Muffinlavania (1510)

Maybe it is not in repl? Repl isn't the GREATEST thing for python, that would probably be python shell. If you want to try to get it, go look for it in packages in your project, like Coder100 said

Muffinlavania (1510)

@TerrorbuildLuna then yea, i guess it is quite simply not on repl, so doing this is kinda impossible.... If i were you i would download python shell

TerrorbuildLuna (38)

@Muffinlavania what's python shell? (I'm a beginner), wait, is it the terminal thingy that you can type single lined commands into?

Muffinlavania (1510)

@TerrorbuildLuna python shell is basically an application that is meant to run python and only run python, it is bascially like repl but it only runs python and it is not online

Coder100 (16757)

Try installing it here manually ^^

Hopefully repl.it will fix python ;)

TerrorbuildLuna (38)

@Coder100 Thanks! I marked @adl212 with the best answer though, hope you don't mind!

eekboi (287)

@TerrorbuildLuna i was saying to look at coders answer as you havent seleceted anyone yet and coders answer so far was the best

TerrorbuildLuna (38)

@eekboi Ooh... well, thanks for the reminder!

TerrorbuildLuna (38)

If anyone can help me, that would be great!!!!!!!!!!!!!