Sridhar wrote:
Hi,
I am doing my undergrade CS course. I am in the final year, and would
like to do my project involving Python. Our instructors require the
project to have novel ideas. Can the c.l.p people shed light on this
topic?
You could write a Python program that writes novels.
--
http://
redirecting the stdout/stderr
from my C lib).
But I still have a problem with this solution (well, 2):
- it is *much* more complicated than any solution available on Unix like
systems (not really a problem, but),
- it not synchronous at all. And I'd like it to be so (or almost so).
David
Martin Blume wrote:
> I have a number-crunching application that spits out
> a lot of numbers. Now I'd like to pipe this into a python
> app and plot them using Tkinter, such as:
> $ number_cruncher | myplot.py
> But with Tkinter once I call Tkinter's mainloop() I
> give up my control of the app
k at the excellent Gnosis book on the subject (and very
much more further, but...):
http://gnosis.cx/TPiP/ which is freely available in text format.
David
--
http://mail.python.org/mailman/listinfo/python-list
David Douard wrote:
> Marcel van den Dungen wrote:
>
>> alex wrote:
>>> Hi,
>>>
>>> I am a beginner with python and here is my first question:
>>> How can I read the contents of a file using a loop or something? I open
>>> the file wit
tem would have with these calls)
-- David
--
http://mail.python.org/mailman/listinfo/python-list
Mabon Dane wrote:
I am new to python and took my first attempts at working with this
language today. Is there a market for people who work with Python?
Slavery is outlawed in most parts of the world these days :-)
--
http://mail.python.org/mailman/listinfo/python-list
include the status of the closed
bugs ... if a patch has been refused thats very different to it being
included. I usually end up opening the page to see what has happened,
would be nice if it was in the mail...
David
--
http://mail.python.org/mailman/listinfo/python-list
r = " ' "
Well, reading character by char until I have the list and then parse it all
myself.
I was hoping there was a pythonic way of doing this..
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
Let's say I have a list called, alist. If I pass alist to a function,
how can I get the name of it?
alist = range(10)
def afunction(list):
listName = list.__name__ (fails for a list object)
--
http://mail.python.org/mailman/listinfo/python-list
ctionary, and the value of the keys set to
null?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
I was wondering if anyone has implemented the rsync protocol in python.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
l scroll position as a parameter to a JavaScript. Does
anyone have such a solution or other advice for solving this?
Regards,
David
--
http://mail.python.org/mailman/listinfo/python-list
I have string text with language text records that looks like this:
'en' | 'the brown cow' | 'fr' | 'la vache brun'
Two or more language records can exist in each string (example above
shows 2 - but could contain more)
The second vertical line character in the example above is the record
break
Wow Robert that is incredible python magic! I am trying to figure out
what this is doing since my attempts were regex and some long string
splitting and collection.
Ok. So it is a list comprehension and then collection. What is zip
doing in the second line?
Regards
David
On Friday, July 1
Pretty amazing Devan! Great regex! Thank you.
Regards,
David
On Friday, July 1, 2005, at 02:29 AM, Devan L wrote:
> One line solution.
> dict(re.findall(r"'(.+?)' \| '(.+?)'(?:\s\||$)",yourtexthere))
>
> --
> http://mail.python.org/mailman/list
Thanks George! You guys are great! I am always learning. Python is
awesome!!
On Friday, July 1, 2005, at 02:33 AM, George Sakkis wrote:
> "Robert Kern" wrote:
>
>> Ignore the last message.
>>
>> translations = [x.strip(" '") for x in line.split('|')]
>> d = dict(zip(translations[::2], transla
run your unit test suite under its
control.
There's also http://www.softwareverify.com/pythonCoverageValidator
which is commercial.
-- David
--
http://mail.python.org/mailman/listinfo/python-list
;s seems to be a tough requirement for many of the existing
debuggers because the exceptions occur in code that has been called
out to from within a C++ layer, and thus have to be caught before the
C++ layer gets a chance to clear the exception.
-- David
--
http://mail.python.org/mailman/listinfo/python-list
Recently people testing Boost.Python with GCC on Linux have reported
that the extensions being tested have to be compiled with exactly the
same version of GCC as the Python they're being loaded into, or they
get mysterious crashes.
That doesn't correspond to my past experience; it has always been
Tom Anderson <[EMAIL PROTECTED]> writes:
> Comrades,
>
> During our current discussion of the fate of functional constructs in
> python, someone brought up Guido's bull on the matter:
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=98196
>
> He says he's going to dispose of map, filter, red
Bruno Desthuilliers <[EMAIL PROTECTED]> writes:
> I discovered FP with David Mertz's papers about FP in Python. I had
> never read nor write a line of lisp, scheme, haskell, caml etc before.
> And I'd certainly start thinking of choosing another MYFL if anonymous
>
Hi!
When I "compile" my python files with "python -OO " into pyo files
then they still contain absolute paths of the source files which is
undesirable for me. How can I deal with that?
Thank you.
David
--
http://mail.python.org/mailman/listinfo/python-list
V Sat, 09 Jul 2005 10:22:06 -0400, Peter Hansen napsal(a):
> David Siroky wrote:
>> When I "compile" my python files with "python -OO " into pyo files
>> then they still contain absolute paths of the source files which is
>> undesirable for me. How
ths of my modules which
have btw. the same base path as the main module so I would expect only
relative paths in the compiled files.
David
--
http://mail.python.org/mailman/listinfo/python-list
Why don't tuples support an index method?
It seems natural enough ...
Thanks,
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
Hello
It seems the grouping feature isn't behaving correctly.
In [1]: a = 'dfsf.oct.ocfe'
In [2]: b = re.match(r'^(.*?)\.', a); b.group()
'dfsf.'
The expected result is 'dfsf'. Why did the regexp grab that period at
the end?
David
--
http://mail.python.org/mailman/listinfo/python-list
Why does code snippet one work correctly, but not two. The only
difference is the placement of the "else". I know that indentation
affects execution, but how does it change behavior in the following
examples? Thank you.
1. for n in range(2, 10):
for x in range(2, n):
if n % x =
First, thanks to those who offered answers. They didn't really answer
my question, only because I had not worked through the example
sufficiently well. Doing this, I believe I understand what is
happening, and, if my understanding is correct, have discovered that for
other beginning and ending va
oked into it any time in
the last couple of years, though, so I don't know its status. I really
would suggest a serious look at Ada, though, if you want to develop
fast, industrial strength applications, or take advantage of built-in
concurrency support and lots of other goodies.
David
--
D
max wrote:
> David Smith <[EMAIL PROTECTED]> wrote in
> news:[EMAIL PROTECTED]:
>
>
>>range statements, the example doesn't work.
>>
>>Given that the beginning and ending values for the inner range
>>statement are the same, the inner range stateme
People,
I am looking for an introduction to python book. Hopefully with a windows orientation
ThanksDaveDave FickbohmUse Technology to the Fullest1250 45th st suite 200Emeryville, CA, 94608510 594 4151 voice
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.--
http://mail.pyth
People,
could someone please recommend a book on python. Ideally a windows oriented one ?
Thanks
DaveDave FickbohmUse Technology to the Fullest1250 45th st suite 200Emeryville, CA, 94608510 594 4151 voice__Do You Yahoo!?Tired of spam? Yahoo! Mail has
command printed the value of the variable I had
just set! Success, or so I thought. However, a subsequent echo command
from the command prompt still returned the old value of the variable.
I think running the script must start a new session and that variables
set in that session are only current a
"Ric Deez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a list:
> L1 = [1,1,1,2,2,3]
> How can I easily turn this into a list of tuples where the first element
> is the list element and the second is the number of times it occurs in
> the list (I think that this is referred
"niXin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can anyone direct me to where I can find free software to do the
following:
> Document Management Software
> ---
> 1. Written in PHP or Python
> 2. scanning feature - where I can scan a document
http://
I didn't get much from the discussion of Command Substitution. Any
tips on how to do that?
David
On Jul 21, 2005, at 10:12 PM, Dan Sommers wrote:
> On Thu, 21 Jul 2005 21:39:01 -0500,
> David Durkee <[EMAIL PROTECTED]> wrote:
>
>
>
>
>> I'm trying
"Harlin Seritt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a remote linux server where I can only access it via ssh. I have
> a script that I need to have run all the time. I run like so:
>
> python script.py &
>
> It runs fine. When I log off ssh I notice that the script
Newbie question:
I have been generally open to the proposal that list comprehensions
should replace 'map', but I ran into a need for something like
map(None,x,y)
when len(x)>len(y). I cannot it seems use 'zip' because I'll lose
info from x. How do I do this as a list comprehension? (Or,
more gen
This is my first post on this list, and I'm new to
Python.
I downloaded a content management system called Plone
and get the following error message when I try to
start it:
Plone Controller - [Plone Status]: pythonw.exe -
Application Error
The instruction at "0x009d3f09" referenced memory at
"0x0
Ed Leafe wrote:
> Should we have defensive code for every possible broken installation? We use
> a lot of the Python standard library modules, many dbapi-compliant modules,
> and, of course, wxPython. If someone mis-installs one of the pre-requisites,
> do you expect Dabo to catch that and pres
Mike Meyer wrote:
> Just out of curiosity, is there an OS out there where you can have the
> permissions needed to delete a directory without having the
> permissions needed to create it appropriately?
Not an OS, but AFS has a wider set of permissions (RLIDWKA - which, if I
remember correctly, ar
Paul Rubin wrote:
> I don't think you want to do this. Runtime type tags and the overhead
> of checking them on every operation will kill you all by themselves.
> Processors like that haven't been used much as Lisp targets either,
> for the same reasons. Pick a different language.
I was thinking
Why is a MultiFile object not an iterator?
For example if
mfp = multifile.MultiFile(fp)I cannot dofor line in mfp:
do_somethingRelated:MultiFile.next seems badly named.(Something like
next_section would be better.)Is this just historical accident or am I
missing the point?Thanks,Alan Isaac
--
ht
I am looking for a pure Python secure ftp solution.
Does it exist?
I would have thought that the existence of OpenSSL
would imply "yes" but I cannot find anything.
ftplib does not seem to provide any secure services.
I know about fptutil
http://codespeak.net/mailman/listinfo/ftputil
but that doe
"Eric Nieuwland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Do you want SFTP or FTP/S?
The latter.
> I'm having a look at FTP/S right now. That's a little
> more complicated, but it seems doable.
> If I succeed, I guess I'll donate the stuff as an extension to ftplib.
Great!
> David Isaac wrote:
> > I am looking for a pure Python secure ftp solution.
> > Does it exist?
"Andrew MacIntyre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I recall coming across an extension package (pretty sure it wasn't pure
> Pyt
"Alan Isaac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> http://www.lag.net/paramiko/
> However it requires the PyCrypto module.
> http://www.amk.ca/python/code/crypto
>
> Can you briefly outline how to use this as a client
> to upload and down files from a server using SFTP?
OK
cat
test" would produce output where the "testing" was on the same line as
your next command prompt, and can sometimes be missed visually.
> Can anyone confirm that? Is there any other way of opening a file for
> appending instead of a+?
Well, if you really just want appending, I'd just use "a". It creates
the file if necessary but always appends to the end. Of course, it's
not set up for reading, but you wouldn't need that for appending.
-- David
--
http://mail.python.org/mailman/listinfo/python-list
For more information, please see PEP 1
(http://www.python.org/peps/pep-0001.html) -- the type of which has also been
changed to Process.
Other good examples of Process PEPs are the release schedule PEPs, and I
understand there may be a new one soon.
(Please cc: any PEP-related mail to [EMAIL PROTECTED]
"Talin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I wanted to share
> this: a generator which returns all permutations of a list:
Try this instead:
def permuteg(lst): return ([lst[i]]+x
for i in range(len(lst))
for x in permute(lst[:i]+lst[i+1:])) \
or [[]
"Casey Hawthorne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It's hard to make "complete" permutation generators, Knuth has a whole
> fascicle on it - "The Art of Computer Programming - Volume 4 Fascicle
> 2 - Generating All Tuples and Permutations" - 2005
Can you elaborate a
"Eric Nieuwland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm having a look at FTP/S right now. That's a little
> more complicated, but it seems doable.
> If I succeed, I guess I'll donate the stuff as an extension to ftplib.
Just found this:
http://trevp.net/tlslite/
I haven
> > http://www.lag.net/paramiko/
"Alan Isaac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> sock.settimeout(20)
> sock.connect((hostname, port))
> my_t = paramiko.Transport(sock)
> my_t.connect(hostkey=None ,username=userna
People,
I am trying to determine the creation date of files in a folder.
I am using the following code to find the folder and confirm that files
exist in the folder. If someone could give me an idea how to check a
creation date it would be appreciated.
Thanks
dave
def delete_old_files (t:\dm\~
ng list to find out more?
http://www.gimp.org/mail_lists.html
Saluti,
David
--
David Trudgett
http://www.zeta.org.au/~wpower/
Così uno, il quale fin dalla nascita avesse avuto le gambe legate e
pure avesse trovato modo di camminare alla men peggio, potrebbe
attribuire la sua facoltà di muoversi preci
m 2.4.1 site-packages to 2.3.5's to make rdflib
available to 2.3.5 python?
Many thanks
David
--
http://mail.python.org/mailman/listinfo/python-list
People,
Can someone please tell me how to execute a python script in windows?
Thanks
DaveDave FickbohmUse Technology to the Fullest1250 45th st suite 200Emeryville, CA, 94608510 594 4151 voice--
http://mail.python.org/mailman/listinfo/python-list
Are you as mad about spam as I am? Are you frustrated with the
pessimism and lack of progress these last two years? Do you have
faith that an open-source project can do better than the big companies
competing for a lock-in solution? If so, you might be interested in
the Open-Mail project.
I'm w
On Thu, 25 Aug 2005 10:18:37 -0400, Peter Hansen <[EMAIL PROTECTED]>
wrote:
>David MacQuigg wrote:
>> Are you as mad about spam as I am? Are you frustrated with the
>> pessimism and lack of progress these last two years? Do you have
>> faith that an open-source pro
On Thu, 25 Aug 2005 13:22:53 -0400, François Pinard wrote:
>[David MacQuigg]
>
>> The key new features needed in a spam filter are the ability to
>> extract the sender's identity (not that of the latest forwarder), and
>> to factor into the spam score the reputation o
On Fri, 26 Aug 2005 10:36:28 -0400, François Pinard
<[EMAIL PROTECTED]> wrote:
>[David MacQuigg]
>
>> Getting these methods widely and effectively used is our big
>> challenge, and one that I hope to accomplish with my efforts.
>
>I wish one of these methods, ei
is to provide an open-source version of what big
companies are now paying millions for - spam appliances with
proprietary methods.
On Fri, 26 Aug 2005 23:20:05 GMT, [EMAIL PROTECTED] (John J. Lee) wrote:
>[David, in an earlier email]
>> reject. 15% will get an immediate accept withou
On 24 Aug 2005 13:48:13 -0700, "sonicSpammersGoToHellSmooth"
<[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I'm a newbie to Python, so I have a question about writing an
>application that also has a scripting ability. I'm thinking of Eric3
>as an example. It's written in Python, but it also has an inter
On Sat, 27 Aug 2005 16:56:03 -0500, Terry Hancock
<[EMAIL PROTECTED]> wrote:
>On Saturday 27 August 2005 03:21 am, David MacQuigg wrote:
>> There is a similar lack of interest in the academic community. None
>> of this is likely to lead to publications in scholarly journal
On 27 Aug 2005 17:00:07 -0700, "sonicSpammersGoToHellSmooth"
<[EMAIL PROTECTED]> wrote:
>Cool, I went to the UofA for my MS in ECE, 2000. I did my theses under
>Chuck Higgins. --
>http://neuromorph.ece.arizona.edu/pubs/ma_schwager_msthesis.pdf
>
>The tools we had were constantly underwhelming me,
Can you please remove me from the list starting tomorrow I am going an a weeks vacation.
I do not want people to get the "Dave Fickbohm is out of the office" message over and over
If I could be reinstated as of 9/12/05 it would be appreciated.
Thanks
DaveDave FickbohmUse Technology to the Fullest1
Is there a way to use old pyd files (Python 1.5.2) with a newer version
of Python without recompiling them?
Because the source code is not available anymore, I'm wondering whether
it's possible or not to change few bytes with a hex editor (version
number?). I'd like to give it a try since the modu
1-317 ERROR: Undefined symbol: .pthread_detach
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
Has anyone seen this before.
Thanks in Advance!
David
--
http://mail.pytho
Alessandro,
No, Im not trying to install a posix thread. I was just doing a straight
forward installation in AIX 4..3.3.
David
From: Alessandro Bottoni <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: Python on AIX 4.3.
Date: Wed, 14 Sep 2005 16:32:
Also, please update the Post-History header, adding the date(s) you
posted the PEP to the mailing lists and/or newsgroups.
And this time I'll remember to attach the file :-)
--
David Goodger <http://python.net/~goodger>
PEP: XXX
Title: Codetags
Version: $Revision$
Last-Modified: $D
I have an application in tkinter, one button call to another window,
but the position of this window is random, i' whish to ask at the
list, if exist a function to put the window in x position of the
screen, if exist, which function is it?...
thanks in advanced...
david
--
your C program natively on
Windows should solve the problem. Alternatively, if wxPython is
available for cygwin (possibly via cygwin's X server) then installing
it would also help.
David.
Alain Paschoud wrote:
> Hi all,
>
> I made a small dialog in WxPython. I can run the python
s:
cursor.execute("UPDATE product_attribute SET col1 = %s WHERE id = %s",
(index, record2[0]))
As for why the UPDATE has no effect, which version of MySQL are you
using?
David.
--
http://mail.python.org/mailman/listinfo/python-list
, IronPython and PyPy are two projects which you might
be interested in if execution performance is of interest to you.
http://www.ironpython.com/
http://codespeak.net/pypy/
David.
--
http://mail.python.org/mailman/listinfo/python-list
have no experience daemonizing a script so this help would be much
appreciated. I have found a couple of scripts googling on creating a
deemon but not work in this way.
Regards,
David
--
http://mail.python.org/mailman/listinfo/python-list
Hi jepler! This is a nice example. I will study it so I can better
see what each part is doing. I may have a couple of questions once I
have done this because I have not yet daemonized a process and I want
to be sure I understand before I attempt to run anything I create.
Many thanks.
David
ike cheating,
though. I wrote it recursively, as making one guess can lead to
another situation where the puzzle is still solvable but strategies
one and two get stuck. I've never seen it recurse more than twice
with a real puzzle. With a really gross test I call "ones test",
with iTunes' COM server? I have seen other
'Operation unavailable' messages in a few other mailing lists but was
unable to find any solutions to this problem.
Regards,
David
--
http://mail.python.org/mailman/listinfo/python-list
You could connect the currentChanged() or clicked() signals in your
QListView to a slot in some other object (perhaps the parent of the
QListView). When the signal is emitted, you can examine the state of
the item passed to the slot.
Hope this helps,
David
--
http://mail.python.org/mailman
Bas, you and I are both a little late to the sudoku python experience.
Here's my feeble attempt:
http://home.earthlink.net/~daliblume/Download/sudoku/index.html
Inspired by this article: http://somethinkodd.com/oddthinking/?p=21
Excellent strategies are provided by Dan Rice's blog:
http://sudokubl
See http://pynms.sourceforge.net/
Also see Google. :)
David.
--
http://mail.python.org/mailman/listinfo/python-list
You should also be aware of IronPython, although it is not suitable for
production use due to its reliance on a beta version of the .NET
runtime. In some future time, IronPython will probably be the cleanest
and simplest way to integrate Python with existing .NET code.
http://www.ironpython.com/
any of it's built-in firewall support be
enabled, and perhaps blocking access to your server's port?
-- David
--
http://mail.python.org/mailman/listinfo/python-list
'2,4': (2, 4),
'3,4': (3, 4)}
Note I'm using 0-based indexing, use range(1,n+1) and range(1,j+1)
instead if you really need it to be 1-based.
Also I'm using Python 2.3, I think in 2.4 you can take out the square
brackets and it would still work.
--
David Eppstein
Computer Science Dept., Univ. of California, Irvine
http://www.ics.uci.edu/~eppstein/
--
http://mail.python.org/mailman/listinfo/python-list
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Using zip(*[iter(l)]*N) or zip(*(iter(l),)*N) simply extends the above to
the
> general case.
Clearly true.
But can you please go into much more detail for a newbie?
I see that [iter(l)]*N produces an N element list with
> Alan Isaac wrote:
> > I see that [iter(l)]*N produces an N element list with each element
being
> > the same iterator object, but after that
> > http://www.python.org/doc/2.3.5/lib/built-in-funcs.html
> > just didn't get me there.
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL P
"Scott David Daniels" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]:
> Numarray is the future, Numeric is the "past",
This statement is not obviously true.
See the recent discussion on the developer lists.
(Search for Numeric3.)
Alan Isaac
--
h
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> A bug report on Sourceforge would help in getting the problem fixed for
the 2.5
> docs
Done.
> For the 'left-to-right' evaluation thing, that's technically an
implementation
> artifact of the CPython implementation, si
Erik Johnson wrote:
I am wanting to generate dynamic graphs for our website and would rather
not invest the time in developing the code to draw these starting from
graphics primitives. I am looking for something that is... "fairly robust"
but our needs are relatively modest: X-Y scatter plots w
ore of an argument for having
them included
David
--
http://mail.python.org/mailman/listinfo/python-list
tself.
Actually compiling extensions with mingw seems to work fine. Have you
tried it?
David
--
http://mail.python.org/mailman/listinfo/python-list
works for Python 2.4 as well.
But please just download it, try it out, and report any problems in a
separate thread here - I'm sure you'll find people more than willing to
help. The actual error messages etc will yield more valuable discussion
than any speculation now - or you might find it
Python 2.4 on Windows XP
In the python command-line the following works fine:
>>> from subprocess import *
>>> p = Popen('dir', stdout=PIPE)
>From within IDLE or PythonWin I get the following exception:
Traceback (most recent call last):
File "", line 1, in -toplevel-
p = Popen('dir', stdo
john san att.net> writes:
>
> How to install python under DOS and is there any Wxpython-like can be
> installed under dos?
>
> Thanks.
>
If you are looking for Windows installers then, yes. See:
http://www.wxpython.org/
http://www.wxpython.org/download.php#binaries
If you are really looking f
If you are using ipython on Windows then you will
have made sure you have Gary Bishop's readline
library as instructed in the ipython install
directions found at:
http://ipython.scipy.org/
Even if you use the standard commandline tool,
installing readline makes the basic command line a
lot eas
David S. alumni.tufts.edu> writes:
> I am sure it can be improved, but it was easy. By the
> way, it generates LaTeK.
LaTeX, rather.
--
http://mail.python.org/mailman/listinfo/python-list
r e.g.
> user-defined classes that have a __str__() defined.
That would be the wrong thing to do when the arguments are unicodes.
--
David Eppstein
Computer Science Dept., Univ. of California, Irvine
http://www.ics.uci.edu/~eppstein/
--
http://mail.python.org/mailman/listinfo/python-list
carry out his own sort of 'survey'
on how various communities respond to questions asked in the kind of way
he asked them ... See his web site.
David
--
http://mail.python.org/mailman/listinfo/python-list
ns before all the finds, as in this algorithm,
union-find is O(n).
However it might be easier to treat the input pairs as the edges of a
graph and apply a depth-first-search based graph connected components
algorithm.
--
David Eppstein
Computer Science Dept., Univ. of California, Irvine
http://www.i
1001 - 1100 of 3849 matches
Mail list logo