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
JustARatherRidi (191)

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

Here's an example repl: