MTgeophysics / mtpy

Python toolbox for standard Magnetotelluric (MT) data analysis
GNU General Public License v3.0
145 stars 66 forks source link

Make mtpy code Python-3 compatible #63

Open zhang01GA opened 5 years ago

zhang01GA commented 5 years ago

Expected Behavior

Mtpy can run in python3 as well.

Current Behavior

mtpy currently tested run in python2, but has syntax errors (print) when run in python-3.

Possible Solution

do development and tests in python3 (create conda environment)

Steps to Reproduce (for bugs)

  1. switch to python3 environment
  2. run all tests scripts notebooks to see if OK?
# Paste your code here
#
#

Context

Your Environment

Installed Python Packages: use pip freeze or conda list [-n ENVIRONMENT_NAME] to list all the installed libraries.

Patrick-Cole commented 5 years ago

Hi,

What is the progress with this task? I am interested in running on python 3.

Thanks for all your hard work!

zhang01GA commented 5 years ago

Thank you for your comments Patrick-Cole. We are putting this task at high priority and will try to complete it in the next couple of months.