Some problems using Python / Django.

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

Some problems using Python / Django.

Post by KBleivik »

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest