[EMAIL PROTECTED] wrote:
> Well, I'm fairly new to Python and have encountered a strange error while
> reading an XML document in Python. I used the SAX parser, and my input XML is
> fairly large with 30 records. I extract about 25 fields from each record
> and spit out a csv file. The str
On Wednesday 11 May 2005 04:32 pm, [EMAIL PROTECTED] wrote:
> The following script demonstrates a method that should work for you. I
> believe it is entirely cross-platform.
>
> #! /usr/bin/python
>
> import sys
> import os
>
> print os.path.abspath(os.path.dirname(sys.argv[0]))
Works perfectly, t
On 2005-05-11, jeff elkins <[EMAIL PROTECTED]> wrote:
> I'm creating an app that relies on a configuration file at
> launch. The file will always exist in the app's installation
> directory,
That's the first decision you need to examine. If you want
work on Unix platforms, that's not where confi
On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The following script demonstrates a method that should work for you. I
> believe it is entirely cross-platform.
>
> #! /usr/bin/python
>
> import sys
> import os
>
> print os.path.abspath(os.path.dirname(sys.argv[0]))
That will probably
Richie Hindle wrote:
> [Florian]
> > You mean that csv.reader can't work with unicode as the delimiter parameter?
>
> Exactly. http://www.python.org/doc/2.3.5/lib/module-csv.html says:
>
> "Note: This version of the csv module doesn't support Unicode input. Also,
> there are currently some issues
[EMAIL PROTECTED] wrote:
> To understand a program, however, you need also a flow chart...
so understand a carefully designed modular component structure, you
have to remove the structure so you can create a flow chart?
did you perhaps stumble upon a strange man with a keg of liquor back
in the
Hansan wrote:
> I used the same code they use for making the two display functions and the
> same template for the html form. I even tried using the form template they
> use too, but it still dosnt work. I will now show how the functions and
> templates look like.
>
> The two display functions are
Fredrik> does the CSV format even support Unicode-encoded data streams?
Based on the requests I've seen here and on the [EMAIL PROTECTED] mailing list,
it appears people are certainly generating CSV files which contain
Unicode-encoded data.
Skip
--
http://mail.python.org/mailman/listinfo/py
The truth is, Jesus should never have torn down the fig tree. He got so
pissed off at the fig tree for not having figs, even though it wasn't
fig season. This was not the action of someone who has even a little
truth and light.
Imagine if Jesus came back now. I'd hate to see his road rage.
--
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Paul McNett <[EMAIL PROTECTED]> wrote:
>
>>[1] Although, some ISP's are taking it upon themselves to drop or reject
>>port 25 traffic. A wrong but understandable stopgap solution to the
>>problem of peoples toy machines getting infected by malware
Hi. I'm trying to build MySQL-python-1.2.0 on my Linux FC2
(with MySQL 3.23.58).
But when building, I get this error message:
---
[]# python setup.py build
running build
running build_py
running build_ext
building '_mysql' extension
creating buil
Ron Adam a écrit :
> StepH wrote:
>
>> Hi,
>>
>> I'm not able to install BLT on my Python 2.4 (upgraded to 2.4.1)
>> distibution...
>>
>> I'v try to download btlz-for-8.3.exe, but when i try to install it,
>> i've a msgbox saying to the file is corrupt...
>>
>> Any idea ?
>>
>> Thanks.
>>
>> Ste
"don freeman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The truth is, Jesus should never have torn down the fig tree. He got so
> pissed off at the fig tree for not having figs, even though it wasn't
> fig season. This was not the action of someone who has even a little
> truth
"Stelios Xanthakis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>> - hacking SWIG. Shouldn't be too hard and will instantly give
>> us access to wx, qt, etc.
Have you ever written a non-trivial extension using Swig? It isn't
as simple as you would think. There are a lot of lit
MC05 wrote:
> "don freeman" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > The truth is, Jesus should never have torn down the fig tree. He
got so
> > pissed off at the fig tree for not having figs, even though it
wasn't
> > fig season. This was not the action of someone who has
[EMAIL PROTECTED] wrote:
[...]
> In some cases there is a further complication: module importing
through
> an indirect mechanism, like: exec "from " + xxx + " import *".
Don't do that. Please ;). If you need too import some modules based
on the module name, stored in a string, consider the using
"Fredrik Lundh" wrote :
> [EMAIL PROTECTED] wrote:
>
> > To understand a program, however, you need also a flow chart...
>
> so understand a carefully designed modular component structure, you
> have to remove the structure so you can create a flow chart?
>
> did you perhaps stumble upon a strange
I'm having one of those weeks.
I have this pattern all over my code.
result = conn.execute("select * from foo")
while not result.EOF:
doSomething()
result.MoveNext()
So recently I got around to running makepy on all of the Microsoft
ActiveX Data Objects, and now every call to that patte
My understanding is that Python code should keep as many possible
implementations in mind. For example, I have been told that it would be
unwise to do something like this in Jython because the Java GC will not
reclaim the file resources:
for afile in more_than_just_a_few_files:
for aline in o
"Matt Hayden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> MC05 wrote:
> > "don freeman" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > The truth is, Jesus should never have torn down the fig tree. He
> got so
> > > pissed off at the fig tree for not havin
Skip Montanaro wrote:
> Fredrik> does the CSV format even support Unicode-encoded data streams?
>
> Based on the requests I've seen here and on the [EMAIL PROTECTED] mailing
> list,
> it appears people are certainly generating CSV files which contain Unicode-
> encoded data.
in what encoding
Torsten Bronger wrote:
> HallÃchen!
>
> Fernando Perez <[EMAIL PROTECTED]> writes:
>
>> [...]
>>
>> And I'd also second the matplotlib suggestion, to which I've by
>> now fully switched after years of faithful gnuplot usage.
>> Matplotlib is very good, has an active development community, and
>>
jerkoff
--
http://mail.python.org/mailman/listinfo/python-list
Peter Hansen wrote:
> > Remember, finalisers are not called when Python exits. So if you don't
> > explicitly close the file you are *writing* to, it may not be flushed
> > before being closed (by the OS because the process no longer exists).
>
> Ouch... I'd forgotten/never heard that I guess. If
Fredrik Lundh ha scritto:
> [EMAIL PROTECTED] wrote:
>
> > To understand a program, however, you need also a flow chart...
>
> so understand a carefully designed modular component structure, you
> have to remove the structure so you can create a flow chart?
Not everyone is a "guru" like you... I
On Tue, 10 May 2005 23:53:43 GMT, Jim Sizelove <[EMAIL PROTECTED]> wrote:
>Bengt Richter wrote:
[...]
>> Maybe (not tested beyond what you see ;-)
I had that feeling ... somehow the word "max" was trying to get my attention,
but I posted without figuring out why ;-/
>
>It is with some trepidation t
"hans" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hey Doctor Boudreaux,
Laissez les Bon Temps Rouler!
Shall we send all these to Tulane education, Little Buddy?
doc
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
--
http://mail.python.org/mailman/listinfo/pyth
Chris Curvey wrote:
> I'm having one of those weeks.
>
> I have this pattern all over my code.
>
> result = conn.execute("select * from foo")
>
> while not result.EOF:
> doSomething()
> result.MoveNext()
>
> So recently I got around to running makepy on all of the Microsoft
> ActiveX Da
This post is just the culmination of my thoughts and discussions with my
coworkers on Python. If you are not interested, please skip over it.
At my work, we are developing a product from scratch. It is completely
modular and the modules communicate via SOAP. Because of that, we can
implement in
Chris Curvey wrote:
> result = conn.execute("select * from foo")
>
> while not result.EOF:
> doSomething()
> result.MoveNext()
>
> 'tuple' object has no attribute EOF
The recordset you are looking for is a element of the tuple. Out of my
head I would say it's element 1, so you have to
Thanks Peter.
I found the files that makepy generated (in
$PYTHON_HOME/Lib/site-packages/win32com/gen_py). I've tried deleting
the individual files, and the entire directory, and I'm still getting
the error. (Maybe something was changed in the registry?)
[Fun side note -- after deleting the fil
Christopher J. Bottaro wrote:
> ...blah blah blah...
Heh, silly me...there is already a huge thread about this...kinda.
The intricacies of the computing term "greedy" aside, yes I think the Python
documentation should generally be better. What that means, I have no idea.
All I know is that I l
HallÃchen!
Fernando Perez <[EMAIL PROTECTED]> writes:
> [...]
>
> Well, it's true that the latex-type (called mathtext) support in
> matplotlib is not really up to par with true latex (kerning is off
> in places, mixed text/math doesn't work well, etc). I've been
> willing to live with it so far
>> Based on the requests I've seen here and on the [EMAIL PROTECTED] mailing
>> list, it appears people are certainly generating CSV files which
>> contain Unicode- encoded data.
Fredrik> in what encodings?
I've seen hints about iso-8859-1/iso-8859-15 and mention that Excel 2000
Achim,
Bingo. The recordset is in item 0. And that appears to work even on
systems where makepy has not been run.
Thanks so much.
--
http://mail.python.org/mailman/listinfo/python-list
I think Python's doc really rock. It's odd, why do you refer to the
tutorial when the lib API is what I'd consider "the docs".
If you're using Windows, then the doc browser included is pretty good
too...
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for you reply and Help Fredrik Lundh
The change did remove the error message, and I can see what was wrong.
However there is now a new problem, the only thing that is displayed is one
single character and that is: <
Do you or anyone else have a suggestion to what the cause to this new
pr
For a detailed response to the claims of the poster please refer to the
following.
[1] "Ron Grossi: God is not a man" an essay:
http://groups-beta.google.com/group/microsoft.public.windowsxp.networ...
[2] "Ron Grossi: God is not a man" an entire thread:
http://groups-beta.google.com/group/microso
Christopher> The intricacies of the computing term "greedy" aside, yes I
Christopher> think the Python documentation should generally be better.
Christopher> What that means, I have no idea. All I know is that I like
Christopher> PHP's documentation and it should be like that.
It
>
> I suppose he could point at what he saw and wither it.
>
Jesus would then give a sermon from the mount:
Let the Puritans wear fig leaves over their eyes!
--
http://mail.python.org/mailman/listinfo/python-list
Christopher J. Bottaro wrote:
> [...]
> Funny, the con of Python (documentation) is PHP's strong point.
> The PHP manual is extremely easy to navigate and its search feature
> works great. Contrast that with Python, where you have to use "the
> tutorial" as the manual. Also, the tutorial is just t
Christopher J. Bottaro wrote:
> After we were done, we talked about the pros and cons of the languages.
> Funny, the con of Python (documentation) is PHP's strong point. The PHP
> manual is extremely easy to navigate and its search feature works great.
> Contrast that with Python, where you have
don freeman wrote:
> The truth is, Jesus should never have torn down the fig tree. He got so
> pissed off at the fig tree for not having figs, even though it wasn't
> fig season. This was not the action of someone who has even a little
> truth and light.
>
> Imagine if Jesus came back now. I'd
[EMAIL PROTECTED] wrote:
> I think Python's doc really rock. It's odd, why do you refer to the
> tutorial when the lib API is what I'd consider "the docs".
I guess I mean Python needs a manual, which is basically what the tutorial
serves as, but its not comprehensive and organized like how (I thi
Hansan a écrit :
> Hi all, I hope you have time to help me out a little. My problem is that I
> want to combine some python code I have made with some html templates, I
> found a tutorial at dev shed:
(snip a whole lot of code)
> But I get the error message:
> error: multiple repeat
> arg
def testSpiritual():
''' look within '''
if knowChrist:
cryWithTheSaints()
else:
laughWithTheSinners()
-Original Message-
[mailto:[EMAIL PROTECTED]
g]On Behalf Of rbt
Who is this Jesus you are talking about? Does he know Python or
something? What do fig t
Delaney, Timothy C (Timothy) wrote:
> Remember, finalisers are not called when Python exits. So if you don't
> explicitly close the file you are *writing* to, it may not be flushed
> before being closed (by the OS because the process no longer exists).
Wrong.
% python
Python 2.3 (#1, Sep 13 2003,
Steven Bethard wrote:
> Christopher J. Bottaro wrote:
>> After we were done, we talked about the pros and cons of the languages.
>> Funny, the con of Python (documentation) is PHP's strong point. The PHP
>> manual is extremely easy to navigate and its search feature works great.
>> Contrast that
Any idea why the 'options' object in
# optparse stuff
(options, args) = parser.parse_args()
is not/couldn't be a real dict ? Or why at least it
does not support dict's usual methods ?
The next move after a parse_args is often to call
a method 'do_stuff' with the args and options and
I'd like to
Christopher J. Bottaro wrote:
> Christopher J. Bottaro wrote:
>
>
>>...blah blah blah...
>
>
> Heh, silly me...there is already a huge thread about this...kinda.
>
> The intricacies of the computing term "greedy" aside, yes I think the Python
> documentation should generally be better. What t
I agree. The PHP manual is really good, especially the examples and user
contributed notes.
I think that's why we need the reference manual most time. It help you to
get started on that particular function as well as hint you the trick and
trap.
I really wish Python manual gets better on these tw
"Manual" == scope of the *Lib Reference* + informal style of the
*Tutorial*,
Right ?
Consider non-official manuals such as:
+ http://diveintopython.org/toc/index.html (free)
+ python in a nutshell
+ python cookbook
+ etc.
Cheers,
SB
--
http://mail.python.org/mailman/listinfo
Jesus has a deplorable blind spot when it came to the nuances of
marketing a new religion. Fortunately, since the apostle Paul was
completely oblivious to any of Jesus' teachings, he was unfettered by
this myopic shortcoming on the part of our Lord.
So Close to Jesus, He's Seen Me Without Make-up
Jue> Maybe a mailing list or forum people can contribute example and
Jue> notes?
Contributions can be made at the SourceForge patch tracker:
http://sourceforge.net/tracker/?group_id=5470&atid=305470
Plain text is fine.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the code Tom.
Unforunately, I get the following error message when trying to import
win32com in idle:
>>> from win32com.shell import shell, shellcon
Traceback (most recent call last):
File "", line 1, in -toplevel-
from win32com.shell import shell, shellcon
ImportError: No modul
Christopher J. Bottaro wrote:
> I think it should evolve into a manual that is more comprehensive
> and organized more like other programming manuals (chapter on control
> structures,
http://docs.python.org/tut/node6.html
or
http://docs.python.org/ref/compound.html
> functions,
http://docs.pyt
Sébastien Boisgérault wrote:
> Any idea why the 'options' object in
>
> # optparse stuff
> (options, args) = parser.parse_args()
>
> is not/couldn't be a real dict ? Or why at least it
> does not support dict's usual methods ?
Well, it's not a real dict because the original API intends it to be
Le Wed, 11 May 2005 15:58:04 -0400, rbt a écrit :
> Christopher J. Bottaro wrote:
> Because PHP is such a 'thrown together' and 'bolted-on' language. If it
> didn't have *outstanding* documentation (which it does BTW), no one
> could even begin to understand how they got from a little HTML langua
Hi All--
The Python docs are not ideal. I can never remember, for instance,
where to find string methods (not methods in the string module, but
methods with ''), but I can remember a tortured path to get me there
(yes, I know, fix my brain; easier said than done). The module index is
good, if wha
Christopher J. Bottaro wrote:
> [...]
> Cuz I think the Language Reference is really more of a grammer
reference and
> far too technical to look up simple things like "how to declare a
> function".
>
> I guess what I'm trying to say is that there is no manual (for the
language
> itself, not the
Steven Bethard wrote:
> Sébastien Boisgérault wrote:
> > Any idea why the 'options' object in
> >
> > # optparse stuff
> > (options, args) = parser.parse_args()
> >
> > is not/couldn't be a real dict ? Or why at least it
> > does not support dict's usual methods ?
>
> Well, it's not a real dict be
SÃbastien BoisgÃrault wrote:
>
> "Manual" == scope of the *Lib Reference* + informal style of the
> *Tutorial*,
>
> Right ?
Yes! That sounds good. "Informal style" yes, but "tutorial style" no. I
shouldn't be there to teach like the tutorial, but for reference. And of
course, the manual sho
rbt Wrote:
> don freeman wrote:
> > The truth is, Jesus should never have torn down the fig tree. He got
> so
> > pissed off at the fig tree for not having figs, even though it wasn't
> > fig season. This was not the action of someone who has even a little
> > truth and light.
> >
> > Imagine if
> I can usually end up where I want to be by picking up my copy of
_Python
> in a Nutshell_. 95% of the time I can find what I want in there or
from
> there.
This book is really great. Could anybody convince Alex Martelli to
basically make it freely available to the world ? <0.9 wink>.
I would
I don't know what you guys are talking about!!
In idle:
help(module)
I love the way python handles documentation. Its not invansive
--
http://mail.python.org/mailman/listinfo/python-list
Stelios Xanthakis wrote:
> There are two kinds of C modules: those that do have a knowledge
> of the C API (like sre, tkinter, etc) and those that are just C/C++
> libraries which are simply wrapped as modules. For the latter there
> are two solutions besides adding a wrapper which makes pyvm app
> Cuz I think the Language Reference is really more of a grammer
reference and
> far too technical to look up simple things like "how to declare a
> function".
>
> I guess what I'm trying to say is that there is no manual (for the
language
> itself, not the modules). There is just the tutorial tha
Sébastien Boisgérault wrote:
> Steven Bethard wrote:
>
>>Sébastien Boisgérault wrote:
>>
>>>Any idea why the 'options' object in
>>>
>>># optparse stuff
>>>(options, args) = parser.parse_args()
>>>
>>>is not/couldn't be a real dict ? Or why at least it
>>>does not support dict's usual methods ?
>>
I,too,gave semen from the mount. mark
"don freeman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>>
>> I suppose he could point at what he saw and wither it.
>>
>
> Jesus would then give a sermon from the mount:
>
> Let the Puritans wear fig leaves over their eyes!
>
--
http://m
Ivan Van Laningham wrote:
> The Python docs are not ideal. I can never remember, for instance,
> where to find string methods (not methods in the string module, but
> methods with '')
Hmmm... Well going to http://docs.python.org/ and typing "string
methods" into the search box gives, as the firs
Torsten Bronger wrote:
> HallÃchen!
>
> Fernando Perez <[EMAIL PROTECTED]> writes:
>>I've yet to experiment with it, but it might (with some additional
>>handywork) give final results identical to those of the pslatex
>>backend in gnuplot.
>
> What do you mean with this? Do you want to mimic Te
rbt wrote:
> Christopher J. Bottaro wrote:
>> Christopher J. Bottaro wrote:
>>
>>
>>>...blah blah blah...
>>
>>
>> Heh, silly me...there is already a huge thread about this...kinda.
>>
>> The intricacies of the computing term "greedy" aside, yes I think the
>> Python
>> documentation should g
Christopher J. Bottaro wrote:
> Contrast that with Python. First off there is no "search" mechanism built
> into the documentation page (yes I know you can google it, but that just
> doesn't feel right).
Um, are you looking at the current documentation page?
http://docs.python.org/
In the upper
Fredrik Lundh wrote:
> that's probably because finalizers *are* called when Python exits.
D'oh! Old semantics? I'm sure I remember this used to not work at some
point, and not just in Jython.
My apologies to anyone who I led astray. Still ... better to be too
careful ;) I've been trying to find
Ivan Van Laningham a écrit :
> Hi All--
> The Python docs are not ideal. I can never remember, for instance,
> where to find string methods (not methods in the string module, but
> methods with ''),
>>> dir('')
['__add__', '__class__', '__contains__', '__delattr__', '__doc__',
'__eq__', '__ge__
Hi All,
Just an update on my urllib open error.. It’s the proxy
setup on my machine which was causing the problem.
Note: soappy doesn’t use the proxy by default while
the urllib do..
Cheers
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
"Tim G" <[EMAIL PROTECTED]> wrote:
> Essentially, if you're on Windows (and have no need
> to run on anything else) then consider some of the
> solutions here:
>
> http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html
That was exactly what I needed! Thanks SO MUCH! :) I tested all the
dif
Torsten Bronger wrote:
> HallÃchen!
>
> Fernando Perez <[EMAIL PROTECTED]> writes:
>
>> [...]
>>
>> Well, it's true that the latex-type (called mathtext) support in
>> matplotlib is not really up to par with true latex (kerning is off
>> in places, mixed text/math doesn't work well, etc). I've
Hello,
I need a way to get a notification whenever a variable of an object
changes. The approach should be non-intrusive so that I can use
existing objects without modifying them.
I want to be notified no matter who or what did change the wrapped
object - even whenever an object internal methods c
On Wednesday 11 May 2005 04:44 pm, Grant Edwards wrote:
> On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > The following script demonstrates a method that should work for you. I
> > believe it is entirely cross-platform.
> >
> > #! /usr/bin/python
> >
> > import sys
> > import os
> >
Information XHTML1.1: http://www.1info.com/1computer/1work_e.html
--
http://mail.python.org/mailman/listinfo/python-list
>>
>
> Who is this Jesus you are talking about? Does he know Python or
> something? What do fig trees have to do with Python and/or Jesus?
Bertand Russell said it best:
Then there is the curious story of the fig tree, which always rather
puzzled me. You remember what happened about the fig
jeff elkins wrote:
> On Wednesday 11 May 2005 04:44 pm, Grant Edwards wrote:
>
>>On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>>The following script demonstrates a method that should work for you. I
>>>believe it is entirely cross-platform.
>>>
>>>#! /usr/bin/python
>>>
>>>impor
MC05 wrote:
> "Matt Hayden" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>>MC05 wrote:
>>
>>>"don freeman" <[EMAIL PROTECTED]> wrote in message
>>>news:[EMAIL PROTECTED]
>>>
The truth is, Jesus should never have torn down the fig tree. He
>>
>>got so
>>
pissed off at
Obaid R. wrote:
> For a detailed response to the claims of the poster please refer to the
> following.
>
> [1] "Ron Grossi: God is not a man" an essay:
> http://groups-beta.google.com/group/microsoft.public.windowsxp.networ...
>
> [2] "Ron Grossi: God is not a man" an entire thread:
> http://gro
Bruno Desthuilliers wrote:
> Ivan Van Laningham a écrit :
>
>> Hi All--
>> The Python docs are not ideal. I can never remember, for instance,
>> where to find string methods (not methods in the string module, but
>> methods with ''),
>
>
> >>> dir('')
> ['__add__', '__class__', '__contains__',
StepH wrote:
> Ron Adam a écrit :
>
>>StepH wrote:
>>
>>
>>>Hi,
>>>
>>>I'm not able to install BLT on my Python 2.4 (upgraded to 2.4.1)
>>>distibution...
>>>
>>>I'v try to download btlz-for-8.3.exe, but when i try to install it,
>>>i've a msgbox saying to the file is corrupt...
>>>
>>>Any idea ?
Title: Read tab delimited ascii file
I have a tab delimited ascii/excel file formated like
LineNum Data1 Data2… Data423
Line001 Val1_1 Val2_1… Val423_1
Line002 Val1_2 Val2_2… Val423_2
…
Linennn...
I want to read the headers/column names in the first line of the file and l
On Wednesday 11 May 2005 10:18 pm, Robert Kern wrote:
> jeff elkins wrote:
> > On Wednesday 11 May 2005 04:44 pm, Grant Edwards wrote:
> >>On 2005-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >>>The following script demonstrates a method that should work for you. I
> >>>believe it is entir
Shi, Jue wrote:
> I agree. The PHP manual is really good, especially the examples and user
> contributed notes.
Dunno if anyone's spent much time editing this, but a while a go AMK posted:
http://www.amk.ca/diary/archives/cat_python.html#003336
which puts a wiki side-by-side with the Python docs
Scott Leerssen wrote:
> I'm trying to build Python 2.4.1 on HP-UX 10.20 and get the following
> during linking:
>
> /usr/ccs/bin/ld: Unsatisfied symbols:
> PyThread_acquire_lock (code)
> PyThread_exit_thread (code)
> PyThread_allocate_lock (code)
> PyThread_free_lock (code)
>
flamesrock wrote:
> Thanks for the code Tom.
>
> Unforunately, I get the following error message when trying to import
> win32com in idle:
Have you installed the pywin32 package? If not, see Google...
--
http://mail.python.org/mailman/listinfo/python-list
Chris Curvey wrote:
> Achim,
>
> Bingo. The recordset is in item 0. And that appears to work even on
> systems where makepy has not been run.
>
> Thanks so much.
So was this not really something that was working *before* you ran
makepy, or is there still an unsolved mystery there?
--
http://
Hi All--
Yes. There are multiple ways I can correct myself, some, I'm sure,
involving chains and whips. But you're all missing the point:
Christopher is right! Python docs are not as good as PHP docs. Why
not? Why do I have to be told "Hey, there are fifty ways to get what
you want!" when I s
Christopher J. Bottaro wrote:
> Why can't Python have documentation like that? The language is
> awesome, it just needs documentation of the same quality.
The canonical answer is, roughly, 'it can'.
A standard addendum is to say that contributions are always welcome.
A common clarification of
"ncf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Example C Code:
> #define P(a,b,c,d,e,f,g,h,x,K) \
> { \
> temp1 = h + S3(e) + F1(e,f,g) + K + x; \
> temp2 = S2(a) + F0(a,b,c); \
> d += temp1; h = temp1 + temp2; \
> }
> Python Code:
> def P(a,b,c,d,e,f,g,h,x,K):
>temp1 =
I'm curious, why is everyone talking about jesus on comp.lang.python?
--
http://mail.python.org/mailman/listinfo/python-list
Ivan Van Laningham wrote:
> I should be able to type "string methods" into the text box,
> push submit, and IT SHOULD HAND ME THE PAGE. Not "Results 1 - 20 of
> about 9,800 from www.python.org for string methods. (0.78 seconds)"
Hmm... I typed in "string methods" at http://docs.python.org/ and g
Steven Bethard wrote:
> Well one reason might be that it's easy to convert from an object's
> attributes to a dict, while it's hard to go the other direction:
...
> py> options['x'], options['y']
> ('spam', 42)
> py> o = ??? # convert to object???
> ...
> py> o.x, o.y
> ('spam', 42)
"hard" == "
"Sébastien Boisgérault" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Manual" == scope of the *Lib Reference* + informal style of the
> *Tutorial*,
You, as well as the OP, left out the Language Reference, which is the
manual (by me definition) for the language itself. Chapte
101 - 200 of 247 matches
Mail list logo