Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3912 Vues

Hi all,

I'm using odoo 10 with docker, and my docker-compose.yml as below:

Hi 

I just wonder that where is the .pyc files generated. I cannot find it in my ext_addons folder, o even in the docker container.

Do you know where the .pyc files generated?

Thanks 

Avatar
Ignorer
Meilleure réponse

Just restart odoo. *.pyc is compiled python code. Odoo generates them when it's restarted. 

Avatar
Ignorer
Auteur

Hi,

I'm running odoo from docker container. When I restart the docker container, still cannot see the .pyc files. It still works fine, but I just wonder that where are the .pyc files.

thanks

Meilleure réponse

Hi,

What pyc file are you speaking about ?


"pyc" files are  python "compiled" files. They are compiled from "py" source file automatically.
Typically, you don't need to worry or do anything about it.

Avatar
Ignorer