Run Python Script from C#

preview_player
Показать описание
Support this channel, become a member:

🔥 Udemy Courses LOW COST Coupons/ Cupões Cursos Udemy BAIXO CUSTO 🔥:

With Udemy Courses you get/ Com Cursos da Udemy você terá:
♾️ Full lifetime access/ Acesso Vitalício Completo
📱📺 Access on mobile and TV/ Acesso no celular e TV
🏆 Certificate of completion/ Certificado de Conclusão

In this video I'll show how to run a Python script from C#.
We will see two options:
Starting a process;
Using Iron Python.

📚 Some useful books from Mike Driscoll 📚:

Other Videos:

Other videos:

Playlists:

Follow us on Facebook

Or Twitter

#AllTech #Python #CSharp
Рекомендации по теме
Комментарии
Автор

🎅 Christmas Udemy Cupons 🎅 Ends in 1 day! 89% OFF!



🎅 Cupons de Natal 🎅 Termina em 1 dia! 89% de desconto!

AllTechPage
Автор

For people having errors about module import, I'm on mac and I fixed it by using @"/usr/bin/python3" instead of @"/usr/bin/python". I hope this helps!

chrisaparis
Автор

Worked like a charm. I used it with MVC and it worked.. cool tutorial.. saved me hours of research

TheAjitshukla
Автор

Thank you so much. I was stuck because I wanted to use my python function .Net. I was hunting for libraries to achieve this but your video made it so simple

ashishthapliyal
Автор

Sir, Thanks for the code, in my project I want modules in iron python so how can I install it ???

sumitdawrani
Автор

Thanks for this and also answering questions - that is rare these days.

expat
Автор

How do you add other python libraries such as NumPy, cv2, and etc?

sunilanthony
Автор

Thanks for posting, you save my time!!

yesremi
Автор

Hi @AllTech, Thanks for your nice teaching. I have a question. My C# project is a WPF project instead of a windows command project. So i create a button on the wpf project and bind it with the function. I hope when user click the button, it will execute the script. Now i am using your method 1 to run python script. But there will no cmd window show up. And i also find the python script doesn't work.

junyiliang
Автор

Hi ! please help ! my code throws an exception " No module named '__future__' " And I checked but there's a future file both in my python path lib and in ironpython lib .

AntsaVRmusic
Автор

I get an error in source.Execute(scope) saying " No module named 'datetime' "

tomascarreiro
Автор

Thank you very much! That was very helpful.

nathanurinovsky
Автор

thank you so much. video is very detail.

Автор

Excellent. Very well organized. Hated the pasta wallpaper--it is distracting, and it bled through the first line of your slides.

MrMilesfinn
Автор

so useful. helped me. Thank you very much.

arminnabavi
Автор

Great quick overview, thanks for posting!

Автор

How is possible to run python script in C# that has imported libraries inside the script ?

FereshtehJourney
Автор

Hello I will receive a hardware which has native Python API to communicate through USB. Can I embed this in C# application and communicate through it? So in my case the Python engine should receive data from USB port and transfer it to C# or send data to USB device from C# to Python and then to the device. Is that also possible?

jamesmasonic
Автор

Python 3 I use. Is version 3 still not working with Unity?

MahiRSolmaZ
Автор

thank you this is very helpfull video but i am getting error like "no module named warnings" please help me with that

patelkunal