Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3932 Tampilan

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
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

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

Jawaban Terbai

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
Buang