Whenever creating a new folder/module put a blank __init__.py in it. This is required if you want to import from this module into another file.
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Very good guide.. http://greeennotebook.com/2010/06/how-to-change-pythonpath-in-windows-and-ubuntu/ H ow to Change PYTHONPATH in Windo...
-
This usually happens if you $ python manage.py runserver 8000 and then don't stop the server by hitting Cntrl+C but hit something li...
-
There's always the easy way of doing Git branch graphs in terminal by entering: $ git log --graph --oneline --all It's pretty us...
-
This tutorial will go over how to add an image inside a jqGrid cell when the 'url' is delivered from your json data. Your grid wil...
-
If you try deleting an object referenced by a Foreign Key or OneToOneField in Django Admin, it will attempt to do a cascade delete on all t...
No comments:
Post a Comment