Support Forums
I never understood how import plugins - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Python Programming Language (https://www.supportforums.net/forumdisplay.php?fid=32)
+---- Thread: I never understood how import plugins (/showthread.php?tid=13859)



I never understood how import plugins - Extremespeed™ - 11-19-2010

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?


RE: I never understood how import plugins - Xzotic - 11-19-2010

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.


RE: I never understood how import plugins - Daniel Faraday - 11-27-2010

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.


RE: I never understood how import plugins - xerotic - 12-06-2010

These plug-ins are called modules

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

Usually in:
C:\Python26\Lib



RE: I never understood how import plugins - samsmith001 - 09-30-2019

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