Re: [Pydev-code] Getting started with PyDev scripting
Brought to you by:
fabioz
From: Don T. <nos...@gm...> - 2006-04-13 16:13:44
|
Fabio Zadrozny wrote: > Well, remind that things are in a 'shared' interpreter for all scripts > for an editor, so, if you had made some from java.lang import * in one > script, all would have access to it (not something you'd like to rely on). > Fabio: As I understand it importing something that has already been imported does not really do anything, unlike reload. So, is there really any harm in having duplicate imports, and do you really need the guard around this import? if False: from org.python.pydev.editor import PyEdit #@UnresolvedImport cmd = 'command string' editor = PyEdit Don. |