And finally to get arguments to be passed correctly, one needs to
adjust the file association settings.
Open MyComputer, Tools->FolderOptions, FileTypes, find "PY" in the
list, select Advanced, select "open" and Edit. Change the Application
Used.. to
"C:\Python25\python.exe" "%1" %*
Change
On Fri, Sep 19, 2008 at 10:20 AM, tcp <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> New to Python...getting started with Django.
>
> I've just installed Django and and following some getting started
> instructions.
>
> I'm trying to run django-admin like this:
>
> c:\myproject> python django-admin.py sta
Karen and Rodolfo,
Thank you both for your quick answers. I have associated .py files
with Python.exe and then started Python by invoking the specific .py
file rather than directly invoking Python.exe and it works fine. Here
is the proof:
C:\>django-admin.py
Type 'django-admin.py help' for usage
Ok. Now the link to the PATH makes more sense to me. I will try again
by associating .py files to Python.exe. Tom
On Sep 19, 10:45 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 19, 2008 at 10:20 AM, tcp <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > New to Python...getting started with
Your reply doesn't make sense to me. It is not WINDOWS looking for
the .py file, it is the Python interpreter. In any case, I have tried
that to prove that it is not the solution. Here is the proof:
C:\python\projects\iFriends>python django-admin.py help
python: can't open file 'django-admin.py':
I guess for that to work you have to have it on Windows PATH env.
variable, and not PYTHONPATH.
That's cuz Windows can't find the file you're passing to python.
[]'s
Rodolfo
tcp escreveu:
> Hi,
>
> New to Python...getting started with Django.
>
> I've just installed Django and and following s
Hi,
New to Python...getting started with Django.
I've just installed Django and and following some getting started
instructions.
I'm trying to run django-admin like this:
c:\myproject> python django-admin.py startproject iFriends
and I get this problem:
python: can't open file 'django-admin.
7 matches
Mail list logo