Hello,
I've been attempting to begin learning Django but have been having running
Django and Python commands on windows.
For example, when I run django-admin startproject mytestsite, I get the
following error message
django-admin : *The term 'django-admin' is not recognized as the name of a
cmdl
-- Forwarded message --
From: Joey Steward
Date: Tue, Sep 19, 2017 at 10:30 PM
Subject: Issues with python commands in windows powershell
To: python-list@python.org
Hello,
I've been having issues using basic python commands in windows powershell.
I'm new to programmi
-- Forwarded message --
From: Joey Steward
Date: Wed, Sep 20, 2017 at 10:09 AM
Subject: Fwd: Issues with python commands in windows powershell
To: python-list@python.org
-- Forwarded message --
From: Joey Steward
Date: Tue, Sep 19, 2017 at 10:30 PM
Subject
-- Forwarded message --
From: Joey Steward
Date: Tue, Sep 19, 2017 at 10:30 PM
Subject: Issues with python commands in windows powershell
To: python-list@python.org
Hello,
I've been having issues using basic python commands in windows powershell.
I'm new to programmi
hing
I've ran into in the past previous times trying to learn python for more
data analysis purposes.
Any help would be greatly appreciated!
Thanks a lot,
Joey Steward
--
https://mail.python.org/mailman/listinfo/python-list
-- Forwarded message --
From: Joey Steward
Date: Mon, Sep 18, 2017 at 3:26 PM
Subject: Issues with pip installation on windows
To: python-list@python.org
Hello,
I'm a new programmer who initially began learning python for bioinformatics
and data analysis applications, but
the list generated by numpy is of form [ a+bi, c+di, ...]
could anybody tell me the meaning of the coefficients a and b? I am
very confused about fourier transform!
information provided by numpy reference says Ak = Sum of a[m] *
exp{-2*pi * i * m * k / n} for m from 0 to n-1
Which part is a and
I've been experiencing an intermittent crash where no python
stacktrace is provided. It happens for a url downloading process that
can last up to 12 hours and crawls about 50,000 urls.
I'm using urllib2 for the downloads. There are 5-10 downloading
threads, and some custom website exploration co
I've been experiencing an intermittent crash where no python
stacktrace is provided. It happens for a url downloading process that
can last up to 12 hours and crawls about 50,000 urls.
I'm using urllib2 for the downloads. There are 5-10 downloading
threads, and some custom website exploration co
-- Forwarded message --
From: joey boggs <[EMAIL PROTECTED]>
Date: Wed, Aug 20, 2008 at 9:46 PM
Subject: Re: python custom command interpreter?
To: Derek Martin <[EMAIL PROTECTED]>
That was my first approach, but it's not clean enough
-point at interpreter
all the work and the frontend
is easily configured for any user to add directories.
* %post --interpreter #!/usr/bin/myinterpreter
** DROP /tmp/directory
** DROP /tmp/directory2*
joey boggs wrote:
>* In the end I'd like to be able to run a custom interpreter and just feed
*>* it one c
nt me to
some documentation I would be more than grateful.
Thanks,
Joey
--
http://mail.python.org/mailman/listinfo/python-list
Okay, thank you. This worked very well.
--
http://mail.python.org/mailman/listinfo/python-list
Hello.
I'm writing a program that creates a series of batch operations to
convert movies to be used on iPodLinux. The programs that do the
encoding and conversions are seperate from mine and all mine does is
use os.system() to call the program.
However, it needs to get an input file and an output
Yes, I see that now. I tried your method and it seemed to work fine
until I tried printing the filesize out.
def checkfilesize(thefile):
# Check the Size of the File
global filesize
thefile.seek(0,2)
filesize = thefile.tell()
thefile.seek(0)
print filesize
print conf["upmax"]
Oh, I'm sorry, I didn't understand what you meant at first.
Then I read your reply over again and noticed that you said that the
problem lied in os.path.getsize() when I tried to run it on the
contents of an open file.
I'll try the method you outlined now.
--
http://mail.python.org/mailman/listi
I'm afraid on my interpreter, this works.
>>> if os.path.getsize("C:\\Documents and Settings\\Joey\\Desktop\\file.txt")
>>> <= 1000:
>>> print "<= 1000."
<= 1000.
No problems there, as you can see.
--
http://mail.python.org/mailman/listinfo/python-list
Here is a basic overview of the variables included there.
params = cgi.FieldStorage()
I accidentally made a mistake when typing what the "thefile" variable
is.
thefile = params["upfile"].file
"upfile" is the CGI field that contains the file that I'm uploading.
As you can see, the if statement just
Hello,
I'm designing a small "briefcase" program that will allow me to quickly
upload, download, and delete files in a briefcase. The only real
things that I have left to do are to design a method for checking if
the file exists, preventing it from overwriting files from other
directories, and set
Steve Holden wrote:
> It's not a common question, but it's relatively easily answered. You are
> splitting everything but the filename off with os.path.split and then
> complaining about the result! Once you stop doing that your problem is
> solved.
Thus, it's a stupid newbie question. Thanks a l
enough. Thanks for all of your help and I'm sorry if this is a
question that has been asked 15 million times.
Joey C.
--
http://mail.python.org/mailman/listinfo/python-list
When I'm using Windows, I have found the Syn TextEditor
(http://syn.sourceforge.net) to be quite useful. It has basic syntax
highlighting, about enough for me and is quite compatible with FTP and
such. It supports Python pretty well. Its user interface is quite
easy yet pretty powerful. All in
To reply to many of your messages (I'm using Google right now due to
lack of a better newsreader at the moment), the issue with the
temporary file is that when I write something new to it, if the old
contents of the file was larger, not all of it will be overwritten.
So, the truncate() method will
23 matches
Mail list logo