Adding python 3.6 code to production erpnext. Is it incompatible?

I am wanting to write some custom code but I only know the 3.6 version. I am wanting to do some custom apps and also write in the erpnext source code to do some customizations(I will not upgrade or will figure it out later) Is 3.6 incompatable with 2.7?

Default Python versions is 2.7. You can migrate Python to 3.6 using

bench migrate-env {which Python3.6}

Note: before migrating to Python3.6 take a backup of database.

Please note there are one or two bugs still coming out from the use of python 3. If you are unlucky to find one pls submit a bug report as Achilles will be pleased to help here I’m sure