| Please look at the examples of using the Python API in the examples directory. They all work, at least on Windows and probably on Linux.
Regards,
Mike
-----Original Message-----
>From: Carlos Pita
>Sent: Aug 23, 2008 4:44 PM
>To: csound-devel@lists.sourceforge.net
>Subject: [Cs-dev] Python api and argv
>
>Hi all,
>
>I've been messing a bit with the python api and find out that the
>csoundCompile(cs,argc,argv) or Csound.Compile(argc,argv) are unusable
>because:
>
>1) the swig typemap for char ** is commented out in python_interface.i
>
>2) no array_functions / array_class support from carrays.i is
>generated for char*.
>
>So I see no way to create a char** from python side.
>
>I still can resort to Csound.Compile overloads for (char*),
>(char*,char*), .... up to 5 strings, but this is rather limited.
>
>How is this expected to be done? Why is the typemap for char**
>commented in the swig interface?
>
>Thank you in advance
>Regards
>-Carlos
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |