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
test test
NA
7
30.7k
Calling python script within C#
Jul 18 2013 5:08 AM
Hi Guys,
I am trying to call a python script within C#. I can call normal python scripts that do not require any arguments but my particular script requires one argument. I would greatly appreciate it if someone could help me out how to send an argument.
This is the code below:
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.FileName = "/usr/bin/python";
p.StartInfo.Arguments = "/path/to/pythonscript.py ";
p.Start();
Reply
Answers (
6
)
Telerik RAD Progress Area
combo add the collection select display grid but amount