Re: How to get a Function object from a Frame object

2005-04-22 Thread Gigi
Greg Ewing wrote: Steven Bethard wrote: Gigi wrote: I need access to a function object that corresponds to a frame object in a certain case from inside the function. Can you look up the code's co_name in the previous frame's locals? You probably also need to check the previous frame's globals...

Noobie Question: Using strings and paths in mkdir (os.mkdir("/test/"a))

2005-04-22 Thread Shaun
Hello! I can't seem to get paths and variables working together: import os a = 'books' os.chdir( '/test') os.mkdir("/test/"a) the last line does not seem to work. os.mkdir(a) makes the directory books, but i want this directory as a subdirectory of test. I also tried: os.mkdir("/test/",a), and

Re: time.strftime in 2.4.1 claims data out of range when not

2005-04-22 Thread Brian van den Broek
Sheila King said unto the world upon 2005-04-22 02:45: I have a web app that has been running just fine for several months under Python 2.2.2. We are preparing to upgrade the server to run Python 2.4.1. However, part of my web app is throwing an error on this code (that has previously worked wit

Re: Noobie Question: Using strings and paths in mkdir (os.mkdir("/test/"a))

2005-04-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-04-22 00:13:05 -0700: > Hello! > > I can't seem to get paths and variables working together: > > import os > a = 'books' > os.chdir( '/test') > os.mkdir("/test/"a) > > the last line does not seem to work. os.mkdir(a) makes the directory > books, but i want this direct

Re: regarding system function

2005-04-22 Thread praba kar
--- Robert Kern <[EMAIL PROTECTED]> wrote: > praba kar wrote: > > Dear All, > > > > In Php If I send a command to system function > > then It will return 1 on success and 0 on failure. > So > > based upon that value I can to further work. > > > > But In Python If I send a command to s

Re: regarding system function

2005-04-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-04-22 08:35:33 +0100: > > --- Robert Kern <[EMAIL PROTECTED]> wrote: > > praba kar wrote: > > > In Php If I send a command to system function > > > then It will return 1 on success and 0 on failure. > > > So based upon that value I can to further work. > > > > > >

Re: regarding system function

2005-04-22 Thread Robert Kern
praba kar wrote: I agree above statement but When I delete a directory os.system('rm -rf test') 0 if directory is not present then I again try to delete os.system('rm -rf test') now this time also It will print 0 As Roman Neuhauser says, this is the correct behavior of the -f switch for rm. In [

Re: regarding system function

2005-04-22 Thread Fredrik Lundh
"praba kar" wrote: > I agree above statement but When I delete a directory > os.system('rm -rf test') > 0 > if directory is not present then I again try to > delete > os.system('rm -rf test') > now this time also It will print > 0 so? if you read the "rm" man page, you'll find this little paragr

Re: To decode the Subject =?iso-8859-2?Q?=... in email in python

2005-04-22 Thread Dan Polansky
Max, thanks; that was helpful. Roman, your explanation was helpful as well. Dan -- http://mail.python.org/mailman/listinfo/python-list

Re: Pattern Matching Given # of Characters and no String Input; use RegularExpressions?

2005-04-22 Thread Synonymous
Hello! I was trying to create a program to search for the largest common subsetstring among filenames in a directory, them move the filenames to the substring's name. I have succeeded, with help, in doing so and here is the code. Thanks for your help! --- Code --- #This program was created wit

Re: deprecation of has_key?

2005-04-22 Thread Just
In article <[EMAIL PROTECTED]>, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > "Steven Bethard" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Ahh, ok. Now I understand. I think you could probably search the > > python-dev archives and see why the decision was made as it was.

Re: Run Unix shell command $ parse command line arguments in python

2005-04-22 Thread Simon Brunning
On 21 Apr 2005 23:39:03 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Kindly suggest me some ideas/comments. Why don't you make a start, and come back to us with whatever problems you encounter? We're happy to help, but we aren't going to do it for you. Andrew Dalke's "Wrapping command-li

Re: Noobie Question: Using strings and paths in mkdir (os.mkdir("/test/"a))

2005-04-22 Thread Simon Brunning
On 4/22/05, Roman Neuhauser <[EMAIL PROTECTED]> wrote: > > import os > > a = 'books' > > os.chdir( '/test') > > os.mkdir("/test/"a) > > > > the last line does not seem to work. os.mkdir(a) makes the directory > > books, but i want this directory as a subdirectory of test. > http://docs.python.

Re: Regular Expressions - Python vs Perl

2005-04-22 Thread Ville Vainio
> "Ilpo" == Ilpo NyyssÃnen writes: Ilpo> James Stroud <[EMAIL PROTECTED]> writes: >> Is it relevant that Python can produce compiled expressions? I >> don't think that there is such a thing with Perl. Ilpo> The problem in python here is that it needs to always Ilpo> reco

pylab strange error message

2005-04-22 Thread [EMAIL PROTECTED]
I found this error message when I import pylab. from pylab import * Error message: Microsoft Visual C++ Runtime Library Assertion failed! Program:c\python24\python.exe File:CXX/cxx_extentions.cxx Line:1031 Expression: ob_refcnt == 0 For information on how your program can cause an assertion fail

Re: How to prevent Tkinter frame resize?

2005-04-22 Thread Martin Franklin
[EMAIL PROTECTED] wrote: I am trying to prevent a user from resizing a frame beyond its "natural" size as given by winfo_reqwidth and winfo_reqheight, without any success. Can anyone make any suggestions, based on my code below? Thanks! from Tkinter import * class Table(Frame): def __init__(sel

Re: Run Unix shell command $ parse command line arguments in python

2005-04-22 Thread hue
Thanks for your reply I started writing the script.. I have gone through documentation for getopt import string, getopt, sys def usage(): print '''myscript.py -- uses getopt to recognize options Options: -n -- No -t -- T -h -- help -i -- i -o -- Outp

Re: time.strftime in 2.4.1 claims data out of range when not

2005-04-22 Thread Raymond Hettinger
[Sheila King] > I have a web app that has been running just fine for several months under > Python 2.2.2. > > We are preparing to upgrade the server to run Python 2.4.1. > > However, part of my web app is throwing an error on this code (that has > previously worked without exception): > > >>> time.

Re: Run Unix shell command $ parse command line arguments in python

2005-04-22 Thread Simon Brunning
On 22 Apr 2005 03:16:02 -0700, hue <[EMAIL PROTECTED]> wrote: > Thanks for your reply > > I started writing the script.. I have gone through documentation for > getopt (snip) Good start. I tend to prefer optparse over getopt these days, but if you've got it working the way you want it, you shoul

Re: Persistent python object and the Web

2005-04-22 Thread bruno modulix
[EMAIL PROTECTED] wrote: Hi, I'd like to know if I am trying to do something impossible or I am just being unable to find how to do it. In the latter case, please... help me... (snip) > My problem is that I don't know how to create a graph_object that remains persistent through time (it has to be t

Re: Regular Expressions - Python vs Perl

2005-04-22 Thread Ilpo Nyyssönen
Ville Vainio <[EMAIL PROTECTED]> writes: >> "Ilpo" == Ilpo Nyyssönen writes: > > Ilpo> The problem in python here is that it needs to always > Ilpo> recompile the regexp. I would like to have a way to write a > Ilpo> regexp as a constant and then python should compile that > I

Re: XML parsing per record

2005-04-22 Thread Willem Ligtenberg
This is all the info I need from the xml file: ID --> 320632 Name --> Pzp Startbase --> 126957426 126989473 51860

Re: whitespace , comment stripper, and EOL converter

2005-04-22 Thread M.E.Farmer
Hello Jean, Glad to see your still playing along. I have tested your script and it is broken too :( Good idea about checking for the ':' , it just doesn't cover every case. This is the very reason I had not included docstring support before! The problem is more diffcult than it first appears, I am

__init__.py question

2005-04-22 Thread codecraig
Ok, I have the following directory structure C:\pycode --> blah.py --> mynewdir --> __init__.py --> abc.py [[ C:\pycode\mynewdir\abc.py ]] def doFoo(): print "hi" def doBar(): print "bye" [[ C:\pycode\mynewdir\__init__.py ]] from mynewdir import * [[ C:\pycode\blah

Re: (Python newbie) Using XP-SP2/MSVC6: No Python24_d.lib, winzip barfs on Python-2.4.1.tar, cannot download bzip2

2005-04-22 Thread Bill Davy
> Traceback (most recent call last): >> File "", line 1, in ? >> ImportError: No module named SHIP >> > Two common problems here: > 1) There is no file *\SHIP.pyd where * is one entry of sys.path > 2) The capitalization is not correct. The file lookup will succeed, >but then, when "initSHIP(

Re: time.strftime in 2.4.1 claims data out of range when not

2005-04-22 Thread Kent Johnson
Raymond Hettinger wrote: Since the rules for handling missing, inconsistent, or out-of-range tuple fields are not defined, even that revision has some risk. To future-proof the code, use strptime() to generate a well-formed time tuple: strptime('%d-%d-%d' % (y,m,d), '%Y-%m-%d') (2005, 5, 15, 0, 0,

Re: How to run Python in Windows w/o popping a DOS box?

2005-04-22 Thread pyguy2
click on my computer Then select tools->folder options->File Types scroll down the where the py extension is defined, highlight it, click on advanced then highlight open and hit the edit button. There you should see python.exe with some other stuff, change it to pythonw.exe Then, in the future,

IDLE: How to point it to the Python executables I want it to see on Windows

2005-04-22 Thread Bill Davy
Assuming they run as a separate thread, I want to point IDLE to .../Debug/Python_d.exe one day and .../Release/Python.exe for the next. Also, is there any easy way to run the .../Debug/Python_d.exe so started under the MSVC debugger? tia, Bill -- http://mail.python.org/mailman/listinfo/py

Re: Regular Expressions - Python vs Perl

2005-04-22 Thread Roy Smith
[EMAIL PROTECTED] (Ilpo Nyyssönen) wrote: > Of course it caches those when running. The point is that it needs to > recompile every time you have restarted the program. With short lived > command line programs this really can be a problem. Are you speculating that it might be a problem, or saying

SSL Server Socket Support in Python?

2005-04-22 Thread André Søreng
I'm trying to create a SSL-enabled server in Python, and in the doc for the socket module: ssl(sock[, keyfile, certfile]) Initiate a SSL connection over the socket sock. keyfile is the name of a PEM formatted file that contains your private key. certfile is a PEM formatted certificate c

Re: SSL Server Socket Support in Python?

2005-04-22 Thread Jp Calderone
On Fri, 22 Apr 2005 14:59:59 +0200, André Søreng <[EMAIL PROTECTED]> wrote: I'm trying to create a SSL-enabled server in Python, and in the doc for the socket module: ssl(sock[, keyfile, certfile]) Initiate a SSL connection over the socket sock. keyfile is the name of a PEM formatted f

Re: XML parsing per record

2005-04-22 Thread Willem Ligtenberg
As I'm trying to write the code using cElementTree. I stumble across one problem. Sometimes there are multiple values to retrieve from one record for the same element. Like this: ATP-binding cassette, subfamily G, member 1 ATP-binding cassette 8 How do you get not only the first, but the rest as w

Re: XML parsing per record

2005-04-22 Thread Willem Ligtenberg
By the way, I know about findall, but when I iterate thruogh it like: for x in function: print 'function', x I get: function function But ofcourse I want the information in there... On Fri, 22 Apr 2005 15:22:17 +0200, Willem Ligtenberg wrote: > As I'm trying to write the code using cE

Re: Why Python does *SLICING* the way it does??

2005-04-22 Thread Reinhold Birkenfeld
Roy Smith wrote: > import types > > class slicableDict (dict): > def __getitem__ (self, index): > if type (index) == types.SliceType: > d2 = slicableDict() > for key in self.keys(): > if key >= index.start and key < index.stop: >

Re: Why Python does *SLICING* the way it does??

2005-04-22 Thread Reinhold Birkenfeld
Reinhold Birkenfeld wrote: > Other possibility, probably faster when almost all keys in the range are in > the dictionary: > > class sdict(dict): > def __getitem__(self, index): > if isinstance(index, slice): > d = {} > for key in xrange(slice.start, slice.stop

Re: goto statement

2005-04-22 Thread Reinhold Birkenfeld
Grant Edwards wrote: > On 2005-04-21, Sergei Organov <[EMAIL PROTECTED]> wrote: > >> Well, I'm writing for embedded realtime systems in C/C++ and >> have never encountered a single need to use goto. > > I have encountered situations in C programs where the best > thing to use

Re: XML parsing per record

2005-04-22 Thread Fredrik Lundh
Willem Ligtenberg wrote: As I'm trying to write the code using cElementTree. I stumble across one problem. Sometimes there are multiple values to retrieve from one record for the same element. Like this: ATP-binding cassette, subfamily G, member 1 ATP-binding cassette 8 How do you get not only the

Re: time.strftime in 2.4.1 claims data out of range when not

2005-04-22 Thread Tim Peters
[Sheila King] > I have a web app that has been running just fine for several months under > Python 2.2.2. > > We are preparing to upgrade the server to run Python 2.4.1. > > However, part of my web app is throwing an error on this code (that has > previously worked without exception): > > >>> time.

Re: goto statement

2005-04-22 Thread Reinhold Birkenfeld
Grant Edwards wrote: > On 2005-04-21, Sergei Organov <[EMAIL PROTECTED]> wrote: >> Grant Edwards <[EMAIL PROTECTED]> writes: >> >>> On 2005-04-21, Peter Maas <[EMAIL PROTECTED]> wrote: >>> > Maxim Kasimov schrieb: >>> >> but what if i just can't to do this becouse i'm working thrue ssh, and >>> >>

Re: XML parsing per record

2005-04-22 Thread Willem Ligtenberg
As you can read in the other post of mine, my problem was with the iterating through the list. didn't know that you should do. e.text. I did only print e, not print e.text Did read documentation, but must admit not everything. Anyway, thank you very much! On Fri, 22 Apr 2005 15:47:08 +0200, Fredr

Re: XML parsing per record

2005-04-22 Thread Fredrik Lundh
Willem Ligtenberg wrote: By the way, I know about findall, but when I iterate thruogh it like: for x in function: print 'function', x I get: function function But ofcourse I want the information in there... for x in function: print 'function', x.text -- http://mail.python.org/mailman/l

Re: goto statement

2005-04-22 Thread Grant Edwards
On 2005-04-22, Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote: Sure, but what about the case where his program is on paper tape and all he has for an editor is an ice pick? >>> >>> Then inserting goto doesn't seem to be an acceptable option >>> either ;) >> >> Scissors, tape, and a box f

Re: goto statement

2005-04-22 Thread Peter Hansen
Grant Edwards wrote: Sure, but what about the case where his program is on paper tape and all he has for an editor is an ice pick? Paper tape? Luxury -- http://mail.python.org/mailman/listinfo/python-list

Problem deriving a class from the built-in file object

2005-04-22 Thread Pierre Rouleau
Hi all! I'm trying to extend the functionality of the file object by creating a class that derives from file. MyFile class re-implements __init__(), write(), writelines() and close() to augment the capabilities of file. All works fine, except for one thing: 'print >> myfile' does not execute

Re: Regular Expressions - Python vs Perl

2005-04-22 Thread Ville Vainio
> "Ilpo" == Ilpo NyyssÃnen writes: Ilpo> Of course it caches those when running. The point is that it Ilpo> needs to recompile every time you have restarted the Ilpo> program. With short lived command line programs this really Ilpo> can be a problem. I didn't imagine it could

Re: Regular Expressions - Python vs Perl

2005-04-22 Thread Terry Hancock
On Thursday 21 April 2005 09:01 am, codecraig wrote: > I am interested in regular expressions and how Perl and Python > compare. Particulary, I am interested in performance (i.e. speed), > memory usage, flexibility, completeness (i.e. supports simple and > complex regex operations...basically is

Re: Why Python does *SLICING* the way it does??

2005-04-22 Thread Peter Hansen
Rocco Moretti wrote: Steve Holden wrote: The principle of least surprise is all very well, but "needless surprise of newbies" is a dangerous criterion to adopt for programming language design and following it consistently would lead to a mess like Visual Basic, which grew by accretion until Micr

Re: Resolving 10060, 'Operation timed out'

2005-04-22 Thread Peter Hansen
willitfw wrote: I'm including the code that I've been using. I am relatively new to python, and not sure if a socket was created: * import socket socket.setdefaulttimeout(None) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) The last line above creates a socket... and I su

Re: trying to read from dying disk

2005-04-22 Thread Mike Meyer
[EMAIL PROTECTED] writes: > I have a python file that is trying to read raw data from a raw > partition on a dying dist, eg > > f = file('/dev/sda') > f.seek(SOMEWHERE) > s = f.read(SOMEBYTES) > > On some blocks, the read succeeds, on others it fails and an IOError is > thrown, and on others

Re: Overiding error message when using a python program

2005-04-22 Thread Brian van den Broek
Sion Arrowsmith said unto the world upon 2005-04-22 13:00: Brian van den Broek <[EMAIL PROTECTED]> wrote: you've not included the part of your code which acts on the user's input. I think you'll find the answer to the question of where the code that acts on the user's input lies here: (And your

Spamming nut won't go away

2005-04-22 Thread Johnny Gentile
There is no God. OK, Ron, discuss. Ron wrote: > Reports to [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED], [EMAIL PROTECTED] > > And do not feed the troll! -- http://mail.python.org/mailman/listinfo/python-list

Re: Confusing: Canvas image working in function but not in class

2005-04-22 Thread Mudcat
I will answer my own question in case anyone else ever has this problem. I knew the problem (although some say it's not) existed with the namespace of pictures, that if you didn't save the pictures in persistent memory they would disappear as soon as the function that called them was exited. So a

Re: Python licence again

2005-04-22 Thread Robert Kern
John Machin wrote: On Fri, 22 Apr 2005 17:26:19 -0700, Robert Kern <[EMAIL PROTECTED]> wrote: While you can, sort of, and people have already pointed out the appropriate web page to you, I ask that you *don't* use the PSF License. The PSF License uses proper nouns that you will have to change[1]

Python Imaging Library and PyGTK - color image path?

2005-04-22 Thread Jeremy Bowers
I have an image in the Python Image Library. I'm trying to get it into PyGTK in color. Is there any way to do this cross-platform, preferably without writing to anything to the disk? PIL apparently can't write XPMs. GTK will only take XPMs, that I can see. Therein lies the rub. I can ship over mon

Re: python classes/file structure

2005-04-22 Thread Terry Hancock
On Thursday 21 April 2005 08:48 am, codecraig wrote: > widget = gui.MyCustomWidget.MyCustomWidge() > > ...seems weird, how should I structure this? Is it not common to have > one class in a .py? No, it isn't really. Usually, there will be several related classes in a single module. Only if the

Re: grouping subsequences with BIO tags

2005-04-22 Thread Steven Bethard
Michael Spencer wrote: Steven Bethard wrote: Bengt Richter wrote: On Thu, 21 Apr 2005 15:37:03 -0600, Steven Bethard <[EMAIL PROTECTED]> wrote: I have a list of strings that looks something like: ['O', 'B_X', 'B_Y', 'I_Y', 'O', 'B_X', 'I_X', 'B_X'] [snip] With error checks on predecessor relat

Re: a=[ lambda t: t**n for n in range(4) ]

2005-04-22 Thread Terry Hancock
On Friday 22 April 2005 06:44 pm, Scott David Daniels wrote: > Terry Hancock wrote: > > On Friday 22 April 2005 05:18 pm, [EMAIL PROTECTED] wrote: > > > > Perhaps you don't know how to call such functions? E.g.: > > a=[ lambda t: t**n for n in range(4) ] > a[2](3) > > 27 > > Didn't you notic

rudeness was: Python licence again

2005-04-22 Thread Michael . Coll-Barth
Laszlo, >>> Is it something like 'center' or 'color' for Americans and 'centre' or 'colour' for British people? Yes, exactly. >>> (Sorry to be offtopic) No need to apologize. I started to read the postings on this list and was dismayed at the depth of rudeness on here. I thought that python

Re: a=[ lambda t: t**n for n in range(4) ]

2005-04-22 Thread Terry Hancock
On Friday 22 April 2005 05:18 pm, [EMAIL PROTECTED] wrote: > Thanx for your replies. > > I'm looking for array of functions. > Something like a=[ sin(x) , cos(x) ] You had a list of lambda functions in your first post and in the subject line still. How is that not what you wanted? If you want an

Python callbacks & PyGILState_Release()

2005-04-22 Thread Randall Hopper
What is the correct way to propagate exceptions from Python callbacks? When I do this: Python -> C++ -> Python Callback (example attached) an exception raised in the callback doesn't make it back across C++ to Python. It appears that PyGILState_Release() at the bottom of the

Re: grouping subsequences with BIO tags

2005-04-22 Thread Michael Spencer
Steven Bethard wrote: Bengt Richter wrote: On Thu, 21 Apr 2005 15:37:03 -0600, Steven Bethard <[EMAIL PROTECTED]> wrote: I have a list of strings that looks something like: ['O', 'B_X', 'B_Y', 'I_Y', 'O', 'B_X', 'I_X', 'B_X'] [snip] With error checks on predecessor relationship, I think I'd do

Re: Python Imaging Library and PyGTK - color image path?

2005-04-22 Thread Jeremy Bowers
On Fri, 22 Apr 2005 22:43:13 -0400, Jeremy Bowers wrote: > (Use case, in case it matters: I am trying to embed a graphic into a text > widget. This is going fine. Because I want the text widget to be able use > different size text, and no one image can look right with everything from > 8pt to 40pt

Re: Regular Expressions - Python vs Perl

2005-04-22 Thread Ilpo Nyyssönen
"Fredrik Lundh" <[EMAIL PROTECTED]> writes: > so you picked the wrong file format for the task, and the slowest > tool you could find for that file format, and instead of fixing > that, you decided that the regular expression engine was to blame > for the bad performance. hmm. What would you reco

Re: internet explorer/firefox plugin/toolbar

2005-04-22 Thread Marcus Goldfish
> does anyone have any ideas as to how to go about creating a plugin/toolbar > for both/either the IE/Firefox browsers? For IE, checkout Browser Helper Objects (BHOs). Sample python code can be found at: http://aspn.activestate.com/ASPN/Mail/Message/ctypes-users/2263094 Marcus -- http://mail.pyt

A SOAPpy question... (Method Parameters)

2005-04-22 Thread [EMAIL PROTECTED]
I'm having difficulty sending out correctly named method parameters to a php soap server that I am running using SOAPpy. Idealy I would like to send XML that looks like this (which I cribbed from another client that works just fine) http://testuri.org";>

WHERE tiny pylibpcap example code that just uses next()???...

2005-04-22 Thread [EMAIL PROTECTED]
I'm trying to learn pylibpcap and would //really// love to see a **simple** example that just works. Can someone *please* send me any little app that just captures packets with next() command and prints bytes received?? If it only works on loopback interface that is fine. Thanks in advance.

Re: figuring out # of bytes

2005-04-22 Thread Jaime Wyant
On 22 Apr 2005 13:28:57 -0700, codecraig <[EMAIL PROTECTED]> wrote: > i want to the number of bytes in a string... > > is, len(x) accurate? > > so, x = "hi" > len(x) == 2 so that means two bytes? > > thanks No, that means that the string is two bytes in length. The number of bytes is depen

Re: Python licence again

2005-04-22 Thread Grant Edwards
On 2005-04-22, Will McGugan <[EMAIL PROTECTED]> wrote: >> How *do* you pronounce it? "Thurrow" seems to match >> how I say the word, along with everyone else I've >> ever met (until now?). > > I would pronounce it like 'thurra', since I'm Scottish. It always makes > me cringe when Americans pron

Re: a=[ lambda t: t**n for n in range(4) ]

2005-04-22 Thread El Pitonero
Bengt Richter wrote: > I still don't know what you are asking for, but here is a toy, > ... > But why not spend some time with the tutorials, so have a few more cards in your deck > before you try to play for real? ;-) Communication problem. All he wanted is automatic evaluation a la spreadsheet

Re: Frog 1.4 (web log aka blogging server)

2005-04-22 Thread limodou
great! How about change the bbcode like editor to FCKeditor? I think FCKeditor is much better, or make it as an optional editor which the user could select it himself. 2005/4/23, Irmen de Jong <[EMAIL PROTECTED]>: > I've released a new version of Frog, a web log > aka blogging server written in 1

Re: Python logos

2005-04-22 Thread Terry Hancock
On Friday 22 April 2005 01:12 pm, Adomas wrote: > this question has nothing to do with Python syntax, > or libraries, however... > > I'm looking for the so well-known python logo -- not > the boring "Python Powered", but the image of small > snake. However, the only such I could found was 32x32 >

Re: Python licence again

2005-04-22 Thread Robert Kern
Laszlo Zsolt Nagy wrote: Hi All! I know there has been a post about Python licencing but I have different questions. I tried to Google for "Python Licence" and "Python Licencing" but I could not find the answer. Is there a place where I can ready about Python licencing? (A FAQ maybe?) I really

BayPIGgies: May *THIRD* Thursday at Google (May 19)

2005-04-22 Thread Aahz
Pre-announcement: Our May meeting will be the *THIRD* Thursday, May 19. We will *NOT* be meeting the *SECOND* Thursday. This will be our first meeting at Google, with Alex Martelli's presention on design patterns. More details later! -- Aahz ([EMAIL PROTECTED]) <*> http://www

internet explorer/firefox plugin/toolbar

2005-04-22 Thread bruce
hi... this probably isn't the correct mailing list, but we're giving it a shot!! does anyone have any ideas as to how to go about creating a plugin/toolbar for both/either the IE/Firefox browsers? We're curious as to how to do this, and what languages/technologies you'd use to do this.. could it

Re: a=[ lambda t: t**n for n in range(4) ]

2005-04-22 Thread Bill Mill
On 22 Apr 2005 14:41:45 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I was thinking about something like the following; > > >>> a=[ t**n for n in range(4) ] > Traceback (most recent call last): > File "", line 1, in ? > NameError: name 't' is not defined > >>> > > or > > >>> a=[ lambda

Re: Python licence again

2005-04-22 Thread John Machin
On Fri, 22 Apr 2005 17:26:19 -0700, Robert Kern <[EMAIL PROTECTED]> wrote: >While you can, sort of, and people have already pointed out the >appropriate web page to you, I ask that you *don't* use the PSF License. >The PSF License uses proper nouns that you will have to change[1]. and don't fo

Test mail please ignore

2005-04-22 Thread Vedanta Barooah
-- *~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*Vedanta BarooahYM! - vedanta2006Skype - vedanta2006-- http://mail.python.org/mailman/listinfo/python-list

Re: grouping subsequences with BIO tags

2005-04-22 Thread Bengt Richter
On Fri, 22 Apr 2005 16:01:42 -0700, Michael Spencer <[EMAIL PROTECTED]> wrote: >Steven Bethard wrote: >> Bengt Richter wrote: >> >>> On Thu, 21 Apr 2005 15:37:03 -0600, Steven Bethard >>> <[EMAIL PROTECTED]> wrote: >>> I have a list of strings that looks something like: ['O', 'B_X',

Re: gui developing

2005-04-22 Thread Phil Thompson
On Friday 22 April 2005 9:26 pm, John J. Lee wrote: > "R. C. James Harlow" <[EMAIL PROTECTED]> writes: > > On Friday 22 April 2005 20:07, Grant Edwards wrote: > > > I've never tried Qt. > > > > Qt, in my opinion, is as excellent as python in the consistency stakes, > > has the best documentation ba