TopSpin: executing Python script from inside AU script

From: Steven Clemens <Steven.Clemens_at_novachem.com>
Date: Wed, 12 Jun 2019 22:03:06 +0000

Hi all,

In TopSpin, It is straightforward to execute an AU script from within an AU script using syntax XAU("myauscript"), and similar syntax works to execute an AU script from a Python script.

A Python script can be executed from within a different Python script using syntax XCMD("xpy mypythonscript.py").

I am having trouble executing a Python script from within an AU script:

  * Is this impossible to do?
  * If it is possible to do, how do I do it?

I have tried using syntax
XCMD("xpy mypythonscript.py")
CPR_exec("xpy mypythonscript.py", WAIT_START)

Always it just tells me "Command not implemented" - with no other details.

Cheers,

Steve

Steven Clemens
steven.clemens_at_novachem.com<mailto:steven.clemens_at_novachem.com>
Received on Wed Jun 12 2019 - 12:03:37 MST

This archive was generated by hypermail 2.4.0 : Wed Jun 21 2023 - 17:08:03 MST