Re: Python development tools

2013-06-24 Thread Reed Xia
在 2013年6月24日星期一UTC+8上午4时40分07秒,cutems93写道: > Hello, > > > > I am new to python development and I want to know what kinds of tools people > use for python development. I went to Python website and found several tools. > > > > 1. Automated Refactoring Tools > > 2. Bug Tracking > > 3. Confi

Previous Question Answered - Thank You All For Your Replies

2013-01-09 Thread Reed, Kevin
Hello, My question concerning wiki.python.org unavailability has been answered. Thank you all for your assistance! You guys are awesome! For those of you who don't know, here's the info. http://mail.python.org/pipermail/python-list/2013-January/638182.html Thanks again, Kevin -- http://ma

wiki.python.org

2013-01-09 Thread Reed, Kevin
Hello, I have been unable to access wiki.python.org for two days. Is there a problem with the server, or is it me? Thank you much, Kevin C. Reed New Python User -- http://mail.python.org/mailman/listinfo/python-list

No trees in the stdlib?

2009-06-25 Thread Tom Reed
Why no trees in the standard library, if not as a built in? I searched the archive but couldn't find a relevant discussion. Seems like a glaring omission considering the batteries included philosophy, particularly balanced binary search trees. No interest, no good implementations, something oth

Re:Histogram and \lambda parameter of the laplacian curve.

2008-08-02 Thread Andrew Reed
even i am trying to generate this curve. are you able to generate this curve using matplotlib, because i was thinking to write a library for it. -- Andrew. >Thanks everyone for your earlier help. >I have to plot a histogram of values lets say [0.5,0.6,0.8,0.9].I guess the >histogram would show

Pythonically extract data from a list of tuples (getopt)

2008-04-23 Thread Mark Reed
So the return value from getopt.getopt() is a list of tuples, e.g. >>> import getopt >>> opts = getopt.getopt('-a 1 -b 2 -a 3'.split(), 'a:b:')[0]; opts [('-a', '1'), ('-b', '2'), ('-a', '3')] what's the idiomatic way of using this result? I can think of several possibilities. For options not a

Tidy module?

2008-04-17 Thread Mark Reed
Is there an easy_installable egg with an interface to libtidy? I found µTidy, but it looks like an inactive project, with no updates since 2004, so I'm skeptical of its reliability. I found mxTidy, but it's only available as part of some larger distribution, and I don't want to replace my Python

Re: [Tutor] Spaces and tabs messing up code

2008-01-08 Thread Reed O'Brien
On Jan 8, 2008, at 7:49 PM, Bill Campbell wrote: > On Tue, Jan 08, 2008, [EMAIL PROTECTED] wrote: >> >> my friend uses vim Small editors for small minds;) >> >> and i use xemacs >> >> so our shared python code is a mix of tabs and spaces and it is >> hard >> for him to edit it in vim >

Re: subprocess leaves child living

2007-06-07 Thread reed
On Jun 5, 7:58 am, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: > Hi, When I do a small program like > > from subprocess import Popen > popen = Popen(["ping", "google.com"]) > from time import sleep > sleep(100) > > start it and kill it, the ping process lives on. > Is there a way to ensure that

Re: Python Pop Quiz

2007-06-02 Thread reed
On Jun 1, 10:33 pm, [EMAIL PROTECTED] wrote: > 1. Do you like Python? 0 > 2. Do you think Python is good? 0 > 3. Do you think Python is real good? 0 > 4. What is your favorite version of Python? 2.4+ > 5. Because of Python, do you think it will be easier to take over the > world? If so, when? I

Re: Trouble killing a process on windows

2007-06-02 Thread reed
On Jun 2, 12:27 pm, Thomas Nelson <[EMAIL PROTECTED]> wrote: > Hi, I'd like to start a program, run it for a while, then terminate > it. I can do this on linux, but I'm new to working with windows. > Here's my script: > > from subprocess import Popen > from time import sleep > import win32api > wa

Re: SMTPlib Sender Refused?

2007-06-02 Thread reed
On Jun 2, 1:20 pm, erikcw <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to send an email message with python, and I'm getting this > error: > > Traceback (most recent call last): > File "wa.py", line 430, in ? > main() > File "wa.py", line 425, in main > smtp.sendmail(fromaddr, to, ms

