TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mastermosley
NA
13
9.3k
C# Embedding IronPython?
Jul 25 2011 12:38 PM
I have succesfully been able to pass variables from C# to my python scripts and run them succesfully but the problem I have is that the entire script needs to be compiled before the script sends data. What I am trying to accomplish is having the program actually flow into the script. For example say I have a telnet server and sockets and IO processing is done in C#. Now I create a login script in python and pass the IO class from C# to python. In my python script I send a welcome message through the IO class but I want to wait for a response and then decide what to do next. This is not possible since the entire script has to be compiled so the script would be endlessly waiting for a response that it will never recieve.
Is there any other way to do this? Any suggestions?
Thanks.
Reply
Answers (
0
)
How to close console screen
Return the full path of folder