+ Reply to Thread
Results 1 to 4 of 4

Thread: Python calling another appliction

  1. #1
    deadleaf is offline x10Hosting Member deadleaf is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    France
    Posts
    6

    Python calling another appliction

    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?
    -- Is hard to be free, but when it works it sure is worth it (Janis Joplin). --

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Python calling another appliction

    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.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    deadleaf is offline x10Hosting Member deadleaf is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    France
    Posts
    6

    Re: Python calling another appliction

    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
    -- Is hard to be free, but when it works it sure is worth it (Janis Joplin). --

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Python calling another appliction

    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.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. Help me plz calling all staff
    By Rickelz in forum Free Hosting
    Replies: 1
    Last Post: 09-15-2008, 02:50 PM
  2. Calling a girl fat and getting.....
    By osaeed2003 in forum Off Topic
    Replies: 14
    Last Post: 03-11-2008, 03:34 PM
  3. Calling for help!
    By ibnuasad in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 07-16-2006, 07:55 AM
  4. Calling all Photoshopists!
    By ƒorte in forum The Marketplace
    Replies: 3
    Last Post: 03-21-2006, 05:21 AM
  5. Calling all musicians!
    By Conor in forum Off Topic
    Replies: 5
    Last Post: 04-03-2005, 05:31 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers