Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
3907 Visninger

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
Kassér
Bedste svar

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

Avatar
Kassér
Forfatter

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

Bedste svar

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
Kassér