Support Forums

Full Version: I never understood how import plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use a windows operating system.


I wanted to learn Python, but I never knew how to import plugins necessary for the programs to work. Can anyone help me out?
Mostly you just import them on a need basis. If you need something special, a simple google search can help you. And also you may need to download them off supporting websites.
import whateverthepluginiscalled

That pretty much sums it up.

Like...
Code:
import time
time.sleep(5)

If you're using a third party plugin download it to your Python folder and then use it the same way.
Code:
import wx
class Hello(wx.Frame):
........

Edit: The import part was showing you how you do it and the following lines are examples of there use.
These plug-ins are called modules

They contain information that is needed to run a certain function.

Usually in:
C:\Python26\Lib

samsmith001

Thanks for sharing this post.I am very pleased to read this article.