Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Python versoin

Date2013-01-27 17:23
Frommichael.gogins@gmail.com
SubjectRe: [Csnd] Python versoin
AttachmentsNone  None  

Date2013-01-27 17:48
FromAndres Cabrera
SubjectRe: [Csnd] Python versoin
I wasn't sure if SWIG supported python 3, but from version 2 onwards
(which is required for Csound 6), it is:
http://swig.org/Doc2.0/SWIGDocumentation.html#Python_python3support

So that should make things straight forward.

Bear in mind that many linux distros and OS X still ship 2.X as
default, though...

Cheers,
Andrés

On Sun, Jan 27, 2013 at 9:23 AM, michael.gogins@gmail.com
 wrote:
> For Csound 6, yes.
>
>
> T-Mobile. America’s First Nationwide 4G Network
>
> ----- Reply message -----
> From: "Oeyvind Brandtsegg" 
> To: "Csound mailing list address" 
> Subject: [Csnd] Python versoin
> Date: Sun, Jan 27, 2013 8:51 am
>
>
> Thanks, that is excellent. So it is only the csnd module that is verson
> dependent?
> ... and would it be a good idea to move to Python 3 for csnd?
> best
> Oeyvind
>
>
> 2013/1/27 michael.gogins@gmail.com 
>>
>> The opcodes were not done with SWIG, and so are not version dependent.
>>
>> T-Mobile. America’s First Nationwide 4G Network
>>
>>
>> ----- Reply message -----
>> From: "Oeyvind Brandtsegg" 
>> To: "Csound mailing list address" 
>> Subject: [Csnd] Python versoin
>> Date: Sat, Jan 26, 2013 6:30 pm
>>
>>
>> The issue of Csound depending on Python 2.7 was raised in a recent post.
>> Now, I had gotten used to Csound being dependent on one specific python
>> version,and when some of my students asked if Csound supported Python3 I
>> said no. But, brave as they are, some of them tried, and actually got Csound
>> to run with the python opcodes, using Python 3. I haven't investigated
>> further, but thought it appropriate to ask if it is indeed possible, or
>> perhaps they have an old 2.7 lying around somewhere and Csound found that
>> one to link to.
>> As far as I know, some of them use OSX and others Windows. Unless I'm
>> mistaken it works for them with either OS.
>> Come to think about it, it would be strange if it works with Python 3
>> under windows, as Csound looks for the python27.dll ..., but would it be
>> remotely possible that Csound supports Python3 on the mac?
>> Is it time to jump to Python 3 for all platforms perhaps?
>> best
>> Oeyvind
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp