|
I have adcquired visual studio 2008 and want to install ironpython to work with python and using visual as ide, could anyone please help me and teach me how to use this fabulous group of tools.(Step by step)
Thanks a million.
|
|
|
|
|
carlos chavarriaga wrote: I have adcquired visual studio 2008 and want to install ironpython to work with python and using visual as ide,
If you can't use the SDK link above with 3.5 .Net the only option is to try
IronPython Studio[^]
Also, if you are really interested and have more questions, I recommend signing up onto the IronPython Discussion group.
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com[^]
|
|
|
|
|
Is there a way to enable tab completion for the control? You can use "-X:TabCompletion" with the regular ironpython console.
|
|
|
|
|
withak30 wrote: Is there a way to enable tab completion for the control? You can use "-X:TabCompletion" with the regular ironpython console.
I will place this on the feature request list. I am not sure if there is a usable
–X:TabCompletion interface that will work but I will certainly look into it. If you beat me to it, please feel free to share your findings.
|
|
|
|
|
Here is the sample in the SDK that implements tab and syntax coloring. But it is tied to talking to the VS console system, so it will require some finagling for ITB.
http://msdn2.microsoft.com/en-us/library/bb166165(VS.80).aspx
adam...
|
|
|
|
|
Thanks. I am looking into the possibilities of using IronPythonConsoleWindow.dll and some of the other possible hooks I maybe able to use in other dlls as well.
I'll post more after I have gone through everything.
|
|
|
|
|
When I type in the following python script
for i in range(5):
print i
I get as a result:
4
But I should get:
1
2
3
4
Any ideas on how to fix this issue?
Hans
|
|
|
|
|
Thanks for the bug report. It appears that commenting out line 103 in IPEWrapper.cs will fix the bug.
I don't know if this breaks anything else and I haven't had enough time to test it yet.
Hopefully, that is the permanent fix for the bug.
Later, JoeSox
"Marriage is like putting your hand into a bag of snakes in the hope of pulling out an eel."-
Leonardo da Vinci
CPMCv1.0 ↔ humanaiproject.org ↔ Last.fm
|
|
|
|
|
A new version of IronPython is out now... It's the RC1.
Could you please update your project for this new version.
I have this error on the following line
Error 1 'IronPython.Hosting.EngineModule' does not contain a definition for 'CallerContext' C:\Documents and Settings\Desktop\myIronPythonDemo1_4\IronTextBox\IronTextBox\IronTextBox.cs 910 82 IronTextBox<br />
<br />
s = ParsetheText(consoleTextBox.global_eng.Sys, consoleTextBox.global_eng.DefaultModule.CallerContext.CreateCompilerContext(), defBuilder.ToString(), endOfInput,out parsingMultiLineString, out isMultiLine);<br />
<br />
|
|
|
|
|
Martin Gagne wrote: Could you please update your project for this new version.
I certainly will. I am traveling now and will when I return.
Thanks.
|
|
|
|
|
Just FYI, IronTextBox v1.4.1.0b posted.
Just changed "consoleTextBox.global_eng.DefaultModule.CallerContext.CreateCompilerContext()" to "new CompilerContext()"
Thanks.
|
|
|
|
|
I noticed something with the code, try the following:
print "Hello, world"<enter>
x = 5<enter>
When I did this it printed "Hello, world" again after the x = 5, from what it looks like, it is because the StringBuilder is not cleared after each command is executed.
|
|
|
|
|
slide_o_mix wrote: When I did this it printed "Hello, world" again after the x = 5, from what it looks like, it is because the StringBuilder is not cleared after each command is executed.
Thanks for the bug report slide_o_mix!
Now IPEStreamWrapper.sbOutput clears directly after displaying its contents if it is a misc command in irontextboxControl_CommandEntered().
-- modified at 21:35 Tuesday 25th July, 2006
|
|
|
|
|
...is http://boo.codehaus.org/[^]. I haven't tried it myself, but its description speaks for itself:
"
Boo is a new object oriented statically typed programming language for the Common Language Infrastructure with a python inspired syntax and a special focus on language and compiler extensibility.
"
-- modified at 14:07 Monday 20th March, 2006
|
|
|
|
|
|
leppie wrote: LSharp[^]
Thanks leppie. I'll check that out. I'm normally not into scripting but I have been interested in Python lately trying to translate ConceptNet. Does LSharp handle Python script?
Later, JoeSox
"Football is a game of cliches, and I believe in every one of them." -Vincent Lombardi
CPMCv1.0 ↔ humanaiproject.org ↔ Last.fm
|
|
|
|
|
JoeSox wrote: I'm normally not into scripting
LSharp is LISP derivative, and wont handle python, thought you mite be interested in another scripting language.
|
|
|
|