Ask coding questions

← Back to all posts
Modules and pip
TristanMisja (8)

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 (191) [earned 5 cycles]
View Answer
Commentshotnewtop
JustARatherRidi (191)

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