C
C#2y ago
Relevant

❔ Transferring data to python script

I'm building a C# app that can run python scripts. I'm doing the database queries on the C# side, seems to be more efficient. I'm currently just throwing the data into a text file to be read by the python script. It works, but wondering if I'd be able to shave a few milliseconds by using some other mechanism for transferring data. Any ideas?
5 Replies
Angius
Angius2y ago
Process class
Relevant
Relevant2y ago
That would gave a way to pass a data set to a script? I'll poke around that class
Angius
Angius2y ago
That would be a way to call a Python script and pass some arguments, yes
Relevant
Relevant2y ago
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.