haha, oops. Thanks :)
On 26 June 2013 13:29, Joel Nothman <jnoth...@student.usyd.edu.au> wrote:
>
> On Wed, Jun 26, 2013 at 9:28 AM, Robert Layton <robertlay...@gmail.com>wrote:
>
>> The basics of cython are, and I'm not kidding here, quite easy to learn.
>> Steps:
>> 1) Rename .py file to .pyc
>>
>
> You won't get far if it's a pyc (and you run a risk of having the file
> automatically overwritten). Try pyx instead :P
>
>
>> 2) Put "int" in front of all object declarations that will be integers,
>> "float" in front of things that are floats. (If you know java/C/C++ etc,
>> this will feel really natural)
>> 3) Compile with cython - *cython filename.pyc*
>> 4) Done.
>>
>> After that, it gets slightly more complicated -- i.e. importing properly
>> and using cdef etc.
>> I can never remember the method to do numpy arrays, but google helps with
>> that.
>>
>> Good luck!
>>
>>
>> On 26 June 2013 03:27, Issam <issamo...@gmail.com> wrote:
>>
>>> Very helpful information! Thanks @Olivier!
>>>
>>> I'll do my best!
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Windows:
>>>
>>> Build for Windows Store.
>>>
>>> http://p.sf.net/sfu/windows-dev2dev
>>> _______________________________________________
>>> Scikit-learn-general mailing list
>>> Scikit-learn-general@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>>
>>
>>
>>
>> --
>>
>> Public key at: http://pgp.mit.edu/ Search for this email address and
>> select the key from "2011-08-19" (key id: 54BA8735)
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Scikit-learn-general mailing list
>> Scikit-learn-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
--
Public key at: http://pgp.mit.edu/ Search for this email address and select
the key from "2011-08-19" (key id: 54BA8735)
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general