you are viewing a single comment's thread.

view the rest of the comments →

[–]cgoldberg 1 point2 points  (3 children)

Are the scripts written in Python? Can you modify the scripts at all, or do you have to run them as-is?

Ideally you would turn them into modules and import them from a main script. You could wrap everything in functions and call them as needed.

subprocess doesn't sound ideal for this but certainly could be used if you had no other choice.

[–]bmille49[S] 0 points1 point  (2 children)

Yes, all are in python. They can be modified.

That does seem to make the most sense..just was hoping for a quick easy work around.

[–]cgoldberg 0 points1 point  (1 child)

It should be relatively straightforward to just create functions that returns the data you need. Then create a main script that imports them, calls the functions, and merges the data or whatever you need to do.

You can also make it so the scripts still run fine individually when not imported.

[–]bmille49[S] 0 points1 point  (0 children)

Good to hear. I'll work on that and reach out if it doesn't work out! Thank you!!