pik-copan / pyunicorn

Unified Complex Network and Recurrence Analysis Toolbox
http://pik-potsdam.de/~donges/pyunicorn/
Other
195 stars 86 forks source link

Basic python3 compatibility #106

Closed mjziebarth closed 6 years ago

mjziebarth commented 6 years ago

Hi everyone,

these are the steps I took to make the Network class run on my machine with python 3. I see there has been some effort to port it to python 3 and so I felt these steps may be welcome.

There is four basic changes I performed:

These changes should not affect pyunicorn on a python 2 machine, but I did not test that. I also did not do any extensive testing on python 3, so some code may still not run. The basic Network-class operations I performed did work.

What do you think? I would be glad if you could review the changes and possibly merge.

Regards!

ntfrgl commented 6 years ago

Thanks a lot for your contribution!