kpp9c wrote:
> I have noticed a couple markov implementations in python, but none
> quite seem to do what i would like. Most seem to do an analysis of some
> text and create a new text based on that... I think, (sorry i just
> don't know terminology well) a markov table (or is it called a
> transi
[bearophile]
> During the execution of a Icon script there are ways to visualize the
> memory:
> http://www.cs.arizona.edu/icon/progvis/memmon/memmon.htm
. . .
> I'd like to know if for Python there is a similar program to
> dynamically see the memory in a similar way.
> If such tool doesn't exist
Terry Hancock wrote:
> So far, the only time I've ever encountered this is with the
> __new__ method, which, being a classmethod, needs "cls"
> (which gets loaded with the *class* not the *instance*).
>
The __new__ method isn't actually a classmethod. In
http://www.python.org/2.2.3/descrintro.h
Tony Houghton wrote:
> I'm writing a python program which reads input device events so it needs
> to know sizeof(struct timeval). By using the struct module I should be
> able to work out sizeof(long) from python, but I can't think of a way to
> measure non-fundamental types without including a lit
Hi,
I have a question about wxPython.
On Windows systems, you can point your mouse over most items on your
desktop and a after a second or so, a small window will pop-up with
extra info about the thing your pointing at (try e.g. move your mouse
over the time in the right corner and a window will p
[Robert Dodier]
> I'm trying to find substrings that look like 'FOO blah blah blah'
> in a string. For example give 'blah FOO blah1a blah1b FOO blah2
> FOO blah3a blah3b blah3b' I want to get three substrings,
> 'FOO blah1a blah1b', 'FOO blah2', and 'FOO blah3a blah3b blah3b'.
No need for regular
ahart wrote:
> Diez, Scott, and Bruno,
>
> I thank you all for your help and suggestions. I wasn't aware that
> default values were considered class (static) values.
These are *not* 'default values'. Defining a name in the body of a class
statement bind that name to the *class*. To bind a name to
Hi!
I want to use shelve to store lists which are indexed by an integer
key. The keys are not concurrent or anything, they are just defined as
integer values. However, shelve complains that I cannot have integer
keys. Here's the error:
>>> d[1]
Traceback (most recent call last):
File "", line 1,
[EMAIL PROTECTED] wrote:
> I want to use shelve to store lists which are indexed by an integer
> key. The keys are not concurrent or anything, they are just defined as
> integer values. However, shelve complains that I cannot have integer
> keys. Here's the error:
> >>> d[1]
> Traceback (most rece
[EMAIL PROTECTED] wrote:
> I'm having a scoping problem. I have a module called SpecialFile,
The convention is to use all_lowercase names for modules, and CamelCase
for classes.
> which defines:
>
> def open(fname, mode):
> return SpecialFile(fname, mode)
This shadows the builtin open() func
Sybren Stuvel wrote:
> Frank Millman enlightened us with:
> > If I understand correctly, a 'man-in-the-middle' attack would
> > involve someone setting up a 'pseudo server', which gives the
> > correct responses to the client's attempt to log in
>
> That's right. Usually it's done by proxying the
This post is to announce the release of NumPy 0.9.6 which fixes some
important bugs and has several speed improvments.
NumPy is a multi-dimensional array-package for Python that allows rapid
high-level array computing with Python. It is successor to both Numeric
and Numarray. More informatio
"Frank Millman" <[EMAIL PROTECTED]> writes:
> I don't know how to check the certificates. None of the documentation I
> have read spells out in detail how to do this.
Lemme see if I can find you something--I'll put up another post if I do.
> What about this idea? I am not looking for a state-of-t
Scott David Daniels wrote:
> [EMAIL PROTECTED] wrote:
> > The one you get with Perl stinks on ice. More than
> > anything else, I would like to have a powerful OO environment where I
> > do not have to worry about the debugger sucking
> Do watch your language on this newsgroup. Lots of peop
Benji York schrieb:
> Jarek Zgoda wrote:
>
>> How do I get a list of localized month names for current locale? The
>> first thing that came to my mind was an ugly hack:
>
>
import locale
locale.nl_langinfo(locale.MON_1)
> 'January'
>
What did you leave out? I get
Traceback (most rec
Paul Rubin enlightened us with:
> If you're paranoid, you can scrounge some $20 obsolete laptop from
> ebay and dedicate it to use as a CA, never letting it touch the
> internet (transfer files to and from it on floppy disc).
caCert use a special box for this too. It has no network connection,
and
Frank Millman enlightened us with:
> I don't know how to check the certificates. None of the
> documentation I have read spells out in detail how to do this.
Read the readme that comes with TLS Lite. You can require certificate
checks, call certchain.validate(CAlist), and with my extension you can
You might like the version here:
http://www.jorendorff.com/toys/out.html
Especially the "need to know" presentation, which is cute
--
Alan
http://aivipi.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
Op 2006-03-10, Terry Reedy schreef <[EMAIL PROTECTED]>:
>
> "Antoon Pardon" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> but nobody seems to have
>> a problem with range(n) where n suddenly is the second parameter and
>> we use the default for the first.
>
> Actually, I conside
Op 2006-03-10, Terry Reedy schreef <[EMAIL PROTECTED]>:
>
> "Antoon Pardon" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> but nobody seems to have
>> a problem with range(n) where n suddenly is the second parameter and
>> we use the default for the first.
>
> Actually, I conside
Op 2006-03-10, Diez B. Roggisch schreef <[EMAIL PROTECTED]>:
>> Those default values are not 0 and , you may have
>> only experience with situations where they behave as such but that
>> is not the same.
>
> Well, it might be - but the conceptual behavior is (usually) the same.
>
>> If you need to
Tony Houghton wrote:
> I'm writing a python program which reads input device events so it
> needs to know sizeof(struct timeval). By using the struct module I
> should be able to work out sizeof(long) from python, but I can't
> think of a way to measure non-fundamental types without including a
>
"jalanb" wrote:
> You might like the version here:
> http://www.jorendorff.com/toys/out.html
which only works if 1) you're using a Python implementation that supports
those attributes, 2) the source code is available, 3) the expression is written
on a single line, and 4) you don't use confusing c
On Mon, 13 Mar 2006 21:28:06 -0800, garyjefferson123 wrote:
> I'm having a scoping problem. I have a module called SpecialFile,
> which defines:
>
> def open(fname, mode):
> return SpecialFile(fname, mode)
This is called "shadowing a built-in", and generally speaking it causes
Bad Things To H
Well, thank you so much for taking the time to reply. I guess that
about wraps up all my questions.
You fucking putz
On Mon, 13 Mar 2006 13:37:36 +0100, Sybren Stuvel
<[EMAIL PROTECTED]> wrote:
>Skipper enlightened us with:
>> I can not believe that there isn't a GUI programing tool that w
Thanks to all (except one - of course) for your replys. I think you
have more than answered my question and I appreciate your time.
I suppose this is going to be more difficult than I imagined... but
working at this is better then watching "Trading Spaces" with my wife
- -heh...
Thanks again
Mi
On Mon, 13 Mar 2006 17:24:31 -0800, Raymond Hettinger wrote:
> John Savage wrote:
>> Could
>> someone please explain the rationale behind python designers' thinking
>> in deciding the function "range(1,12)" should return the sequence 1 to
>> 11 rather than the more intuitively-useful 1 to 12??
>
Sibylle Koczian wrote:
> Benji York schrieb:
>> Jarek Zgoda wrote:
>>
>>> How do I get a list of localized month names for current locale? The
>>> first thing that came to my mind was an ugly hack:
>>
>>
> import locale
> locale.nl_langinfo(locale.MON_1)
>> 'January'
>>
>
> What did y
Steven D'Aprano wrote:
>> So, if I do:
>>
>> f = SpecialFile.open(name, mode)
>>
>> I get infinite recursion.
>
> I see you are already using an open method. So let me see if I have this
> right: you have a function open, plus an open method? Why?
SpecialFile is a module. please read the posts y
Paul Rubin wrote:
> "Frank Millman" <[EMAIL PROTECTED]> writes:
> > I don't know how to check the certificates. None of the documentation I
> > have read spells out in detail how to do this.
>
> Lemme see if I can find you something--I'll put up another post if I do.
>
Thanks
> Didn't you say wi
Hello,
Does python have andmap and ormap:
andmap((lambda t: boolean(t)),L)
gives True if boolean(t) is True for all t in L and False otherwise?
And
ormap((lambda t: boolean(t)),L)
gives True if boolean(t) is True for some t in L and False otherwise?
One can use a list comprehension like
[x fo
Em Ter, 2006-03-14 às 04:23 -0800, [EMAIL PROTECTED] escreveu:
> def andmap(b,L):
> if False in map(b,L): return False
> else: return True
>
> def ormap(b,L):
> if True in map(b,L): return True
> else: return False
>
> Is this good enough?
The problem is that it will evaluate all possibi
On 14 Mar 2006 04:23:55 -0800,
[EMAIL PROTECTED] wrote:
> Hello,
> Does python have andmap and ormap:
> andmap((lambda t: boolean(t)),L)
> gives True if boolean(t) is True for all t in L and False otherwise?
> And
> ormap((lambda t: boolean(t)),L)
> gives True if boolean(t) is True for some t
> Does python have andmap and ormap:
>
> andmap((lambda t: boolean(t)),L)
>
> gives True if boolean(t) is True for all t in L and False otherwise?
> And
>
> ormap((lambda t: boolean(t)),L)
>
> gives True if boolean(t) is True for some t in L and False otherwise?
> One can use a list comprehensi
robin schreef:
> "Michael Tobis" <[EMAIL PROTECTED]> wrote:
>
>> While the new one is much better than the old website, the logo strikes
>> me as awful.
> As far as the layout goes, I still find it too busy. Specifically
> there are too many fonts on the one page. But I have already made that
> po
Felipe Almeida Lessa wrote:
> The problem is that it will evaluate all possibilities needlessly. Try
> (not tested and 2.4-only):
footnote: if you have a recent Python 2.5 build, you can make them even
shorter:
>>> help(any)
any(...)
any(iterable) -> bool
Return True if bool(x) is True f
jalanb wrote:
> You might like the version here:
> http://www.jorendorff.com/toys/out.html
>
> Especially the "need to know" presentation, which is cute
>
> --
> Alan
> http://aivipi.blogspot.com
Thank you for the tip.
Meanwhile, I found a shorter solution to my problem:
def magic(arg):
i
2006/3/14, Peter Hansen <[EMAIL PROTECTED]>:
> (As for me, I have no idea what the question is about, so this is the
> most help I can give.)
Ok, sorry! I wanted to do this:
--- snip ---
from mmap import mmap, MAP_ANONYMOUS
mm = mmap(-1, 1024, MAP_ANONYMOUS)
--- snap ---
But I got an Environment
> footnote: if you have a recent Python 2.5 build,
Who would have that? Is it a good idea to use a pre-alpha python version? Or
any unrealeased python version for that matter? I was under the impression that
the recommended way to go for meager developers in python like myself is to
stick with
[EMAIL PROTECTED] wrote:
> def ormap(b,L):
> if True in map(b,L): return True
> else: return False
>
> Is this good enough?
No, because
- (as Felipe observed) it doesn't shortcut, i. e. it always evaluates
b(item) for all items in L.
- it creates a temporary list
- if truthvalue: return T
Joel Hedlund wrote:
>> footnote: if you have a recent Python 2.5 build,
>
> Who would have that? Is it a good idea to use a pre-alpha python version?
> Or any unrealeased python version for that matter? I was under the impression
> that
> the recommended way to go for meager developers in python
Paul Boddie on comp.lang.python said:
> Now, since the commercial licence is "per developer", some cunning
> outfit could claim that only one developer wrote their product (rather
> than one hundred developers, say), but this would be a fairly big
> breach of trust (although nothing unusual in th
Disclaimer: I am not an expert. Take this with a grain of salt... but
I'll throw it out for what it's worth.
On 14 Mar 2006 04:12:38 -0800
"Frank Millman" <[EMAIL PROTECTED]> wrote:
> > > Using openssl, generate a key for the server, generate a
> > > self-signed certificate, and extract the sha1 f
[EMAIL PROTECTED] wrote:
> Hi,
>
> I have a question about wxPython.
> On Windows systems, you can point your mouse over most items on your
> desktop and a after a second or so, a small window will pop-up with
> extra info about the thing your pointing at (try e.g. move your mouse
> over the time
Peter Otten wrote:
> Python 2.5 will feature similar functions any() and all() which seem to have
> a fixed predicate == bool, though.
You cannot write
all(predicate, list)
but
all(predicate(x) for x in list)
Georg
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
> def ormap(predicate, items):
> return True in (predicate(items) for item in items)
should be
def ormap(predicate, items):
return True in (predicate(item) for item in items)
Hmmpf.
Peter
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
> Sibylle Koczian wrote:
>>What did you leave out?
>
>
> Nothing, most likely.
>
>
>>I get
>>
>>Traceback (most recent call last):
>> File "", line 1, in -toplevel-
>>locale.nl_langinfo(locale.MON_1)
>>AttributeError: 'module' object has no attribute 'nl_langinfo'
>>
>
Op 2006-03-13, Paul Boddie schreef <[EMAIL PROTECTED]>:
> Paul Rubin wrote:
>> "Paul Boddie" <[EMAIL PROTECTED]> writes:
>> > What people don't usually understand (or rather complain about loudly)
>> > is that Trolltech can refuse to license Qt to you under the commercial
>> > licence, as is their
Steven D'Aprano wrote:
> On Mon, 13 Mar 2006 21:28:06 -0800, garyjefferson123 wrote:
>
>
>>I'm having a scoping problem. I have a module called SpecialFile,
>>which defines:
>>
(snip code)
>>The problem, if it isn't obvioius, is that the open() call in __init__
>>no longer refers to the builtin
"bruno at modulix" wrote:
> There again, you may want to read more carefully: SpecialFile is *also*
> the module's name - which, I agree, is not pythonic.
this approach was recommended by the official style until very recently.
http://www.python.org/doc/essays/styleguide.html
Modules th
Hi,
Thanks to the help of many on this list, I've been able to take code
that is created by the user in my app and add it to an object as an
instance method. The technique used is roughly:
nm = "myMethod"
code = """def myMethod(self):
print "Line 1"
print "My Value is %s" % se
The following works perfectly:
import operator
def andmap(b,L):
return reduce(operator.and_, [b(x) for x in L])
def ormap(b,L):
return reduce(operator.or_, [b(x) for x in L])
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Scott David Daniels wrote:
> [EMAIL PROTECTED] wrote:
>
>> ... Is the Python debugger fairly stable?
>
> Yes, but it is not massively featured. The "Pythonic" way is to
> rarely use a debugger (test first and straightforward code should
> lead to "shallow" bugs). Often for most of us judiciousl
Alan Franzoni wrote:
>
> Just one thing I don't understand: if you're developing all your software
> inside your company, how would they know if you already coded it or you
> still have to?
I have no idea. But as I said elsewhere, I'm not in any sense a party
to the process that would attempt to d
Ed Leafe wrote:
> Hi,
>
> Thanks to the help of many on this list, I've been able to take code
> that is created by the user in my app and add it to an object as an
> instance method. The technique used is roughly:
>
> nm = "myMethod"
> code = """def myMethod(self):
> print "Line 1"
On 14 Mar 2006 06:10:19 -0800, Paul Boddie <[EMAIL PROTECTED]> wrote:
> Alan Franzoni wrote:
> >
> > Just one thing I don't understand: if you're developing all your software
> > inside your company, how would they know if you already coded it or you
> > still have to?
>
> I have no idea. But as I
Serge Orlov wrote:
>> # So the question becomes: how can I make this work
>> # in a graceful manner?
> change the return statement with this code:
>
> return (substitution.encode(error.encoding,"practical").decode(
>error.encoding), error.start+1)
Thanks, that was a quite neat re
I have a problem that I am trying to solve. I have two different
systems - one written in C and another in Python. I would like the
two to exchange some information.
On the Python side I decided to use cPickle. On the C side I would
write a library that can read the cPickle and generate the corre
On Sun, 12 Mar 2006 10:25:19 +0100,
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> and while you're at it, change "python-dev" to "developers" and
> "psf" to "foundation" (or use a title on that link).
I've changed the PSF link, but am not sure what to do about the
python-dev link. As others
> On the Python side I decided to use cPickle. On the C side I would
> write a library that can read the cPickle and generate the correct
> C structure (the data is, more or less, self-describing) and visa
> versa.
>
> I was wondering if anyone has done something like this before
> and if so can t
Regarding cleaning of mixed string encodings in
the discography search engine
http://www.xfeedme.com/discs/discography.html
Following 's suggestion I came up with this:
utf8enc = codecs.getencoder("utf8")
utf8dec = codecs.getdecoder("utf8")
iso88591dec = codecs.getdecoder("iso-8859-1")
def chec
Hi,
I have a wxFrame with some TextCtrl,
if I minimize the Frame when normalize it
lost the Focus and I must click to give the focus to textCtrl again
How can resolve?
Thank's,
Luca
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 13 Mar 2006 02:19:39 GMT
Skipper <[EMAIL PROTECTED]> wrote:
> Basically the program will blank the screen and call up
> (for example) 6 pictures. A flashing border with travel
> from picture to picture. When the computer senses a mouse
> click it will clear the screen and present a second
On 3/14/06, A.M. Kuchling <[EMAIL PROTECTED]> wrote:
> On Sun, 12 Mar 2006 10:25:19 +0100,
> Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> > and while you're at it, change "python-dev" to "developers" and
> > "psf" to "foundation" (or use a title on that link).
>
> I've changed the PSF link, b
i have a python file called pyq which outputs stock quotes, currently i
also have a html file that takes stock ticker inputs, i would like to
bridge the two by building another program that takes the html inputs
and uses them to call the pyq stock ticker program and then output them
into a text
Travis Oliphant wrote:
> This post is to announce the release of NumPy 0.9.6 which fixes some
> important bugs and has several speed improvments.
>
> NumPy is a multi-dimensional array-package for Python that allows
> rapid high-level array computing with Python. It is successor to both
> Nume
Hi all,
Are there any tree or graph modules available for python?
Cheers,
--
Ant...
--
http://mail.python.org/mailman/listinfo/python-list
Google for "boost graph python"
--
http://mail.python.org/mailman/listinfo/python-list
Kevin:
>#!/usr/bin/python
>
>import os
>import urllib
>os.system("python pyq.py ibm > text1.txt")
Check the return value of os.system.
>note: currently the text1.txt outputted is just blank, however if i run
>the command normally as 'python pyq.py ibm' in the command line, it
>works correctly a
Just tried Ruby over the past two days. I won't bore you
with the reasons I didn't like it, however one thing really
struck me about it that I think we (the Python community)
can learn from.
Ruby has ... an issue with docs. That is to say, there are
almost none. Well, actually, there are some. For
Skipper wrote:
> Well, thank you so much for taking the time to reply. I guess that
> about wraps up all my questions.
>
>
> You fucking putz
>
I'd appreciate it if you;d keep that sort of response to yourself. While
I don't mind you *thinking* it, it isn't the kind of behaviour we want
to e
> Please note, I certainly don't want to step on the doc-sig folks'
> toes here -- but rather to generate more interest in what they're
> doing, and to help make Python be even better in an area that I
> see it struggling.
>
> What do you folks think?
>
> Yes, I'm trying to make time to look at t
Hi,
I try to create a COM object with win32com to track events in Visual
SourceSafe.
I tried to modify ExcelAddin.py demo but with no luck.
I've now a Delphi DLL that make that job so I know it's possible.
If someone have an exemple, please help me.
Best regards.
Kadeko
--
http://mail.python.or
Thanks Diez! Epydoc looks great.
Can we use epytext to generate output suitable for a manpage?
Do you prefer epytext or reST?
--
http://mail.python.org/mailman/listinfo/python-list
> Thanks Diez! Epydoc looks great.
>
> Can we use epytext to generate output suitable for a manpage?
Don't know, never tried that.
> Do you prefer epytext or reST?
So far epytext suited my needs.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Is there any editor or IDE in Python (either Windows or Linux) which
has very good debugging facilites like MS VisualStudio has or something
like that.
I like SPE but couldn't easily use winPDP. I need tips to debug my code
easily.
Every help is greatly appreciated.
Thanks
--
http://mail.pytho
> So far epytext suited my needs.
I like it too.
Ok, now I'm starting to get excited. :)
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Is there any editor or IDE in Python (either Windows or Linux) which
> has very good debugging facilites like MS VisualStudio has or something
> like that.
>
> I like SPE but couldn't easily use winPDP. I need tips to debug my code
> easily.
>
> Every help is greatly app
[EMAIL PROTECTED] wrote:
> try:
> (uni, dummy) = utf8dec(s)
> except:
> (uni, dummy) = iso88591dec(s, 'ignore')
Is there really any point in even trying to decode with UTF-8? You
might as well just assume ISO 8859-1.
Ross Ridge
--
http://mail.pyth
[EMAIL PROTECTED]:
>Is there any editor or IDE in Python (either Windows or Linux) which
>has very good debugging facilites like MS VisualStudio has or something
>like that.
Here's a recent thread about IDEs:
http://groups.google.nl/group/comp.lang.python/browse_frm/thread/fd9604e225252ad4
--
Re
>Is there any editor or IDE in Python (either Windows or Linux) which
>has very good debugging facilites like MS VisualStudio has or something
>like that.
I've been using Eclipse with PyDev and am very happy with it.
--
http://mail.python.org/mailman/listinfo/python-list
Ed Leafe wrote:
> Hi,
>
> Thanks to the help of many on this list, I've been able to take code
> that is created by the user in my app and add it to an object as an
> instance method. The technique used is roughly:
Just some notes about your code:
> nm = "myMethod"
> code = """def myMethod(
Diez B. Roggisch wrote:
>>Thanks Diez! Epydoc looks great.
>>
>>Can we use epytext to generate output suitable for a manpage?
>
>
> Don't know, never tried that.
>
The answer appear to be No, but there is a man.py file which indicates
that some work was done on it.
Below is the epydoc command
[EMAIL PROTECTED] wrote:
> jalanb wrote:
> > You might like the version here:
> > http://www.jorendorff.com/toys/out.html
> >
> > Especially the "need to know" presentation, which is cute
> >
> > --
> > Alan
> > http://aivipi.blogspot.com
>
> Thank you for the tip.
> Meanwhile, I found a shorter s
Ok. I'm going to try and make something happen. Give me a day or so.
:)
---John
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> IMO, Perl has docs nailed. I learned Perl before coming
> to Python, and I can tell you that their docs kick butt.
> I believe the reason why is (besides Larry's excellent
> and entertaining writing) because of perldoc. Here's how
> it works: they
[EMAIL PROTECTED] wrote:
> Is there any editor or IDE in Python (either Windows or Linux) which
> has very good debugging facilites like MS VisualStudio has or something
> like that.
>
> I like SPE but couldn't easily use winPDP. I need tips to debug my code
> easily.
>
> Every help is greatly ap
Oh, that should have been whole number; not while.
--
http://mail.python.org/mailman/listinfo/python-list
See this:
https://networkx.lanl.gov/
--
http://mail.python.org/mailman/listinfo/python-list
http://www.osl.iu.edu/~dgregor/bgl-python/
http://sourceforge.net/projects/pygraphlib/
http://sourceforge.net/projects/pynetwork/
https://networkx.lanl.gov/
http://starship.python.net/crew/aaron_watters/kjbuckets/
http://www.python.org/doc/essays/graphs.html
http://yapgvb.sourceforge.net/
http://dk
On 14 Mar 2006 09:25:07 -0800
[EMAIL PROTECTED] wrote:
> Do you prefer epytext or reST?
I personally prefer epytext primarily because it has support
for greek letters and math symbols. That could be very
useful in documenting certain kinds of software. OTOH, I
haven't had much occasion to use that
Hi -
I'm having a little trouble using exceptions properly. I currently have
an initialization function on a little app that looks like this:
def __init__(self, config_file):
self.fahdata = fahdata.FAHData()
self.INI = ConfigParser.ConfigParser()
if os.path.exists(config_fi
Well, Nicholas Chase just posted an OpenLaszlo tutorial/app that shows
how OpenLaszlo handles sounds. Try
http://www-128.ibm.com/developerworks/edu/os-dw-os-php-openlaszlo1-i.html
You have to register, but it's free, and they don't bug you. It's PHP
driven, but that part's easily ported to Python.
I agree that more progress is needed on the Python documentation
front. For example if you look at the "codecs" module documentation
there is no hint of what a codec is anywhere that I can see. Also
the distinction between an "encoder" and a "decoder" is not explained.
Even though I've used it man
On 2006-03-14, Kevin <[EMAIL PROTECTED]> wrote:
> i have a python file called pyq which outputs stock quotes, currently i
> also have a html file that takes stock ticker inputs, i would like to
> bridge the two by building another program that takes the html inputs
> and uses them to call the py
"Joel Hedlund" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> footnote: if you have a recent Python 2.5 build,
>
> Who would have that? Is it a good idea to use a pre-alpha python version?
The pre-public release version compiles as 'alpha0'. I have the impression
the current al
Well, we've already got a wiki, of course: http://wiki.python.org/moin/
Regarding the docs for the module you're asking about, the way it's
supposed to work is (I think), you're supposed to checkout the Python
source, add your docs to the docstrings of that module, then either
commit your changes
[EMAIL PROTECTED] wrote:
> Is there any editor or IDE in Python (either Windows or Linux) which
> has very good debugging facilites like MS VisualStudio has or something
> like that.
>
> I like SPE but couldn't easily use winPDP. I need tips to debug my code
> easily.
pythonic "debugging" in thre
My code has got big and it is an iterative program. I use print
statements but I thought I could get something handy it would be useful
to me.
thanks
--
http://mail.python.org/mailman/listinfo/python-list
A.M. Kuchling wrote:
> On Sun, 12 Mar 2006 10:25:19 +0100,
> Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>> and while you're at it, change "python-dev" to "developers" and
>> "psf" to "foundation" (or use a title on that link).
>
> I've changed the PSF link, but am not sure what to do about th
1 - 100 of 151 matches
Mail list logo