Quantcast

c# to ironpython

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

c# to ironpython

Ryan
This post has NOT been accepted by the mailing list yet.
hey guys I am trying to convert this C# code to iron python or python and I'm having trouble.  Basically I have a text file with a list of commands that when I say them it's reads the txt file(s) for the commands.  Please assist.

_recognizer.LoadGrammar(new Grammar(new GrammarBuilder(new Choices(File.ReadAllLines(@"txt file location")))));
Loading...