My apologies about the last post; I posted my "test" code by mistake,
with hard-coded path information. Here's for future reference
something that is general and should work cross-platform.
André
def exec_external(code=None, path=None):
"""execute code in an external process
currently wo
As promised, here's the solution I came up with for launching an
external python script. The function below has been edited (read
simplified slightly) from the original one used in Crunchy. Note that
while the original has been tested, the following has not- but it
should provide a good start *if
On Apr 30, 11:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I would like to see this as a command along with something to open web
> pages.. Just one command instead of trying to figure out all the
> different op systems. look forward to seeing your code
>
> https://sourceforge.net/proj
I would like to see this as a command along with something to open web
pages.. Just one command instead of trying to figure out all the
different op systems. look forward to seeing your code
https://sourceforge.net/projects/dex-tracker
On Apr 30, 9:40 am, André <[EMAIL PROTECTED]> wrote:
> On
On Apr 30, 10:59 am, Kevin Walzer <[EMAIL PROTECTED]> wrote:
[snip]
>
> There are extension modules on the Mac for integrating Python and
> AppleScript (the best one is appscript). However, if you want to limit
> yourself to core Python, your best best is osascript, a system
> command-tool that let
Prateek wrote:
> On Apr 30, 4:32 am, André <[EMAIL PROTECTED]> wrote:
>> I would like to find out how I can launch an independent Python
>> program from existing one in a cross-platform way. The result I am
>> after is that a new terminal window should open (for io independent of
>> the original s
On Apr 30, 4:32 am, André <[EMAIL PROTECTED]> wrote:
> I would like to find out how I can launch an independent Python
> program from existing one in a cross-platform way. The result I am
> after is that a new terminal window should open (for io independent of
> the original script).
>
> The follo
On Apr 29, 8:32 pm, André <[EMAIL PROTECTED]> wrote:
> I would like to find out how I can launch an independent Python
> program from existing one in a cross-platform way. The result I am
> after is that a new terminal window should open (for io independent of
> the original script).
>
> The follo
I would like to find out how I can launch an independent Python
program from existing one in a cross-platform way. The result I am
after is that a new terminal window should open (for io independent of
the original script).
The following seems to work correctly under Ubuntu and Windows ... but
I