 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Is there a way to enable tab completion for the control? You can use "-X:TabCompletion" with the regular ironpython console.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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
s = ParsetheText(consoleTextBox.global_eng.Sys, consoleTextBox.global_eng.DefaultModule.CallerContext.CreateCompilerContext(), defBuilder.ToString(), endOfInput,out parsingMultiLineString, out isMultiLine);
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Just FYI, IronTextBox v1.4.1.0b posted.
Just changed "consoleTextBox.global_eng.DefaultModule.CallerContext.CreateCompilerContext()" to "new CompilerContext()"
Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I noticed something with the code, try the following:
print "Hello, world" x = 5
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
...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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
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.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |