How to edit files and compile them in Python + Django

Asked

Viewed 208 times

2

I edited a file. py, I compiled it but it says I don’t have permission.

[Errorno 13] Permission denied: 'models.pyc'

  • 1

    Able to change permissions to be more comprehensive

  • I performed a test deleting the file . pyc, the compilation occurred normally, however, without the planned changes.

  • But if the error is described in the question is why permissions should be changed

  • Right now with permission, how do I apply the changes remotely? I have Python on my pc running the compileall function in a remote environment (webserver Python + Django 1.3), but the changes are not applied

  • Try using the "compileall"

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.