How to import module in Thonny?

Lets say I have a python script and it has a line such as “import wificonfig”.
When I run the script in Thonny it gives me an error such as " ImportError: no module named ‘wificonfig’".
So I go to github and find this module called “”.
The question is how do I import this into Thonny so I dont get the error message when I run the python script.?

Since I’m not 100% sure?
Pi or Pico?
Python or Micro Python?

I,m using the interstate 75w that has a pico w with micro python.

You do a file save as. and save to the pico. That file needs to be edited for wifi setup.

So basically I simply save the module to the same directory as my main script, correct?

Yes, sorry for the short low on details answer.
pimoroni-pico/micropython/examples/galactic_unicorn at main · pimoroni/pimoroni-pico (

Wireless Examples

These examples require and (from the common directory) to be saved to your Pico W. Open up in Thonny to add your wifi details (and save it when you’re done).

Thanks for talking the time to reply.