On Oct 25, 10:31 am, [EMAIL PROTECTED] wrote:
> Hello everyone,
>
> I've got a little issue, both programming and performance-wise. I have
> a set, containing objects that refer to other sets. For example, in a
> simple notation: (, ) (or in a more object-like
> display: se
On Oct 26, 6:29 pm, [EMAIL PROTECTED] wrote:
> On Oct 26, 6:56 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
>
> > On 10/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > Hello all
> > > It would be great if I could make a numbe
Hi!
I have a pager component.
This component is makes database slices (record sets) and it is use
query string's PageIndex element to identify the actual page.
This component is makes pager buttons in HTML to control.
Like this:
<< < 4 5 6 > >>
My problem that I need to search and I need to use
On Oct 27, 8:12?am, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Sat, 27 Oct 2007 10:24:41 +0200, Hendrik van Rooyen wrote:
> > So 0.002625**20 is a number so small that its about as close as you
> > can practically get to bugger-all, as it is le
http://eigenclass.org/hiki/xmpfilter
looks cool , anything like this for python? any reason that we culd
not do simmilar ?
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 27, 6:27 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Sat, 27 Oct 2007 17:10:13 +0000, [EMAIL PROTECTED] wrote:
> >http://eigenclass.org/hiki/xmpfilter
> > looks cool , anything like this for python? any reason that we culd
> > not do sim
On Oct 28, 12:45 pm, Anton Mellit <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am working on a Pari-Python module (see about GP/PARI
> athttp://pari.math.u-bordeaux.fr/). Similar project was started by
> Stefane Fermigier 12 years ago (you can find a post about it on this
> news
Im tryin to call a var thats sitting in a function, example:
class someclass(object):
somevar = open(blah, 'r').readlines()
def something():
for line in somevar:
print line
---
i guess im not gra
๑۩۞۩๑█ TAMIL SEX FREE LIVE๑۩۞۩๑█
NOTBIOTECHNOLOGEY ONLY SEX
FREE SEX LIVE SHOW FREE
ROMANCE SEX LIVE INDIAN SEX
๑۩۞۩๑█ TAMIL SEX FREE LIVE๑۩۞۩๑█
http://TAMIL-GIRLS-SEX-STILL.notlong.com
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 30, 10:25 am, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 30, 2007 at 01:09:38PM +0100, Boris Borcic wrote regarding Re:
> Iteration for Factorials:
>
>
>
> > Py-Fun wrote:
> > > I'm stuck trying to write a function
On Oct 30, 1:03 pm, barronmo <[EMAIL PROTECTED]> wrote:
> I'm new to programming and even newer to Python and would be grateful
> for some help on what has been a tough problem for me. The project I
> am working on is an electronic medical record using MySQL/Python. I'm
On Oct 30, 1:52 pm, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 30, 2007 at 11:37:57AM -0700, [EMAIL PROTECTED] wrote regarding
> Re: Iteration for Factorials:
>
>
>
>
>
>
>
> > On Oct 30, 10:25 am, "J. Clifford Dyer" <
Hi all,
I dare risk my brain exploding by reaching for the understanding of
metaclasses.
At first i thought i almost got them, even if vaguely back in a corner
of my mind, my understanding was that, as classes' class a metaclass
would be able to return a different class based on input...
... unt
On Oct 30, 5:08 pm, barronmo <[EMAIL PROTECTED]> wrote:
> Thanks to both of you for the help. I made several of the changes you
> suggested and am getting the results in the format I want, eg:
>
> 0 387 John Smith
> 1 453 Jane Smith
> 2 975 Joe Smithton
>
>
On Oct 30, 7:39?pm, barronmo <[EMAIL PROTECTED]> wrote:
> I didn't know "result" was a list!
I don't use MySQL but that's how others work.
Each list item is a record, each record a tuple
of field values.
> Can all that info be stored in a list?
If you
hi
i am new to python and PIL and was trying to write a class to read and
write RGB color model jpeg images..
i came up with this class below..i want to know if this is the way to
read/write the RGB color model jpeg..if anyone can give feedback (esp
on the methods writeImage1( ) and writeImage2(
Hi,
Official Python distro is very stable, with release cycle of around 1
year. However, to include the new version of SQLite, which has a much
shorter release cycle, one has to rebuild the main Python distribution
(to compile with the new SQLite headers) - this is from Python docs.
Therefore, inc
Hello all,
I want to create a shared object that my extension modules can
dynamically load with intact symbols across modules. Searching the
documentation lead me to distutils.ccompiler. Quite frankly
comprehending this has been difficult for the newbie in me. I did
google (..and krugle) for setup
On Oct 30, 10:46 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> The same as the difference between a class and a function that returns
> an instance.
Thanks Bruno.
Lorenzo
--
http://mail.python.org/mailman/listinfo/python-list
Marc
thanx for the reply..it wd help me to write better code..i was trying
to learn PIL and python and may be my java background made it
unpythonic..will try to improve it
again many thanx
dn
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 1, 11:54 am, barronmo <[EMAIL PROTECTED]> wrote:
> This is really remarkable. My previous experience with programming
> was in VB for Applications; doing the same thing seemed much more
> complicated. This little function is only about 15 lines of code and
> it form
hi
i am looking for an efficient way to get a specific column of a
numpy.matrix ..
also i want to set a column of the matrix with a given set of
values ..i couldn't find any methods for this in matrix doc..do i have
to write the functions from scratch?
TIA
dn
--
http://mail.python.org/mailma
I compiled Python from source on a bunch of my development machines
without enabling the readline modules. Is it possible to add readline
support after installation?
I really just want to get my "up arrow" history working...
--
http://mail.python.org/mailman/listinfo/python-list
I have found an excellent resource on understanding Windows
Application concepts and exam 070-306.
http://technical-talk.com/mc/mcsd/mcsd306.asp
--
http://mail.python.org/mailman/listinfo/python-list
posting to a form with no form name or it's just that i cant find the
form name.
can anyone explain how to either post to a form with no name or, find
the name of the form..here my current output, but i dont see a form
name, also, there is only 1 form on the page
https://somesite.com/login.html ap
On Nov 2, 12:04 am, "Ryan Ginstrom" <[EMAIL PROTECTED]> wrote:
> > On Behalf Of [EMAIL PROTECTED]
> > posting to a form with no form name or it's just that i cant
> > find the form name.
> > can anyone explain how to either post to a form with no na
On Nov 2, 12:04 am, "Ryan Ginstrom" <[EMAIL PROTECTED]> wrote:
> > On Behalf Of [EMAIL PROTECTED]
> > posting to a form with no form name or it's just that i cant
> > find the form name.
> > can anyone explain how to either post to a form with no na
While my question doesn't pertain specifically to python programming,
it is a result of developing a python module, so I'm hoping someone
here might have experience with this issue.
So, first a little background to how the system works right now. I am
developing a module for Python. The original c
Robert Kern wrote:
> [EMAIL PROTECTED] wrote:
>
> > So finally, my question is, is there a way to get distutils to simply
> > build a shared library on windows so that I can use ctypes with them???
>
> Not out-of-box, no. The OOF2 project has added a bdist_shlib command w
Martin v. Löwis wrote:
> Robert Kern schrieb:
> > To which I say that doing the type-checking and error handling is much
> > easier in
> > Python than using the C API. Add to that the tediousness of the
> > edit-compile-run
> > cycle of C and the finickiness of refcounting.
>
> Sure: edit-compil
ag given to the static linker has an impact,
> and so does the symbol visibility (hidden/internal/protected).
Ok, any other suggestions for things to try? Since all of the dlopen
calls happen in 3rd party code, I won't really be able to modify them.
I will try looking into more compile t
I'm trying to use FeedParser to parse out Yahoo's Weather Data. I need
to capture some attribute values, but it looks like FeedParser strips
them out. Is there any way to keep them?
XML Snippet:
...
...
When I try to get the value, it's empty:
>>> d = feedparser.parse('http://weather.yahooapis.
pened will not
see any of the symbols in my module?
I guess I'll have to look through the Python documentation to see if
they offer any work arounds to this problem.
~Doug
On Jan 10, 9:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > Did you verify, using nm -D,
def __init__(self, **kw):
self.argdict = kw
Emin wrote:
> Dear Experts,
>
> When writing large classes, I sometimes find myself needing to copy a
> lot of parameters from the argument of __init__ into self. Instead of
> having twenty lines that all basically say something like self.x = x, I
>
Volume Two of The Python Papers is on its way, and it would be great to
get some more words from the community in there. Submit your own quotes
to [EMAIL PROTECTED] to get a brief comment included in our
next publication. Please include any attribution information you
wish...
Let's get the
Hi,
Frequently I get to do like this:
a = (1, 2, 3, 4) # some dummy values
b = (4, 3, 2, 1)
import operator
c = map(operator.add, a, b)
I am finding the last line not very readable especially when I combine
couple of such operations into one line. Is it possible to overload
operators, so that, I
Paddy wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> > Frequently I get to do like this:
> > a = (1, 2, 3, 4) # some dummy values
> > b = (4, 3, 2, 1)
> > import operator
> > c = map(operator.add, a, b)
> >
> > I am finding the last line not ve
On Jan 11, 3:40 am, "Ames Andreas" <[EMAIL PROTECTED]> wrote:
> Have you already checked the output of LD_DEBUG=all or sth. like that?
Yes, that is how I initially knew that my libraries were not even being
processed when the linker tried to bind the symbol.
On Jan 10,
I don't know what it
is...
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] schrieb:
> > HELP!
> > Guy who was here before me wrote a script to parse files in Python.
> >
> > Includes line:
> > print u
> > where u is a line from a file we are parsing.
> > H
Yeah, that's what i don't know how to do.
Chris Mellon wrote:
> On 11 Jan 2007 13:28:14 -0800, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > HELP!
> > Guy who was here before me wrote a script to parse files in Python.
> >
> > Includes line:
&g
le, CONFIDENCE_HIGH, CONFIDENCE_LOW
parser = makeParser()
(options, args) = parser.parse_args()
if len(args) != 1:
parser.error("One data file must be specified.")
elif options.lower == None:
parser.error("A lower confidence level must be specified.&q
Jean-Paul Calderone wrote:
> On 12 Jan 2007 06:17:01 -0800, [EMAIL PROTECTED] wrote:
> >I'm happily using context managers and co-routines, and would like to
> >use both at the same time, e.g.
>
> Python has generators, not co-routines.
They may be called generators
Diez, you are awesome! This works! Thank you so much!!! You are so
awesome!
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] wrote:
>
> > Can you attach files in this forum? Couldn't find the option. Oh well,
> > here's the file.
> >
> > #!/usr/bin/python
>
[this revision supersedes what I posted to edu-sig
earlier today, a few typos fixed. Note that I'm not
actually signed up for Pycon at this time, just using
it as an exercise to polish my rap. All of the events,
persons and institutions mentioned herein are quite
real however].
===
Although I h
Instead of creating my buttons and waiting for me to press them to
execute they are executing when I create them and won't do my callback
when I press them.. thanks for any help in advance
button[num] = Tkinter.Button(frame,text = returnstring,
command=callback(returnstring))#
this line execute
print text
> return handler
>
> Otherwise callback returns the spectacularly un-useful value None.
>
> --Scott David Daniels
> [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ave to change on this line as
well.
button[num] = Tkinter.Button(frame,text = returnstring,
> command=callback(returnstring)
Gabriel Genellina wrote:
> <[EMAIL PROTECTED]> escribió en el mensaje
> news:[EMAIL PROTECTED]
>
> > Instead of creating my buttons and w
>
>
> $title
>
>
> #if user
> hello $user/name
> #else
> hello guest
> #endif
>
>
This example code would work in cheetah with only 2 changes...
www.cheetahtemplate.org
Pete
--
http://mail.python.org/mailman/listinfo/python-list
der
/usr/local/lib/svn-python/
cd /usr/local/lib/svn-python/
[EMAIL PROTECTED] svn-python]# ls
libsvn svn
But python still can't find it. Please tell me what am I missing. I
appreciate your help.
--
http://mail.python.org/mailman/listinfo/python-list
Kevin Wan wrote:
> fgen is a free command line tool that facilitates cross platform c++
> development, including header generation, cpp file generation, makefile
> generation, unit test framework generation, etc.
>
> http://sf.net/projects/fgen
>
> I'm not very familiar with Python. Any feedback a
I have a project available if you are intrested. It is a music package
that includes everything from tracker style editing to code generators
for fltk(generates csound and python code) and dot code generation..
There is a huge range of possible projects and a little debugging so
you can even have
[ slightly improved over Math Forum draft ]
Probably a fault line or cultural divide between acutely
differing schools of thought, is in this area of tiling
or mosaic making. Some schools consider this a stupid
waste of time, others a core topic, whereas a 3rd group
stays more neutral on the issue
http://www.ddj.com/184405774;jsessionid=BDDEMUGJOPXUMQSNDLQCKHSCJUNN2JVN
I saw a warning from homeland security about this. I only comment on
the because I am trying to use os.system('command1 arg') and it doesn't
work but I do see examples with % that is borrowed from the c language.
Seems like
def main():
print "Hello"
if __name__ == "__main__":
main()
Simply verify __name__ and run any function from there. This will cause
main() to be run if the script is run directly. I haven't used py2exe,
so I'm not sure if it still applies.
--Kevin
krishnakant Mane wrote:
> hello all.
Ghirai wrote:
> Hello python-list,
>
> I need to make a login form, if possible without cookies.
> Can anyone point me in the right direction? Or are there any
> examples?
>
> Thanks.
>
> --
> Best regards,
> Ghirai.
You'd do pretty good using the 'cgi' module, which is documented at
http://www.py
Type "help", "copyright", "credits" or "license" for more information.
>>> cmp(20.10, 20.9)
-1
Why is cmp returning -1 instead of returning positive integer?
--
http://mail.python.org/mailman/listinfo/python-list
I will give the formatting a try. I noticed another formatting thing I
wasn't looking for. It is possible to have a \n at the end of a word
or at least that is how it is shown and fixed through python 2.5. I
had an error where 36\n isn't a number. easy to fix though.
Jeremy Sanders wrote:
> S
W. Watson wrote:
> I downloaded python-2.5.msi and installed it. I believe its editor is IDE. I
> understand there's a Win editor called pythonwin. I believe it's in the
> download pywin32-210.win32-py2.5.exe, but I'm not sure if this exe file has
> just the editor or all of Python. Comments? If n
I don't know if this is helpfull or not but (or for that matter
current). http://cens.ioc.ee/projects/f2py2e/ offers some suggestions
and it looks like you can use it with c code also.
Tyler wrote:
> Hello All:
>
> After trying to find an open source alternative to Matlab (or IDL), I
> am curren
I'm at work so I can't test this, but I do beleive the inspect module
can help you out. If it can't you can always try import the module
in a try-catch statement, catching ImportError, however ImportError may
be raised if the module you imported has trouble loading another
module, but it shouln't b
I'm at work so I can't test this, but I do beleive the inspect module
can help you out. If it can't you can always try import the module
in a try-catch statement, catching ImportError, however ImportError may
be raised if the module you imported has trouble loading another
module, but it shouln't b
Can you please tell me why the following code does not work in python?
My guess is I need to convert 'count' from a string to an integer. How
can I do that?
And my understanding is python is a dynamic type language, should
python convert it for me automatically?
count = sys.argv[2]
for i in range(
Hi,
I am following this python example trying to time how long does an
operation takes, like this:
My question is why the content of the file (dataFile) is just '0.0'?
I have tried "print >>dataFile, timeTaken" or "print >>dataFile,str(
timeTaken)", but gives me 0.0.
Please tell me what am I miss
Stef Mientki wrote:
> there a too many (good) IDE's for Python ;-)
FWIW the Zeus for Windows IDE has Python support:
http://www.zeusedit.com/python.html
Zeus has standard IDE features like syntax highlighting,
integrated version control, project/workspace, class
browsing etc, but it does sma
Tommy Grav wrote:
> A very simple question. I would like to read a single character from the
> keyboard (y or n). I have tried to look in my Python books and a google
> search, but have come up empty. I am sure the info s out there, but I
> guess I am unable to find the right question or search ke
Just inclined to fire up python to decode the latter part, just to
realise i've got dictd binding yet ;-)
Probably injected 2 instances of pythons in the spammer thread, for
completion's sake.
--
http://mail.python.org/mailman/listinfo/python-list
:
useShell = True
del sys.argv[x]
break
if len(argv) < 2:
print "Please specify a demo module name on the command-line"
raise SystemExit
name, ext = os.path.splitext(argv[1])
module = __import__(name)
app = RunDemoApp
Hey,
I'm trying to wrap GNU readline with ctypes (the Python readline
library doesn't support the callback interface), but I can't figure out
how to set values to a variable inside the library. This is Python 2.5
on Linux. Here's what I have so far--if you comment out the memmove
call (3 lines)
On Jan 25, 5:47 pm, [EMAIL PROTECTED] wrote:
> On Jan 25, 9:25 am, "AKA gray asphalt" <[EMAIL PROTECTED]>
> wrote:
>
> > I downloaded Blender but there was no link for python. Am I on the right
> > track?
> Don't worry, Blender includes its own bundl
On Jan 25, 11:26 am, [EMAIL PROTECTED] wrote:
> Hmm, my while loop with "or" doesn't seem to work as I want it to...
> How do I tell the while loop to only accept "Y" or "y" or "N" or "n"
> input from the str(raw_input)?
&g
On Jan 25, 12:17 pm, John Nagle <[EMAIL PROTECTED]> wrote:
> My main concern is with glue code to major packages. The connections
> to OpenSSL, MySQL, and Apache (i.e. mod_python) all exist, but have major
> weaknesses. If you're doing web applications, those are standard
Here're three sample 3-6 min videos showing off Python to math
teachers
thinking about using a computer language instead of just calculators:
http://controlroom.blogspot.com/2007/01/python-for-math-teachers.html
Higher resolution versions are available to teachers enrolling in our
program.
Ki
helo ppl!
i wrote a small mp3 streaming server called "csikk" in python using
basehttpserver.
you can give it a try if you wish:
http://code.google.com/p/csikk/
actually i need help in compiling an osx binary for my app, cause i
don't own a mac. i wonder if anyone could help me.
thanks in adv
On Jan 29, 7:57 pm, "Drew" <[EMAIL PROTECTED]> wrote:
> I'm looking to add an element to list of items, however I'd like to
> add it at a specific index greater than the current size:
>
> list = [1,2,3]
> list.insert(10,4)
>
> What I'd like to s
On Jan 29, 2:55 pm, "jupiter" <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I have a problem. I have a list which contains strings and numeric.
> What I want is to compare them in loop, ignore string and create
> another list of numeric values.
>
> I tried in
On Jan 29, 1:10 pm, "Drew" <[EMAIL PROTECTED]> wrote:
> > What is your actual usecase?
>
> > diezThe issue is that I don't know how long the list will eventually be.
> Essentially I'm trying to use a 2D list to hold lines that I will
> eventually
I realized my wrapping was broken, fixing that below...
On Jan 25, 12:47 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I'm trying to wrap GNU readline withctypes(the Python readline
> library doesn't support the callback interface), but I can't figure
Hello,
I'm writing a python script for Amarok, I communicate with Amarok
using DCOP.
Now, I have to call DCOP very often and I noticed that every time I
make a DCOP call my program keeps growing in memory size.
To make sure it was DCOP i wrote the small program below:
from dcopext import DCOPC
On Jan 30, 5:07 am, "NoName" <[EMAIL PROTECTED]> wrote:
> WOW! :shock:
>
> in this case:
>
> while 1:i=__import__;print
> i('binascii').b2a_base64(i('os').urandom(6)),;raw_input()
>
> > :)
raw_input can do the job of print
while 1: r
On Jan 30, 11:28 pm, Walter Dörwald <[EMAIL PROTECTED]> wrote:
>
> codecs.register_error("transliterate", transliterate)
>
>Walter
Really, really slick solution.
Though, why was it [:1], not [0]? ;-)
And one more thing:
> def transliterate(exc):
On 31 jan, 01:03, Larry Bates <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello,
>
> > I'm writing a python script for Amarok, I communicate with Amarok
> > using DCOP.
> > Now, I have to call DCOP very often and I noticed that every tim
On 31 jan, 19:51, "David Boddie" <[EMAIL PROTECTED]> wrote:
> On Jan 31, 6:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > The code I posted is not my actual program and was only to demonstrate
> > my problem. The complete program I
On Jan 31, 1:50 pm, Laszlo Nagy <[EMAIL PROTECTED]> wrote:
> Andy Dingley írta:> I run build processes for a Java shop using Python (and
> some Ant).
>
> > Would anyone care to suggest favoured tools for manipulating the
> > innards of JARs? Or do I just treat
Hello dear community !
I'm a bit ashamed to ask such an easy question, but I didn't find my
answer on previous posts.
I'd like to copy files with FTP protocol in a subdirectory.
So far, my code look like that :
import ftplib
session = ftplib.FTP('222.33.44.55','usr','pwd')
session.cwd('/')
Thanks a lot Diez and Gabriel.
It works perfectly !
Have a nice day
Yvan
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 2, 2:26 pm, Mister Newbie <[EMAIL PROTECTED]> wrote:
> "Terry Reedy" <[EMAIL PROTECTED]> wrote innews:[EMAIL PROTECTED]:
>
>
>
>
>
>
>
> > "Mister Newbie" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED
On Feb 2, 4:34 pm, John Nagle <[EMAIL PROTECTED]> wrote:
> Mister Newbie wrote:
> > I have no programming experience. I want to learn Python so I can make
> > simple, 2D games. Where should I start? Can you recommend a good book?
>
> > Thank
I'm trying to install PyWinAuto for Python 2.4. It said that one of
the required libraries that I need to install would be CTypes. So I
head over to CTypes's SourceForge page and I installed CTypes for
Python 2.4. I go to run the PyWinAuto installation file and it throws
up this error:
C:\WINDOWS\
On Feb 3, 2:16 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>,
>
> [EMAIL PROTECTED] wrote:
> > pygame is probily a good program to start with as long as you keep in
> > mind that it is possible that up to 50% of the
On Feb 3, 1:43?pm, gonzlobo <[EMAIL PROTECTED]> wrote:
> No, I don't want to destroy them (funny how the word 'decimate' has
> changed definition over the years) :).
>
> We have a data acquisition program that saves its output to Excel's
> .xls format. Unf
I forgot to mention I am running Windows 98SE.
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 4, 7:26 am, "Mark" <[EMAIL PROTECTED]> wrote:
Hey, I really appreciate you responding to my post. I've been on this
problem for some days now and it was getting to me. Sad that pywinauto
doesn't run on Win98SE, are there any other Python libraries for
'au
On Feb 3, 11:40 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>, vishal wrote:
> > I am trying to work out a regular expression in a PyQt environment for
> > time in hh:mm:ss format. Any suggestions?
>
> Maybe don't u
do know that re-writing stuff is a real
pain.
Perhaps APIs for 2.5 and 3.0 could have a special version flag, and if
not present or not compatible, a 2.4 interpreter could be called
instead...
Cheers,
-T
On Feb 5, 8:01 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Sun, 4 Feb 2
Hi,
I am looking for links to any implementation of Steiner Tree (
http://en.wikipedia.org/wiki/Steiner_tree ) construction in Python. I
could find GeoSteiner ( http://www.diku.dk/geosteiner/ ) which is
implemented as a C program. Anybody know python wrapper for this?
Anybody tried this program in
John Nagle wrote:
> Graham Dumpleton wrote:
> > On Feb 4, 1:05 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> >
> >>"Paul Boddie" <[EMAIL PROTECTED]> writes:
> >>
> >>>Probably the biggest inhibitor, as far as I can see, has
I am trying to measure the time the processor spends on some
operation, and I want this measure to not depend on the current load
of the machine. But doing the following prints different values each
time a run.
import time
c1 = time.clock()
for x in xrange(0xF): pass
c2 = time.clock()
print "
I want to have a str with custom methods, but I have this problem:
class myStr(str):
def hello(self):
return 'hello '+self
s=myStr('world')
print s.hello() # prints 'hello world'
s=s.upper()
print s.hello() # expected to print 'hello WORLD', but s is no longer
myStr, it's a regular st
Unfortunately I have had to change domains. The feeds for the podcast
are updated and available at:
http://www.latedecember.co.uk/sites/pythonpod/
Thanks,
Davy Mitchell
http://www.latedecember.co.uk/sites/personal/davy/
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 5, 12:52 pm, John Nagle <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > John Nagle wrote:
>
> >>Graham Dumpleton wrote:
>
> >>>On Feb 4, 1:05 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
>
> >>>>"Paul Bodd
3401 - 3500 of 4914 matches
Mail list logo