Results 1 to 2 of 2

Thread: Execute Python script from PHP script

  1. #1
    Join Date
    Feb 2009
    Posts
    1

    Default Execute Python script from PHP script

    Hello,

    I would like to buy this hosting, but I have two really important questions:
    1.) Can I execute Python script from PHP script AND HOW on linux?
    Example (this is my example on WINDOWS):
    <?php
    exec("python myscript.py")
    ?>
    2.) Can I access python installation directory on this hosting?
    (I need this becose I have to put my modules to Lib folder)

    Regards,
    Vedran

  2. #2
    Early Out's Avatar
    Early Out is offline Former Moderator, Still Respected
    Join Date
    Mar 2006
    Location
    Sector R
    Posts
    4,650

    Default

    Please search the forums for Python. This has been addressed many times.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •