[Tutor] Help-Embedding Python in C#

Steven D'Aprano steve at pearwood.info
Thu Sep 23 08:58:56 CEST 2010


On Thu, 23 Sep 2010 03:17:39 pm ranjan das wrote:

> What I want to do is write my code completely in Python (as gainst
> iron python), 

Iron Python *is* Python. It's just a different implementation, with 
built-in support for Dot-Net.


> copy it to the visual studio editor and create a web 
> based application (I want it to be interactive) as against building
> an exe file which would mean params would have to be hard coded.


How does building an exe file mean that params would have to be hard 
coded? What sort of params?

And how does this description match what you asked earlier:

"I need to run/execute python module in C#.  I am using python 2.6 and 
visual studio 10"


So, which do you want to do: run Python code in a browser, or run it 
is C#?


> Objective: Write the code completely in python and then from it
> create a windows web based application.

If it's web-based, why does it have to be Windows-only?




-- 
Steven D'Aprano 


More information about the Tutor mailing list