Re: How to parse the os.system() output in python

2007-03-17 Thread Dave Reed
On Mar 17, 2007, at 8:28 PM, [EMAIL PROTECTED] wrote: > Hi, > > I use os.system() to execute a system command in python. > Can you please tell me how can I parse (in python) the output of the > os.system() ? > > Thank you. Sounds like you want os.popen, not os.system. http://docs.python.org/l

Re: Progress count in terminal (Mac OS X)

2007-01-11 Thread reed
> > for i in range(100): > > sys.stdout.write( "\r" + "count ", i,) >> sys.stdout.flush() > > print # done maybe Tommy Grav wrote: > This certainly does work when running the interpreter interactively, > but when inserted into a script it seems to buffer the

Re: fast pythonic algorithm question

2006-08-01 Thread David Reed
On Aug 1, 2006, at 11:13 AM, Diez B. Roggisch wrote: > Guyon Morée wrote: > >> Memory is no problem. It just needs to be as fast as possible, if >> that's what this is, fine. >> >> If not, I'd like to find out what is :) > > I'd say it is as fast as it can get - using hashing for lookups is O >

OT Re: getaddrinfo not found on SCO OpenServer 5.0.5

2006-07-21 Thread David Reed
On Jul 21, 2006, at 4:20 PM, Steve M wrote: > In case you haven't heard Microsoft is suing SCO for stealing his > Internet concepts and letters and numbers, so you should probably just > ditch OpenServer and get Debian like all the smart people have done. > > I guess the quality of SCO software h

Re: fetching a POST webpage...

2006-07-06 Thread reed
bruce wrote: > hi... > > i have the basic code to fetcha url/web page. however, i'm trying to fetch a > page that uses a FORM/POST. has anyone done this, i've tried a few times > without success. > > i've analyzed the data stream using Firefox/Livehttpheaders to get the HTTP > stream.. but i'm doi

Re: Python taught in schools?

2006-06-25 Thread David Reed
> > MilkmanDan wrote: >> I'll be a college freshman this fall, attending Florida Institute of >> Tech studying electrical engineering. >> >> I was considering taking some classes in programming and computer >> science, and I happened to notice that everything taught is using C >> ++. >> After furt

Re: Popen3 on Windows

2006-06-18 Thread reed
Jeffrey Barish wrote: > I have an application that has been working fine on Linux, but now I need to > port it to Windows XP. The program uses Popen3 to run another program. I > use Popen3 so that I can access the pid attribute, which I use to kill the > auxiliary program when necessary. Popen3

Re: Threads

2006-05-11 Thread David Reed
On May 11, 2006, at 8:02 PM, placid wrote: > > Carl J. Van Arsdall wrote: >> placid wrote: >>> Hi all, >>> >>> In Python, Threads cannot be paused, i remember reading this >>> somewhere, >>> so is there a way around this ? >>> >> >> When you say paused do you mean paused by an external source o

Re: hyperthreading locks up sleeping threads

2006-05-10 Thread David Reed
On May 10, 2006, at 5:39 PM, [EMAIL PROTECTED] wrote: > Grant > >> You might want to run some memory tests. > > We have multiple identical boxes and they all have the same problem. > > Olaf They might all have flaky memory - I would follow the other poster's advice and run memtest86 on them.

Re: GladeGen and initializing widgets at startup

2006-05-07 Thread David Reed
On May 7, 2006, at 4:24 AM, Aengys wrote: > Thank you for your reply! > > I finally managed to do what I wanted. Maybe a little side-remark > here. > In the article you have said that all changes to the init-method are > lost once you regenerate the file. I have tried it, and indeed all my > ch

Re: GladeGen and initializing widgets at startup

