Python calling another appliction

deadleaf

New Member
Messages
6
Reaction score
0
Points
0
Hello, I'm quite a bit newbie with bioinformatics.
To make my job easier I want to call other applications from a Python script.

Does anyone knows how to achieve this?
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
Command line programs can be called with the subprocess module. However, it's likely to be disabled on X10 for security purposes, if that's where you're running the Python script.
 

deadleaf

New Member
Messages
6
Reaction score
0
Points
0
Actually I run it on my own pc. It was just a general programming question. If somethings are blocked for security issues, that may let me know how it works on my pc.

Perhaps I should get a server at home :D
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
You should always develop on your own machine, pushing to the production server only when stable. For one thing, you have more control over your own server and can debug apps interactively.
 
Top