Issues with beginning Django use

2017-09-22 Thread Joey Steward
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

Fwd: Issues with python commands in windows powershell

2017-09-20 Thread Joey Steward
-- 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

Fwd: Issues with python commands in windows powershell

2017-09-20 Thread Joey Steward
-- 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

Fwd: Issues with python commands in windows powershell

2017-09-20 Thread Joey Steward
-- 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

Issues with python commands in windows powershell

2017-09-19 Thread Joey Steward
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

Fwd: Issues with pip installation on windows

2017-09-19 Thread Joey Steward
-- 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

meaning of numpy.fft coefficients

2011-07-08 Thread Joey
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

help: SIGABRT intermittent crash for threaded website crawleron python 2.4.4c1

2008-10-03 Thread Joey Bersche
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

help: SIGABRT intermittent crash for threaded website crawleron python 2.4.4c1

2008-10-03 Thread Joey Bersche
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

RE: python custom command interpreter?

2008-08-20 Thread joey boggs
-- 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

Re: python custom command interpreter?

2008-08-20 Thread joey boggs
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

python custom command interpreter?

2008-08-20 Thread joey boggs
nt me to some documentation I would be more than grateful. Thanks, Joey -- http://mail.python.org/mailman/listinfo/python-list

Re: Using win32ui.CreateFileDialog() to get the name of a file.

2005-11-19 Thread Joey C.
Okay, thank you. This worked very well. -- http://mail.python.org/mailman/listinfo/python-list

Using win32ui.CreateFileDialog() to get the name of a file.

2005-11-19 Thread Joey C.
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

Re: Setting a Limit to the Maximum Size of an Upload

2005-10-27 Thread Joey C.
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"]

Re: Setting a Limit to the Maximum Size of an Upload

2005-10-25 Thread Joey C.
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

Re: Setting a Limit to the Maximum Size of an Upload

2005-10-25 Thread Joey C.
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

Re: Setting a Limit to the Maximum Size of an Upload

2005-10-24 Thread Joey C.
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

Setting a Limit to the Maximum Size of an Upload

2005-10-24 Thread Joey C.
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

Re: Stupid Newbie Question Concerning CGI and Reading Forward Slashes

2005-05-31 Thread Joey C.
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

Stupid Newbie Question Concerning CGI and Reading Forward Slashes

2005-05-31 Thread Joey C.
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

Re: Best editor?

2005-04-06 Thread Joey C.
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

Re: Super Newbie Question

2005-04-05 Thread Joey C.
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