There is no natural reason as to why the project wouldn't run in python 3.7
unless you have written it in a way that is incompatible with 3.7

I would suggest simply trying to run it in python3.7 and seeing if you have
any errors. Do you have a test suite with high coverage? Run that in 3.7 -
it should be pretty revealing. On top of this

Otherwise there are guides online, including some advice here:
https://portingguide.readthedocs.io/en/latest/tools.html

I can recommend using pylint --py3k on your code as well, it will
immediately tell you of anything which won't work in 3.x.

If the code does not work in 3.7, your options are to rewrite the code so
that it does.


- Nick


On Thu, Feb 13, 2020 at 9:54 AM Luka Nik <luka2...@gmail.com> wrote:

> Is there a way to run a project with python 3.7 if it's written with
> python 2.7?
> And what are my options if not?
> Cheers,
> Luka
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMqinds9QRA_7x5cJ4AbfzzsEpARH7NxUxYWWVf7m%3DaJD7RRMQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMqinds9QRA_7x5cJ4AbfzzsEpARH7NxUxYWWVf7m%3DaJD7RRMQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGuvt925c_R-F2ZD8WCPXkONPKS%2BwjofM7LOTqF63y1oiYqktA%40mail.gmail.com.

Reply via email to