Michael Sparks <[EMAIL PROTECTED]> writes:
> > I've submitted a number of doc bugs to sourceforge and the ones that
> > are simple errors and omissions do get fixed.
>
> Cool.
Better than nothing, but it's only one class of problem, and maybe the
easiest kind to report.
There's another type
On Thursday 01 September 2005 10:11 pm, Paul Rubin wrote:
> "Fred L. Drake, Jr." <[EMAIL PROTECTED]> writes:
> > Ideally, emails to docs at python.org would result in issues being
> > created somewhere, simply so they don't get lost. It probably
> > doesn't make sense for those to land in SourceFo
Xiao Jianfeng wrote:
> Hi,
>
> Are there any free libraries for the analysis and manipulation of
> molecular structural models, implemented in the Python programming
> language ?
>
> Thanks.
What about the followings?
MMTK = http://starship.python.net/crew/hinsen/MMTK/
PyMol = http://pymol.sou
Xiao Jianfeng wrote:
> Hi,
>
> Are there any free libraries for the analysis and manipulation of
> molecular structural models, implemented in the Python programming
> language ?
Google is your friend.
http://starship.python.net/crew/hinsen/mmtk.html
http://pymol.sourceforge.net/
http://www.scri
[EMAIL PROTECTED] writes:
[...]
> /* convert sequences to tuples if necessary */
> ra1 = PySequence_Fast(ra1, "ra1 must be iterable");
> if (ra1 == NULL) {
> return NULL;
> }
>
> dec1 = PySequence_Fast(dec1, "dec1 must be iterable");
> if (dec1 == NULL) {
>
Hi,
Are there any free libraries for the analysis and manipulation of
molecular structural models, implemented in the Python programming
language ?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer wrote:
> Bryan Olson writes:
>>With Python threads/queues how do I wait for two queues (or
>>locks or semaphores) at one call? (I know some methods to
>>accomplish the same effect, but they suck.)
>
> By "not as good as", I meant the model they provide isn't as managable
> as the
"Xah Lee" <[EMAIL PROTECTED]> wrote:
> today i need to decompress
> since i'm familiar with
what the fuck
> Fuck the
> I just need to decompress
that fucking doc
whatever fuck
Is it just me or, do you suppose, with so much unnecessary "f" word, this is
not a post at all, but a
jbrewer wrote:
[I wrote:]
>>You probably shouldn't post such large pieces of code to the list.
>
> OK.
BTW, please attribute your quotes.
[Still me:]
>>You mean a docstring on the module object itself?
>
> Actually, I meant docstrings to the module and the functions, objects,
> methods, whatev
[EMAIL PROTECTED] wrote:
> I'm conscious that the "write" command would allow me to write text to
> a binary file, but I'm not clear how to:
> 1) format my numeric data such that it matches the real*4 format
> 2) parse an entire row of a 2D array without using a for loop.
For homogeneous blocks o
n00m wrote:
>>Bryan;
>
> I tested your code locally (in I*D*L*E) - it works fine!
Glad it worked, but I'd still disrecommend IDLE for that
version. Threads may live after the program seems to be done
(and may still own the port you need). Below is a version that
respects ^C to terminate more-or
On Thursday 01 September 2005 04:03 am, Fredrik Lundh wrote:
> Steve Holden wrote:
> > I agree that maintaining documentation is a generic problem of the open
> > source world, but it's a sad fact of life that generally people are
> > better-motivated to complain about documentation (and almost eve
"BBands" <[EMAIL PROTECTED]> writes:
> I have a list with some strings in in it, 'one', 'two' 'three' and so
> on. I would like to add lists to a class with those names. I have no
> way of knowing what will be in the list or how long the list will be in
> advance.
Others have told you how to do i
>You probably shouldn't post such large pieces of code to the list.
OK.
>You mean a docstring on the module object itself?
Actually, I meant docstrings to the module and the functions, objects,
methods, whatever else in the module. My code was derived from the
Python Cookbook, which left that p
On Thursday 01 September 2005 07:28 am, Fuzzyman wrote:
> On 1 Sep 2005 00:52:54 -0700, "talin at acm dot org"
> <[EMAIL PROTECTED]> wrote:
> What's the difference between this and ``isinstance`` ?
Other than proposing a keyword operator instead of a function,
apparently nothing.
isinstance() ev
On 2005-09-02, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm conscious that the "write" command would allow me to write
> text to a binary file, but I'm not clear how to:
> 1) format my numeric data such that it matches the real*4 format
> 2) parse an entire row of a 2D array without using a
Robert <[EMAIL PROTECTED]> writes:
> Hi,
> I know general Python pretty well and interested in using Python for a
> web project. It will have the standard display, user input, fields,
> look-ups, reports, database routines, etc. Been looking though the
> Python web docs. and seeing stuff like m
On Thursday 01 September 2005 03:01 am, Miki Tebeka wrote:
> [Miki]
> >> Is there a way to document class members in Epydoc?
>
> [Terry]
> > Yes. See additions below:
> I don't like this, I want to document where I declare the variable below.
> Doxygen (www.doxygen.org), for one example, knows ho
I am just starting to use python, and as such my question may well be a
bit simplistic. I am currently trying to write what should be a very
basic set of routines for reading and writing to a binary grid format
(ERMapper). However:
I am struggling to find the correct tools to write a row of a
2-
Fred L. Drake, Jr. wrote:
> On Thursday 01 September 2005 22:53, Steve Holden wrote:
> > So, probably the best outcome of this current dialogue would be a change
> > to the bottom-of-page comment so instead of saying
> >
> > """Release 2.4, documentation updated on 29 November 2004.
> > See Ab
James Stroud wrote:
> On Thursday 04 August 2005 07:49 am, projecktzero wrote:
[...]
>>The manager may have his reasons for choosing the tools.
>
>
> Reason: ignorance.
>
[...]
and the day managers stop being ignorant we'll all be able to fly around
on pigs. Not wishing to offend the pigs, of
"Steve M" <[EMAIL PROTECTED]> writes:
> You can check for membership in a list at least these ways:
Two ways - idnex and the in keyword.
> my_list.find(candidate)
> -returns the index into my_list of the first occurrence of candidate.
> Returns -1 if candidate doesn't occur in my_list.
Lists don
Paul Rubin wrote:
[snip snippety snip snip, snip snip]
>
> Calling the Python docs "worthless" is false and unconstructive;
> saying that the docs have shortcomings in part because the Python
> project itself places too little priority on doc quality is perfectly
> legitimate. Python's core devel
On Thu, 01 Sep 2005 20:57:56 -0500, Steve Holden wrote:
> John M. Gabriele wrote:
>> [snip]
>>
>> Is that how it's usually done? If not, what *is* the
>> usual way of handling this?
>>
> There are a million ways to solve this particular problem, despite
> Python's "TSBOAPOOOWTDI" (see "import t
"Fred L. Drake, Jr." <[EMAIL PROTECTED]> writes:
> Ideally, emails to docs at python.org would result in issues being
> created somewhere, simply so they don't get lost. It probably
> doesn't make sense for those to land in SourceForge automatically,
> since then everyone has to read every plea fo
On Thursday 01 September 2005 22:53, Steve Holden wrote:
> So, probably the best outcome of this current dialogue would be a change
> to the bottom-of-page comment so instead of saying
>
> """Release 2.4, documentation updated on 29 November 2004.
> See About this document... for information o
Ron Adam <[EMAIL PROTECTED]> writes:
> All of the following get the center 'd' from the string.
>
> a = 'abcdefg'
> print a[3] # d 4 gaps from beginning
> print a[-4]# d 5 gaps from end
> print a[3:4] # d
> print a[-4:-3] # d
> print a[-4:4] # d
> print a[3:-3]
Fredrik Lundh wrote:
> Rocco Moretti wrote:
>
>
>>Something a simple as allowing doc bugs to be submitted from a webform
>>w/o login would reduce the barrier to contribute. - Increasing the size
>>of the "About" text wouldn't hurt either. (To be honest, I've never
>>noticed that text before, and
Rocco Moretti wrote:
> Steve Holden wrote:
>
>
>>Every page of the docs links to "About this document", which contains
>>the following: """If you are able to provide suggested text, either to
>>replace existing incorrect or unclear material, or additional text to
>>supplement what's already av
Bryan Olson <[EMAIL PROTECTED]> writes:
> Mike Meyer wrote:
> > Bryan Olson writes:
> >>System support for threads has advanced far beyond what Mr. Meyer
> >>dealt with in programming the Amiga.
> >
> > I don't think it has - but see below.
> >
> >>In industry, the two major camps are Posix
"Brock Filer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> countries['us']['Colorado']['Denver']['@population']
>
> This is going to be used in user-input formulae, so I'm willing to do a
> lot of work for minor beautifications. I'd like to be able to say (I
> know, the quotes ar
"Ron Adam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Fredrik Lundh wrote:
>> Ron Adam wrote:
>>>The problem with negative index's are that positive index's are zero
>>>based, but negative index's are 1 based. Which leads to a non
>>>symmetrical situations.
>>
>> indices point
Alan Kennedy <[EMAIL PROTECTED]> writes:
> [Tony Meyer]
>> Should the Python developers likewise get some cryptic name?
> No, they'll always be the python-dev cabal to me.
And here I thought I was dealing with the SMOP.
http://www.mired.org/home/mwm/
Independent WWW/Perforce
talin at acm dot org wrote:
> Although I realize the perils of even suggesting polluting the Python
> namespace with a new keyword, I often think that it would be useful to
> consider defining an operator for testing whether or not an item is a
> member of a category.
It's a good idea but not like
Asbjørn Sæbø <[EMAIL PROTECTED]> writes:
> "Xah Lee" <[EMAIL PROTECTED]> writes:
>> I'm very sorry to say, that the Python doc is one of the worst possible
>> in the industry. [...]
> I suppose you are going to volounteer to fix it, then. Right?
He once did, for one part of it. The problem he ran
Steve Holden wrote:
> I wonder if it would be worth special-casing the AttributeError [snip]
What is it that Tim Peters said? "Special cases aren't special
enough..."
Besides, a better way is to use your ~/.pythonrc file for customizing
according to your needs.
A simple:
echo "import sys, os"
"Terry Reedy" <[EMAIL PROTECTED]> writes:
> "Rocco Moretti" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> There is just one giant roadblock to that suggestion - Sourceforge
>> requires a login to post bugs/patches.
>
> After reading this and the rest of your post, and rememberin
Rick Wotnaz wrote:
> Michael Hoffman <[EMAIL PROTECTED]> wrote in
> news:[EMAIL PROTECTED]:
>
>
>>What would people think about adding sys to __builtins__ so that
>>"import sys" is no longer necessary? This is something I must
>>add to every script I write that's not a one-liner since they
>>hav
On Thursday 04 August 2005 07:49 am, projecktzero wrote:
> "a manager telling me what tools to use to do my job is a bad
> manager by definition because he should realize that the people who
> best
> know what tools to use are the peope who use the tools*."
>
> I'm sorry, this doesn't make much se
John M. Gabriele wrote:
> I'm putting together a small site using Python and cgi.
>
> (I'm pretty new to this, but I've worked a little with
> JSP/servlets/Java before.)
>
> Almost all pages on the site will share some common (and
> static) html, however, they'll also have dynamic aspects.
> I'm
Ilya the Recusant wrote:
> In a not so bright galaxy nowhere near intelligent space, "Eve S."
> <[EMAIL PROTECTED]> wrote:
>
>><[EMAIL PROTECTED]> schreef in bericht
>>news:[EMAIL PROTECTED]
>>
>>>.
>>>
>>
>>A decent amount of gentle sucking on the other hand never goes amiss.
>
>
> Must...not..
phil hunt wrote:
> On 1 Sep 2005 00:52:54 -0700, talin at acm dot org <[EMAIL PROTECTED]> wrote:
>
>>The "isa" operator would of course be overloadable, perhaps by an
>>accessor functions called __isa__, which works similarly to
>>__contains__. The potential uses for this are not limited to
>>isin
... or something like that.
I have an XMLish data structure whose nodes' __get/set/del item__
methods resolve as:
node['foo'] -> node.children['foo']
node['@bar'] -> node.attributes['bar']
so you can say:
countries['us']['Colorado']['Denver']['@population']
This is going to be used in user-i
Peter Maas wrote:
> Xah Lee schrieb:
> > today i need to use Python to decompress gzip files.
> >
> > since i'm familiar with Python doc and have 10 years of computing
> > experience with 4 years in unix admin and perl, i have quickly located
> > the official doc:
> >
> > http://python.org/doc/2
Fredrik Lundh wrote:
> Ron Adam wrote:
>
>
>>The problem with negative index's are that positive index's are zero
>>based, but negative index's are 1 based. Which leads to a non
>>symmetrical situations.
>
>
> indices point to the "gap" between items, not to the items themselves.
So how do I
On Thu, 01 Sep 2005 19:10:14 +0200, Walter Dörwald wrote:
> John M. Gabriele wrote:
>
>> I'm putting together a small site using Python and cgi.
>>
>> (I'm pretty new to this, but I've worked a little with
>> JSP/servlets/Java before.)
>>
>> Almost all pages on the site will share some common (
On Thu, 01 Sep 2005 13:12:14 +0100, Fuzzyman wrote:
> On Thu, 01 Sep 2005 03:10:07 -0400, "John M. Gabriele"
> <[EMAIL PROTECTED]> wrote:
>
>>I'm putting together a small site using Python and cgi.
>>
>>(I'm pretty new to this, but I've worked a little with
>>JSP/servlets/Java before.)
>>
>>Almos
On Thu, 01 Sep 2005 09:20:51 +0200, Diez B. Roggisch wrote:
> John M. Gabriele wrote:
>> I'm putting together a small site using Python and cgi.
>>
>> (I'm pretty new to this, but I've worked a little with
>> JSP/servlets/Java before.)
>>
>> Almost all pages on the site will share some common (a
DENG enlightened us with:
> i use SGMLParser to process HTML files, in order to do some
> optimizations,
>
> something like this:
>
>TEXT1TEXT2
>
> optimise to
>
>TEXT1TEXT2
Why not optimize it to:
TEXT1
TEXT2?
> [ snipped stuff about tags ]
If you're serious about using HTML, I suggest you re
Bryan Olson enlightened us with:
> > Why don't you help us by improving the documentation?
>
> Workin' on it.
That's all I needed to know ;-)
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety la
In article <[EMAIL PROTECTED]>,
"max(01)*" <[EMAIL PROTECTED]> wrote:
> i have some problems understanding following behaviour.
>
> consider this:
> $ cat file_input_3.pl
> #!/usr/bin/perl
>
> open MIAPIPE, "una_pipe";
>
> while ($riga = )
...
> $ cat file_input_3.py
> #!/usr/bin/python
>
>
On 1 Sep 2005 00:52:54 -0700, talin at acm dot org <[EMAIL PROTECTED]> wrote:
>
>The "isa" operator would of course be overloadable, perhaps by an
>accessor functions called __isa__, which works similarly to
>__contains__. The potential uses for this are not limited to
>isinstance() sugar, however.
then you are using a regex expression that is a wildcard match, and
that is non-deterministic.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 1 Sep 2005 17:09:27 +0200,
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> the useredit approach I'm using over at the librarybook site works
> pretty well. for example, if you go to
That looks pleasantly simple.
I don't consider the pydoc.amk.ca experiment to have been really succes
BBands a écrit :
(snip)
> class master:
> def __init__(self, list):
Don't use 'list' as an identifier, it will shadow the builtin list type.
--
http://mail.python.org/mailman/listinfo/python-list
Yes indeed, the real data often has surprising differences from the
simulations! :)
It turns out that pyparsing LineStart()'s are pretty fussy. Usually,
pyparsing is very forgiving about whitespace between expressions, but
it turns out that LineStart *must* be followed by the next expression,
wit
On Sep 1, 2005, at 3:18 PM, BBands wrote:
> Something like:
>
> class master:
> def __init__(self, list):
> self.count = len(list)
> for line in list:
> self.line = [] # obviously this doesn't work
No, but this does:
class master:
def __init__(self, lst):
tested and working...
jab, now possessing an embarrassment of riches, says "Thanks!"
--
http://mail.python.org/mailman/listinfo/python-list
On 9/1/05, Larry Bates <[EMAIL PROTECTED]> wrote:
flexibility comes complexity. For less complex needs there are othermore lightweight things like CherryPy.
Yes, I agree CherryPy is very nice. I am currently updating my site
using CherryPy (and CherryTemplate) and it all works very nice. You'll
le
"Kurt B. Kaiser" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Patches : 903 open (+551) / 5222 closed (+2324) / 6125 total (+2875)
>Bugs: 903 open (-23) / 5222 closed (+45) / 6125 total (+22)
Something went awry, as the patch totals did not really rise up to exactly
th
I think what you want is this (not tested):
class master:
def __init__(self, list):
self.count = len(list)
for entry in list:
self.__dict__[entry]= []
This will get you master class with three attributes
a = master(list)
a.one
a.two
a.three
each containing an e
IMHO it all depends on the complexity required by the final product that
you are attempting to create. For complex projects, it is hard to beat
Zope/Plone. They have lots of built in things that you don't have to
write and are nearly infinitely extensible. We recently chose Zope for
a project an
Thanks to a generous Pyhtonista replied with a pointer to setattr().
jab
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for all the help everyone.
Steve, sets are perfect. I didn't even realize they existed. Somehow I
completely missed that part of the tutorial. Thanks :)
--
http://mail.python.org/mailman/listinfo/python-list
A.M. Kuchling wrote:
> On 1 Sep 2005 05:04:33 -0700,
> Paul Boddie <[EMAIL PROTECTED]> wrote:
>> Please note that I'm not labelling you as a troll.
>
> No, he's simply barking mad. I was amused by a rec.arts.sf.written
> discussion [1] where Lee complains that Jonathan Swift (1667-1745)'s
> writ
[EMAIL PROTECTED] wrote:
> Paul McGuire wrote:
> > match...), this program has quite a few holes.
> tried run it though and it is not working for me. The following code
> runs but prints nothing at all:
>
> import pyparsing as prs
>
And this is the point where I have to post the real stuff because
In a not so bright galaxy nowhere near intelligent space, "Eve S."
<[EMAIL PROTECTED]> wrote:
>
><[EMAIL PROTECTED]> schreef in bericht
>news:[EMAIL PROTECTED]
>> .
>>
>
>A decent amount of gentle sucking on the other hand never goes amiss.
Must...not...make...joke...
Ilya the Recusant
-
Eric Nieuwland wrote:
> max(01)* wrote:
>
>> $ cat file_input_3.py
>> #!/usr/bin/python
>>
>> import sys
>>
>> MIAPIPE = open("una_pipe", "r")
>>
>> for riga in MIAPIPE:
>>print riga,
>> ...
>> [...]
>> BUT if i try to do the same with the python code, something different
>> happens: i have to
Michael Hoffman <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> What would people think about adding sys to __builtins__ so that
> "import sys" is no longer necessary? This is something I must
> add to every script I write that's not a one-liner since they
> have this idiom at the bottom:
Kevin Little a écrit :
Oops, sorry, forgot to answer
> '''
> I want to dynamically add or replace bound methods in a class.
(snip)
> Is there a more pythonic way that's as straight forward?
What's wrong with:
class Foo:
pass
def method(self):
print "%s" % self
f = Foo()
Foo.method = me
I want to start twisted app from another GUI application and not via
twistd.
It works fine when started via twistd (1 & 2) but not when I try to
start it
manually (1 & 3) - nothing is listening to 8080 port.
# (1) common part
from nevow import rend, appserver
from twisted.application import servi
<[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> .
>
A decent amount of gentle sucking on the other hand never goes amiss.
--
sexy .sig wanted
--
http://mail.python.org/mailman/listinfo/python-list
Paul McGuire wrote:
> match...), this program has quite a few holes.
>
> What if the word "Identifier" is inside one of the quoted strings?
> What if the actual value is "tablename10"? This will match your
> "tablename1" string search, but it is certainly not what you want.
> Did you know there ar
Hi Paul,
Paul Rubin wrote:
> Michael Sparks <[EMAIL PROTECTED]> writes:
[[[ some random stuff, /intended/ at supporting people who have contributed
docs, rather than saying people who offer constructive suggestions are
bad. Possibly badly written. ]]]
> I've submitted a number of doc bugs to
Miki Tebeka wrote:
> Look at re.findall, I think it'll be easier.
Minor changes aside the interesting thing, as you pointed out, would be
using re.findall. I could not figure out how to.
--
http://mail.python.org/mailman/listinfo/python-list
I have a list with some strings in in it, 'one', 'two' 'three' and so
on. I would like to add lists to a class with those names. I have no
way of knowing what will be in the list or how long the list will be in
advance.
Something like:
class master:
def __init__(self, list):
self.coun
Madhusudan Singh wrote:
> I am looking to write a formatted string to a string variable :
>
> Say I have 1.067e-01, I need to write 106.700 to some string.
>
> In Fortran 95, this would be accomplished with a :
>
> character(len=7) :: stringvar
> real :: stringval
>
> ...
>
> write(stringvar,'(f7.
Madhusudan Singh wrote:
> Say I have 1.067e-01, I need to write 106.700 to some string.
Uh, I'm going to assume you meant 1.067e2, because 1.067e-01 != 106.700.
> character(len=7) :: stringvar
> real :: stringval
>
> ...
>
> write(stringvar,'(f7.3)') stringval
>>> stringval = 1.067e2
>>> st
Hi
I am looking to write a formatted string to a string variable :
Say I have 1.067e-01, I need to write 106.700 to some string.
In Fortran 95, this would be accomplished with a :
character(len=7) :: stringvar
real :: stringval
...
write(stringvar,'(f7.3)') stringval
How does one do somethin
hi there.
i have some problems understanding following behaviour.
consider this:
...
$ cat file_input_3.pl
#!/usr/bin/perl
open MIAPIPE, "una_pipe";
while ($riga = )
{
print STDOUT ("$riga");
}
$ cat file_input_3.py
#!/usr/bin/python
import sys
MIAPIPE = open("una_pipe", "r")
fo
"Paul Rubin" <"http://phr.cx"@NOSPAM.invalid> wrote in message
news:[EMAIL PROTECTED]
> I think there is an attitude problem in the central Python development
> community, which is to expect external volunteers to do stuff with no
> cajoling and no guidance.
You are correct. No one has voluntee
max(01)* wrote:
> $ cat file_input_3.py
> #!/usr/bin/python
>
> import sys
>
> MIAPIPE = open("una_pipe", "r")
>
> for riga in MIAPIPE:
>print riga,
> ...
> [...]
> BUT if i try to do the same with the python code, something different
> happens: i have to type ALL the lines on console #2 and co
What would people think about adding sys to __builtins__ so that
"import sys" is no longer necessary? This is something I must add to
every script I write that's not a one-liner since they have this idiom
at the bottom:
if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))
Additionally,
"Rocco Moretti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> There is just one giant roadblock to that suggestion - Sourceforge
> requires a login to post bugs/patches.
After reading this and the rest of your post, and remembering others like
it, I decided this maybe is a real
Robert Kern <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] wrote:
>> Hi,
>>
>> I'm rather new to Python, and I've just written my first Python C
>> module. I was wondering if some more experience Pythonista would look
>> over what I've written and given me some pointers (or find some bugs).
>>
[EMAIL PROTECTED] writes:
> > I suspect he was trying to say that BaseHTTPServer has no mechanism for
> > handling state. As you know, of course, this is most relevant across
> > multiple successive connections to a server from the same client, and
> > has little to do with threads.
Usually you wo
[EMAIL PROTECTED] wrote:
> Hi,
>
> I'm rather new to Python, and I've just written my first Python C
> module. I was wondering if some more experience Pythonista would look
> over what I've written and given me some pointers (or find some bugs).
> I had a few questions while writing this as well.
Check out Django:
http://www.djangoproject.com/
--
http://mail.python.org/mailman/listinfo/python-list
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> another problem is that to be able to do really good work on the
> documentation, you need to know things well enough to "have the
> big picture". and once you have that, you'll find that the docs aren't
> really as bad as you once thought they were.
Hi,
I know general Python pretty well and interested in using Python for a
web project. It will have the standard display, user input, fields,
look-ups, reports, database routines, etc. Been looking though the
Python web docs. and seeing stuff like mod_python, CGI, PSP, CherryPy,
etc..., A
Hi,
I'm rather new to Python, and I've just written my first Python C
module. I was wondering if some more experience Pythonista would look
over what I've written and given me some pointers (or find some bugs).
I had a few questions while writing this as well.
Also, I know that there are much be
In article <[EMAIL PROTECTED]>,
Paul Boddie <[EMAIL PROTECTED]> wrote:
>bruno wrote:
>>
>> I have spent 1 week on learning reading and felt good. but I still don't
>> understand most part of Emmanuel Kant's writings.
>>
>
>Monty Python really missed out there: cut to a sketch featuring three
>yea
praba kar wrote:
> --- "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>
>>That is not what Sybren requested - we need the
>>message text. If you
>>send html, make sure your paragraphs are html
>>paragraphs (enclosed in
>>-tags) and not pure whitespace, as html ignores
>>these.
>
> I am sending tex
>Bryan;
I tested your code locally (in I*D*L*E) - it works fine!
And of course I'll test it over LAN but only tomorrow - at work.
See the picture of my IDLE window with output of your code:
http://free.7host02.com/n00b/socket_Br.gif
Note the 4th line in Blue: there Z is the name of my home machine,
Peter Maas wrote:
> Xah Lee schrieb:
> > today i need to use Python to decompress gzip files.
> >
> > since i'm familiar with Python doc and have 10 years of computing
> > experience with 4 years in unix admin and perl, i have quickly located
> > the official doc:
> >
> > http://python.org/doc/2
Dennis Lee Bieber wrote:
> Well, at that point, you could substitute "waiting on a queue" with
> "waiting on a socket" and still have the same problem -- regardless of
> the nature of the language/libraries for threading; it's a problem with
> the design of the classes as applied to a thre
William Gill <[EMAIL PROTECTED]> wrote:
> Being somewhat new to Python, and having a tendency to over complicate
> things in my class design, I was wondering if anyone can suggest a
> simple graphical or flowcharting tool that they use to organize their
> class and program design? Because of a
Mike Meyer wrote:
> bruno modulix <[EMAIL PROTECTED]> writes:
>
>>Devan L wrote:
>>
>>>Kevin Little wrote:
>>>
>>>
I want to dynamically add or replace bound methods in a class.
>>
>>(snip)
>>
>>
>>>I'm not an expert, but why do you need to dynamically add or replace
>>>bound methods?
>>
>>T
On 1 Sep 2005 03:51:55 -0700, "Xah Lee" <[EMAIL PROTECTED]> wrote:
>On Python's Documentation
Thinking about it, I can't imagine why I've waited so long to filter
this idiot.
--
Al Balmer
Balmer Consulting
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
You can check for membership in a list at least these ways:
my_list.index(candidate)
-returns the index into my_list of the first occurrence of candidate.
Raises ValueError if candidate doesn't occur in my_list.
my_list.find(candidate)
-returns the index into my_list of the first occurrence of ca
1 - 100 of 212 matches
Mail list logo