Thursday, October 1, 2015

Remove .pyc files in your project



                         REMOVE .pyc FILES IN YOUR DJANGO PROJECT


  1. Remove .pyc files using git rm *.pyc. If this not work use git rm -f *.pyc
  2. Commit git commit -a -m 'all pyc files removed'
  3. Push git push
  4. In future commits you can ignore .pyc files by creating a .gitignore file

10 comments:

  1. TIB Academy is one of the best Django Training Institute in Bangalore. We Offers Hands-On Training with Live project.

    ReplyDelete
  2. Thank you for sharing such great information very useful to us.
    Python Training in Gurgaon

    ReplyDelete
  3. I truly like you're composing style, incredible data, thankyou for posting.
    data science course

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Thanks for this quick and practical tip on removing .pyc files! The git commands you've shared are going to save me so much time—I've been manually deleting these files forever. The .gitignore approach for future commits is especially valuable. For those of us in Bangalore looking to expand our skill set beyond Python, I've been researching and found that the best az-104 training in bangalore in electronic city programs offer excellent coverage of modern cloud administration. Your blog is always a great resource!

    ReplyDelete