İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3914 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
Üretici

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

En İyi Yanıt

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
Vazgeç