There are some conversion scripts around for converting python 2 code to python 3. They are not perfect but are typically a good first approximation to what you want. See, for example:
- https://docs.python.org/2/library/2to3.html - https://www.pythonconverter.com/ On Saturday, 8 February 2020 11:44:36 UTC+11, Richard W Bump wrote: > > You need to go into your Preferences under privacy and security, general, > and allow Python 3.7 to install. Also it took me about six times > restarting the installer, you could watch it stepping through the install > then halting, I'd start again, and again, but it ran fine afterwards, even > better than on 10.14. It starts very quickly. My biggest problem is going > back and modifying all my old Python 2.7 stuff to Python 3.7, like > enclosing the print contents in parenthesis, i.e. print (x+y+z). The > latter was not a requirement in 2.7. > On Thursday, February 6, 2020 at 6:52:31 PM UTC-6, hao chen wrote: >> >> I downloaded the dmg, moved the SageMath folder to /Applications, and >> opened the "sage" file with terminal, but I got >> >> *“python3.7” cannot be opened because the developer cannot be verified.* >> >> >> Any help would be appreciated. Thanks! >> > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/97ed837f-e787-4db3-8022-740c3accfba9%40googlegroups.com.
