[IronPython] Problems with Iron Python Studio
Michael Foord
fuzzyman at voidspace.org.uk
Tue Jun 24 23:56:09 CEST 2008
Michael Stephens wrote:
> I should be able to just say
> dbg("test") should present intellisense at least for what dbg takes
> as an argument.
>
"import" in Python is not the same as the C# using directive. If you do
the following:
import RT
Then you can only access members of the RT module using:
RT.attribute
and you said that worked?
If you want to be able to just type dbg("test") then you would need to
do something like:
from RT import dbg
You can only use names you have specifically imported. I have no idea
how good the IronPython Studio intellisense is though.
Michael Foord
> Michael Stephens
>
> Electrical Engineering Graduate Student
> University of Wyoming
> falcon at uwyo.edu <mailto:falcon at uwyo.edu> or 89iroc at gmail.com
> <mailto:89iroc at gmail.com>
>
> On Tue, Jun 24, 2008 at 3:49 PM, Curt Hagenlocher
> <curt at hagenlocher.org <mailto:curt at hagenlocher.org>> wrote:
>
> I don't understand from your description what you expect to see in
> "Problem 2".
>
> On Tue, Jun 24, 2008 at 2:35 PM, Michael Stephens <falcon at uwyo.edu
> <mailto:falcon at uwyo.edu>> wrote:
>
> I have two instances where I can't get intellisense to work.
> Is it something I am doing or something wrong with Python
> Studio. I have attached a generated project.
>
> Problem 1:
> I can't access base class methods
> Problem 2:
> I can't access things declared in RT.py despite importing it..
> The closest that that will work is
> import RT
> RT.dbg()// intellisense works! but i shouldnt need to call
> RT directly
>
> Any help would be appreciated.
>
> Michael Stephens
>
> Electrical Engineering Graduate Student
> University of Wyoming
> falcon at uwyo.edu <mailto:falcon at uwyo.edu> or 89iroc at gmail.com
> <mailto:89iroc at gmail.com>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/
More information about the Ironpython-users
mailing list