2006-05-06 Thread David Reed
On May 6, 2006, at 4:39 PM, Aengys wrote: > Hi all, > > Being struck by article 7421 of the linux journal > (http://www.linuxjournal.com/article/7421), I'll tried to give it a > go. > Mainly because I have done some experiments with Glade and found that > it is really easy to create good lookin

Re: ping

2006-04-14 Thread David Reed
On Apr 14, 2006, at 8:04 PM, david brochu jr wrote: > Thanks, > > Unfortunately substituting os.system with os.popen results in the > output being: > > ', mode 'r' at 0x009C4650> > ', mode 'r' at 0x009C4650> > ', mode 'r' at 0x009C4650> > ', mode 'r' at 0x009C4650> > > instead of giving me

Re: ping

2006-04-14 Thread David Reed
On Apr 14, 2006, at 6:30 PM, david brochu jr wrote: > I am trying to ping websites and output the results to a txt file: > > import os > > file = open("c:\python24\scripts\ip.txt") > redirect = open("c:\python24\scripts\log.txt","a") > > for x in file: > ping = "ping " + x > print >> redirect,

Re: how relevant is C today?

2006-04-08 Thread David Reed
On Apr 8, 2006, at 6:35 PM, Jorge Godoy wrote: > Mirco Wahab <[EMAIL PROTECTED]> writes: > >> "The Dice" (find tech jobs) has offerings >> (last 7 days, U.S. + unrestricted) for: >> *SQL 14,322 >> C/C++11,968 >> Java 10,143 >> ... >> Perl 3,332 >> PHP 730 >>

Re: New editions of several Python books.

2006-02-09 Thread David Reed
On Feb 9, 2006, at 3:59 PM, James Stroud wrote: > Magnus Lycka wrote: >> Programming Python, 3rd edition >> by Mark Lutz (Paperback - July 2006) >> >> Never a favourite of mine really, but a popular book... > > This one is like broccoli. Its good for you but it doesn't have > much flavor. > --

pipe related question

2005-11-21 Thread David Reed
Is there any way to have one program run another arbitrary program with input from stdin and display the output as if you had run it in a shell (i.e., you'd see some of the output followed by the input they typed in and then a newline because they pressed return followed by subsequent outp

Re: mxDateTime on Mac: Fatal Python Error

2005-03-07 Thread Dave Reed
On Monday 07 March 2005 17:51, M.-A. Lemburg wrote: > [EMAIL PROTECTED] wrote: > > I'm trying to get mxDateTime working on a Mac so that I can use pyscopg > > and cx_Oracle. The Egenix base package builds and installs quite > > happily, but then when I try to import it I get > > > > > >>>import

Re: Appeal for python developers (THIS IS A TROLL)

2005-03-05 Thread Dave Reed
On Saturday 05 March 2005 09:34, Thomas Rösner aka TRauMa wrote: > BOOGIEMAN wrote: > > Please include "goto" command in future python realeses > > I know that proffesional programers doesn't like to use it, > > but for me as newbie it's too hard to get used replacing it > > with "while", "def" o

introducing a newbie to newsgroups

2005-01-22 Thread Reed L. O'Brien
Super Sorry for the extra traffic. ;-) -- http://mail.python.org/mailman/listinfo/python-list

rotor replacement

2005-01-18 Thread Reed L. O'Brien
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption? cheers, reed -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Dave Reed
On Wednesday 29 December 2004 18:01, Alex Martelli wrote: > So -- ctypes is definitely getting a _mention_, at least... the issue > remains of whether we're talking one paragraph, like for all other > extending-tools that were already thus mentioned in the 1st edition, or > a couple of pages (I

Re: system requirements for python 2.4

2004-12-13 Thread Dave Reed
On Monday 13 December 2004 18:17, Martin v. Löwis wrote: > ben wrote: > > I'm trying to upgrade python from 2.2 to 2.4 on a RH9 system, and can't > > find any rpm that will let me install it. > > Is FC3 required for python 2.4? > > No. However, you may have to build Python yourself. Try using the

Re: Redirecting ./configure --prefix

2004-12-13 Thread Dave Reed
On Monday 13 December 2004 21:15, Dan wrote: > I suspect this isn't specifically a Python question, but I > encountered it with Python so I thought I'd ask here. > > I'm running Linux (Fedora 2), and just downloaded the Python 2.4 > kit. I did the following from my user account: > ./configur

Re: Protecting Python source

2004-11-29 Thread Dave Reed
On Monday 29 November 2004 14:13, Grant Edwards wrote: > On 2004-11-29, Peter Maas <[EMAIL PROTECTED]> wrote: > > > If the "reverse engineering" argument boils down to "protecting source > > doesn't make sense" then why does Microsoft try so hard to protect > > its sources? > > To avoid embaras