Some problems using Python / Django.

With Django sub forum.
KBleivik
Site Admin
Posts: 178
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway
Contact:

Some problems using Python / Django.

Postby KBleivik » Mon Jan 31, 2011 9:01 pm

I opened a python file, that is a file with the .py extension in WordPad and choose that as the standard editor to open such files with. Then the following command:

django-admin.py startproject mysite

opened WordPad, since .py files were now associated with WordPad and not python.exe. You change that in the traditional way.

1. Browse to a python file, that is a file with the .py extension.
2. Right click the file and choose open with + standard program.
3. Choose python.
4. Check the box always use this file type + OK.
5. If done correctly, the above bolded command should function OK.

Return to “Python”

Who is online

Users browsing this forum: No registered users and 1 guest