Ask coding questions

← Back to all posts
1
Modules and pip
TristanMisja (6)

How do you you import a module that isn't defaultly imported (like colorama or pysound)? And how do you do the "pip install" you see on module download websites?

Answered by JustARatherRidi (185) [earned 5 cycles]
View Answer
Commentshotnewtop
1
JustARatherRidi (185)

You simply write the import statement, and repl.it will handle the rest :)

Here's an example repl: https://repl.it/@JustARatherRidi/Importing-in-Python