Hi Ethan, the problem is that most tutorials or courses are Python3 nowadays. I installed the App "Sololearn" (https://play.google.com/store/apps/details?id=com.sololearn; thanks Isabel!) and am fascinated; this is really fun! But it is Python3.
https://jakevdp.github.io/blog/2013/01/03/will-scientists-ever-move-to-python-3/ states in the 2016 header: "Short version: just use Python 3. There's almost no reason not to any more." So the problem boils down to the word "almost". best, Kay On Wed, 6 Jun 2018 12:28:20 -0700, Ethan Merritt <merr...@u.washington.edu> wrote: >On Wednesday, 06 June 2018 18:54:32 Robbie Joosten wrote: >> Right you are Kay. It would be very weird to start developing things on >> Python 2.7 right now. Its days are numbered: https://pythonclock.org/ > >I would take a contrarian view. >Given the instability of python development, the promise to leave version 2.7 >alone makes it more desirable than the current ever-changing version. >You can be reasonably sure that anything you write for 2.7 will continue >to work, since they won't change the 2.7 infrastructure underneath you. > >But in truth I would recommend staying away from python for new projects >altogether, precisely because it is continually unstable. The python >development philosophy places low priority on backwards-compatibility. >Combined with the explicit philosophy that python should only support one >way of accomplishing any given task, that is a recipe for frequent and >continual breakage. > >Here's an essay from a few years back that I think is still apposite. >https://jakevdp.github.io/blog/2013/01/03/will-scientists-ever-move-to-python-3/ > > > Ethan > > >> >> >> Cheers, >> >> Robbie >> >> >> >> Sent from my Windows 10 phone >> >> >> >> ________________________________ >> From: CCP4 bulletin board <CCP4BB@JISCMAIL.AC.UK> on behalf of Kay >> Diederichs <kay.diederi...@uni-konstanz.de> >> Sent: Wednesday, June 6, 2018 8:47:07 PM >> To: CCP4BB@JISCMAIL.AC.UK >> Subject: Re: [ccp4bb] Python3 and MTZ >> >> Dear Nicolas, >> >> my (our) motivation is purely that when learning Python today, and >> developing something from scratch, Python3 appears like the better choice >> (compared to version 2) - provided that basic crystallographic libraries can >> be used. >> >> Just a note (for those whose operating system provides only one of the two >> Python flavours): RHEL7 has Python2 as system library, but Python3 can be >> installed in parallel (using "Software Collections"). The user makes a >> choice by setting the PATH variable. >> >> best, >> >> Kay >> >> On Wed, 6 Jun 2018 15:43:16 +0200, Nicolas FOOS <nicolas.f...@esrf.fr> wrote: >> >> >Dear Kay, >> > >> >depending of the motivation to develop in python3 (could be due to an OS >> >using python3 by default or you really prefer to work with python3). If >> >it's due to the OS, a possible strategy is to use virtualenv >> >(https://virtualenv.pypa.io/en/stable/) which let you use python2 even >> >if python3 is the default version for the OS. It exist probably other >> >method to have a contain installation of python2 with all the library needs. >> > >> >I used this strategy (virtualenv) to install ccp4 (with the installer >> >which needed python2) on a manjaro linux (Arch based) running python3 >> >and that works very well. >> > >> >Nicolas >> > >> >Nicolas Foos >> >PhD >> >Structural Biology Group >> >European Synchrotron Radiation Facility (E.S.R.F) >> >71, avenue des Martyrs >> >CS 40220 >> >38043 GRENOBLE Cedex 9 >> >+33 (0)6 76 88 14 87 >> >+33 (0)4 76 88 45 19 >> > >> >On 06/06/2018 14:25, Kay Diederichs wrote: >> >> Dear all, >> >> >> >> I haven't tried to read MTZ files from Python until now, but for a new >> >> project in my lab I'd like to do that - and with Python3. >> >> >> >> Googling around, it seems that iotbx from cctbx is not (yet) >> >> Python3-compatible. >> >> >> >> So, what are my options? >> >> >> >> thanks, >> >> >> >> Kay >> > >> >######################################################################## >> > >> >To unsubscribe from the CCP4BB list, click the following link: >> >https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1 >> >> ######################################################################## >> >> To unsubscribe from the CCP4BB list, click the following link: >> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1 >> >> ######################################################################## >> >> To unsubscribe from the CCP4BB list, click the following link: >> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1 > >-- >Ethan A Merritt, Dept of Biochemistry >Biomolecular Structure Center, K-428 Health Sciences Bldg >MS 357742, University of Washington, Seattle 98195-7742 > >######################################################################## > >To unsubscribe from the CCP4BB list, click the following link: >https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1 ######################################################################## To unsubscribe from the CCP4BB list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1