On 2008-04-23, blaine <[EMAIL PROTECTED]> wrote:
> On Apr 23, 2:01 pm, "Martin Blume" <[EMAIL PROTECTED]> wrote:
>> "blaine" schrieb
>> No,
>> while 1:
>> r = self.fifodev.readline()
>> if r: print r
>> else: time.sleep(0.1)
>> is ok (note the "if r:" clause).
>>
>> Martin
>
>
i use dictionaries to hold some config data,
such as:
conf={'key1':'value1','key2':'value2'}
and so on...
when i try to process conf, i have to code every time like:
if conf.has_key('key1'):
if conf['key1']<>'':
other commands
this is very annoying.
in php, i was able to code
Jason Scheirer wrote:
On Apr 23, 5:16 pm, [EMAIL PROTECTED] wrote:
Hello all, I am trying to integrate TurboGears with our Active
Directory here at the office. TurboGears aside, i cannot get this to
work.
Seems more promising: http://tgolden.sc.sabren.com/python/active_directory.html
This i
in 344018 20080422 231351 "Blubaugh, David A." <[EMAIL PROTECTED]> wrote:
>Is there a way to block these messages. I do not want to be caught
>with filth such as this material. I could lose my job with Belcan with
>evil messages such as these messages. =20
So don't repeat them!
--
http://mail
On Thu, Apr 24, 2008 at 11:13:25AM +0300, bvidinli wrote:
> if conf.has_key('key1'):
> if conf['key1']<>'':
> other commands
>
> this is very annoying.
> in php, i was able to code only like:
> if conf['key1']=='someth'
>
> in python, this fails, because, if key1 does not exists
> this is very annoying.
Posting to so many lists is even more annoying. You might not get
a single helpful answer just because people are so frustrated by
this behavior.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
bvidinli wrote:
i use dictionaries to hold some config data,
such as:
conf={'key1':'value1','key2':'value2'}
and so on...
when i try to process conf, i have to code every time like:
if conf.has_key('key1'):
if conf['key1']<>'':
other commands
this is very annoying.
in php, i
I posted to so many lists because,
this issue is related to all lists,
this is an idea for python,
this is related to development of python...
why are you so much defensive ?
i think ideas all important for development of python, software
i am sory anyway hope will be helpful.
2008/4/24
"Filip Gruszczynski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|> If you want to just declare that name exist, but doesn't want to
| > declare the type, why don't you just do this:
Names do not 'exist' in Python, nor do they have types. They are bound to
objects that have t
"globalrev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| if i want a function that can take any amount of arguments how do i
| do?
|
| lets say i want a function average that accepts any number of integers
| and returns the average.
To add to the other comments, read the ref man
bvidinli wrote:
I posted to so many lists because,
this issue is related to all lists,
this is an idea for python,
this is related to development of python...
why are you so much defensive ?
i think ideas all important for development of python, software
i am sory anyway hope will be h
Scott SA a écrit :
Hi,
I'm using the @classemethod decorator for some convenience methods
and for some reason, either mental block or otherwise, can't seem to
figure out how to elegantly detect if the call is from an instance or
not.
Well, the point is that a classmethod *always* receive the cla
Michael Ströder wrote:
Jason Scheirer wrote:
On Apr 23, 5:16 pm, [EMAIL PROTECTED] wrote:
Hello all, I am trying to integrate TurboGears with our Active
Directory here at the office. TurboGears aside, i cannot get this to
work.
Seems more promising:
http://tgolden.sc.sabren.com/python/activ
Scott SA <[EMAIL PROTECTED]> writes:
A side note
> class RecipieClass:
Recipe is a more widespread spelling, I believe. Moreover it is the
convention in python that only class names are capitalized, so you
don't need to append a 'Class'.
class Recipe:
...
clafoutis = Recipe(
bvidinli <[EMAIL PROTECTED]> writes:
> i use dictionaries to hold some config data,
> such as:
>
> conf={'key1':'value1','key2':'value2'}
> and so on...
>
> when i try to process conf, i have to code every time like:
> if conf.has_key('key1'):
> if conf['key1']<>'':
> other commands.
"John Salerno" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| John Machin wrote:
|
| > Deletion occurs *only* in the corner case where there are no "assigned
| > elements" i.e. only if the RHS list (sequence) is *empty*.
|
| Oh, it was my understanding that deletion always occurs,
http://twilight.110mb.com/gb/piac1.html
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 21, 3:14 pm, NickC <[EMAIL PROTECTED]> wrote:
> On Apr 15, 1:46 pm, Brian Vanderburg II <[EMAIL PROTECTED]>
> wrote:
[...]
> Yeah, C++ does try to be helpful, and all of those automatic copy
> constructor, assignment operator and destructor implementations screw
> up royally when confronted
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> globalrev wrote:
>> if i want a function that can take any amount of arguments how do i
>> do?
>>
>> lets say i want a function average that accepts any number of integers
>> and returns the average.
>
> Use a parameter
[EMAIL PROTECTED] wrote:
import ldap
l = ldap.initialize("ldap://server.net";)
l.simple_bind(DN, "secret")
> 1
^^^
You probably want to use the synchronous method simple_bind_s() since
you want to impersonate on this LDAP connection immediately before doing
anything else on th
On 2008-04-24 05:27, Scott SA wrote:
Hi,
I'm using the @classemethod decorator for some convenience methods and for some
reason, either mental block or otherwise, can't seem to figure out how to
elegantly detect if the call is from an instance or not.
Here's the problem: Within the class defi
hotani wrote:
http://peeved.org/blog/2007/11/20/
BTW: This blog entry claims that LDAP_SERVER_DOMAIN_SCOPE_OID control
cannot be used with python-ldap. But support for such simple LDAPv3
extended controls was added to python-ldap way back in 2005.
Actually it's easy (relevant code excerpt):
On Apr 24, 4:05 am, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Apr 23, 8:00 pm, "Eric Wertman" <[EMAIL PROTECTED]> wrote:
>
> > I have a set of files with this kind of content (it's dumped from
> > WebSphere):
>
> > [propertySet "[[resourceProperties "[[[description "This is a required
> > prope
bvidinli schrieb:
I posted to so many lists because,
this issue is related to all lists,
this is an idea for python,
this is related to development of python...
why are you so much defensive ?
i think ideas all important for development of python, software
i am sory anyway hope will be
On Apr 24, 12:22 pm, Michael Torrie <[EMAIL PROTECTED]> wrote:
> pipe([prog1,args],[prog2,args],...)
> Any ideas on how I could design this?
There's a recipe on Activestate's Python Cookbook that does pretty
much this:
> Allows arbitrary number of commands to be strung together with
> each one fe
xyplorer crack
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
civilization iv crack
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
xxx crack
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
intervideo windvd keygen
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
the apple patch diet
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
orbital trader crack
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
crack xp
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
ilife 08 keygen
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
crack spyder
http://cracks.12w.net
F
R
E
E
C
R
A
C
K
S
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 24 Apr 2008 10:24:37 +0200
Robert Bossy <[EMAIL PROTECTED]> wrote:
> Way 2: make conf a defaultdict instead of a dict, the documentation is
> there:
> http://docs.python.org/lib/defaultdict-objects.html
Only for 2.5 and up though.
--
D'Arcy J.M. Cain <[EMAIL PROTECTED]> | Democ
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
In py3k string%dictionary is going away.
>>> Why do you say that? It's not going away in Python 3.0.
>>
>> I also got the impression that it was going away. PEP 3101's abstract
>> says:
>>
>> This PEP proposes a new system for built-in stri
Hi all,
I have a python prog:
#!/usr/bin/env
"""
Author: BDS
Version: 1.0
"""
def Hello():
""" Prints a Hello World to the screen"""
print "Hello, World"
if __name__ == "__main__":
Hello()
I want to use ReSt (reStructuredText) in my docstrings or comments.
Any example of how
Torsten Bronger a écrit :
Hallöchen!
[EMAIL PROTECTED] writes:
On 23 avr, 19:39, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
Are there any completely free developent tools for python scripts
like IDLE. I have used IDLE , but I want to try out others
also. I saw stuff like PyCrust, but I d
Ken wrote:
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
[...]
def mean(*x):
total = 0.0
for v in x:
total += v
return v/len(x)
think you want total/len(x) in return statement
Yes indeed, how glad I am I wrote "untested". I clearly wasn't pair
programming when I
Hi,
How can you get the traceback of the inner exception?
try:
try:
import does_not_exit
except ImportError:
raise Exception("something wrong")
except:
...
Background: In Django some exceptions are caught and a new
exception gets raised. Unfortunately the real error
barbaros a écrit :
On Apr 23, 10:48 am, Bruno Desthuilliers wrote:
My question is: can it be done using inheritance ?
Technically, yes:
class OrientedBody(Body):
def __init__(self, orient=1):
Body.__init__(self)
self.orient = 1
Now if it's the right thing to do is another quest
Hallöchen!
Bruno Desthuilliers writes:
> [...]
>
>> and it ends multi-line strings at single quotes.
>
> it chokes on unbalanced single quotes in triple-single-quoted
> strings, and on unbalanced double-quotes in triple-double-quoted
> strings, yes. Given that I never use triple-single-quoted str
On Apr 22, 3:10 pm, sophie_newbie <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to write a piece of code that spawns a thread and
> prints dots every half second until the thread spawned is finished.
> Code is
> something like this:
>
> import threading
> class MyThread ( threading.Thread ):
>
On Apr 24, 12:32 pm, sophie_newbie <[EMAIL PROTECTED]> wrote:
> On Apr 22, 3:10 pm,sophie_newbie<[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, I'm trying to write a piece of code that spawns a thread and
> > prints dots every half second until the thread spawned is finished.
> > Code is
> > something lik
On 4/24/08, Banibrata Dutta <[EMAIL PROTECTED]> wrote:
> On Windows, I use "PyScripter", and it's quite nice and functional.
>
> On 4/24/08, Torsten Bronger <[EMAIL PROTECTED]> wrote:
> > Hallöchen!
> >
> > Bruno Desthuilliers writes:
> >
> > > [...]
> > >
> > >> and it ends multi-line strings at s
On Apr 22, 8:38 pm, David <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 22, 2008 at 6:21 PM,sophie_newbie<[EMAIL PROTECTED]> wrote:
> > Does anyone know how to do this? I can't seem to make it work.
>
> > I'm using:
>
> > c = Cookie.SimpleCookie()
> > c['data'] = "unamepwordwhatever"
> > c.expires =
Paul McNett a écrit :
def avg(*args):
return sum(args) / len(args)
There are some dangers (at least two glaring ones) with this code,
though, which I leave as an exercise for the reader.
try:
avg("toto", 42)
except TypeError, e:
print "this is the first one : %s" % e
try:
avg()
excep
Torsten Bronger a écrit :
Hallöchen!
Bruno Desthuilliers writes:
[...]
and it ends multi-line strings at single quotes.
it chokes on unbalanced single quotes in triple-single-quoted
strings, and on unbalanced double-quotes in triple-double-quoted
strings, yes. Given that I never use triple-
bvidinli wrote:
I posted to so many lists because,
this issue is related to all lists,
No, it isn't, as you would have discovered had you bothered to read the
purpose of each list. For example, python-help and python-dev are
mutually exclusive.
this is an idea for python,
It isn't an id
Thomas Guettler wrote:
> How can you get the traceback of the inner exception?
You have to record it yourself or it will be lost.
> try:
> try:
> import does_not_exit
> except ImportError:
> raise Exception("something wrong")
> except:
> ...
>
>
> Background:
Hi,
I'm stumped on how to have a scrollbar with a long list of checkboxes.
Given code like:
from Tkinter import *
root = Tk()
states = []
for i in range(150):
var = IntVar()
chk = Checkbutton(root, text=str(i), variable=var)
chk.grid(sticky=W)
states.append(var)
root.mainloop()
p
On Apr 24, 12:41 pm, sophie_newbie <[EMAIL PROTECTED]> wrote:
> On Apr 22, 8:38 pm, David <[EMAIL PROTECTED]> wrote:
>
> > On Tue, Apr 22, 2008 at 6:21 PM,sophie_newbie<[EMAIL PROTECTED]> wrote:
> > > Does anyone know how to do this? I can't seem to make it work.
>
> > > I'm using:
>
> > > c = Co
On Apr 24, 12:43 pm, Bruno Desthuilliers wrote:
[...]
> Not quite sure what's the best thing to do in the second case - raise a
> ValueError if args is empty, or silently return 0.0 - but I'd tend to
> choose the first solution (Python's Zen, verses 9-11).
What's wrong with raising ZeroDivisionEr
Eric Wertman <[EMAIL PROTECTED]> wrote:
> I have a set of files with this kind of content (it's dumped from
> WebSphere):
>
> [propertySet "[[resourceProperties "[[[description "This is a required
> property. This is an actual database name, and its not the locally
> catalogued database name. The
On 24 Apr, 13:20, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can you get the traceback of the inner exception?
>
> try:
> try:
> import does_not_exit
> except ImportError:
> raise Exception("something wrong")
> except:
> ...
>
> Background: In Django s
[EMAIL PROTECTED] schrieb:
> On 24 Apr, 13:20, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> How can you get the traceback of the inner exception?
>>
>> try:
>> try:
>> import does_not_exit
>> except ImportError:
>> raise Exception("something wrong")
>> except:
-On [20080424 13:16], bdsatish ([EMAIL PROTECTED]) wrote:
>#!/usr/bin/env
#!/usr/bin/env what? I guess you meant #!/usr/bin/env python
>"""
>Author: BDS
>Version: 1.0
>"""
>
>def Hello():
>""" Prints a Hello W
On Apr 24, 12:08 am, Dan Bishop <[EMAIL PROTECTED]> wrote:
> On Apr 23, 11:51 pm, Greg J <[EMAIL PROTECTED]> wrote:
>
> > I was reading the programming Reddit tonight and came across this
> > (http://reddit.com/info/6gwk1/comments/):
>
> > >>> ([1]>2)==True
> > True
> > >>> [1]>(2==True)
> > True
bvidinli wrote:
i use dictionaries to hold some config data, such as:
conf={'key1':'value1','key2':'value2'} and so on...
when i try to process conf, i have to code every time like: if
conf.has_key('key1'): if conf['key1']<>'': other commands
this is very annoying. in php, i was able to c
Thanks to Paul McGuire and Bruno Desthuilliers for their comprehensive
answers. This is exactly what I was looking for, except I did not know
the correct name (composition/delegation). Now all I have to do is to
study the supplied code, understand it and adapt it to my problem.
Thank you very much
On Apr 21, 9:01 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
>
> Perhaps you can manage to keep your code compatible with all versions, but
> AFAIK the reccomended strategy is to write code compatible with Python 2.6
> and use the 2to3 tool to generate the 3.0 source. And *not* edit the 3
I'm stuck using a library based on old style classes, and need to find
a class's parent at runtime.
With new style classes you can use .__base__ to inspect a parent, but
I can't remember how this was done in days of yore, before object.
I've tried googling, but apparently my search term Fu is weak
dict also has 'get' which provides a default if the key isn't defined:
a={}
print a.get('a','default')
default
-Rick King
southfield MI
--
http://mail.python.org/mailman/listinfo/python-list
> Again, to me, this is a non-issue because I've been able to create a
> cross-version compatible single codebase for pyparsing. But it was a
> bit dicey there for a while, and I think other module developers/
> maintainers may not be so lucky.
I'm more optimistic. I tried it for Django, and whil
On Apr 24, 7:11 am, goldtech <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm stumped on how to have a scrollbar with a long list of checkboxes.
> Given code like:
>
> from Tkinter import *
> root = Tk()
> states = []
> for i in range(150):
> var = IntVar()
> chk = Checkbutton(root, text=str(i), va
Hi
I am very new to web development. I started with Pylons. I am using
http://www.rexx.com/~dkuhlman/pylons_quick_site.html as reference to
create a sample web page using pylons.
I got stuck up at step 4.3 i.e when modifying controller to "return
Response('firstapp default')"
I am getting error
On Apr 23, 4:27 pm, John Nagle <[EMAIL PROTECTED]> wrote:
> Tim Golden wrote:
> > John Nagle wrote:
> >> Mike Driscoll wrote:
> >>> Ken,
>
> >>> On Tue, Apr 22, 2008 at 1:36 PM, Kenneth McDonald
> >>> <[EMAIL PROTECTED]> wrote:
> Sadly.
>
> Thanks,
> Ken
> --
> http://m
Thanks for your reply. Another point to note: if you get a personal
reply (often you will just see replies on the list, but sometimes people
will also mail you directly) it is usual to make sure the list gets
copied in any reply.
I hope you don't mind that I am sending a copy of this message t
On 24 Apr, 15:00, Christian Heimes <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
:
>
> > class ReraisedException(Exception):
> > def __init__(self, message, exc_info):
> > Exception.__init__(self, message)
> > self.inner_exception = exc_info
>
> > try:
> > try
I am trying to make a a simple databasing GUI interface and and have
created a module to deal with parsing the data from a file and a GUI
based program that displays this data using PyQt4, i know how to
register files in the system registry using python and also using Inno
Setup which i use to pack
bvidinli wrote:
i use dictionaries to hold some config data,
such as:
conf={'key1':'value1','key2':'value2'}
and so on...
when i try to process conf, i have to code every time like:
if conf.has_key('key1'):
if conf['key1']<>'':
other commands
this is very annoying.
in php, i
On 24 Apr, 16:33, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
> This is a legitimate issue and one I don't know how to solve. It would
> be nice to have some kind of verification process, but I'm unaware of
> anything affordable. If you have any ideas, feel free to express them.
It'd be interesting
Hi,
I would like to develop a billing system for a cable tv system, basically
what it does is have subscribers in db, compute billing statement, print for
statement for distribution something like that. I was evaluating jbilling
its a java base billing system that uses tomcat,mysql or postgress DB
Thanks to everyone for the help and feedback. It's amazing to me that
I've been dealing with odd log files and other outputs for quite a
while, and never really stumbled onto a parser as a solution.
I got this far, with Paul's help, which manages my current set of files:
from pyparsing import n
hi, I've got lots of xhtml pages that need to be fed to MS HTML Workshop to
create CHM files. That application really hates xhtml, so I need to convert
self-ending tags (e.g. ) to plain html (e.g. ).
Seems simple enough, but I'm having some trouble with it. regexps trip up
because I also have
On Apr 24, 10:42 am, "Eric Wertman" <[EMAIL PROTECTED]> wrote:
> I'm sure there are cooler ways to do some of that. I spent most of my
> time expanding the characters that constitute content. I'm concerned
> that over time I'll have things break as other characters show up.
> Specifically a few o
Tim Arnold wrote:
hi, I've got lots of xhtml pages that need to be fed to MS HTML Workshop to
create CHM files. That application really hates xhtml, so I need to convert
self-ending tags (e.g. ) to plain html (e.g. ).
Seems simple enough, but I'm having some trouble with it. regexps trip up
> I would discourage you from using printables, since it also includes
> '[', ']', and '"', which are significant to other elements of the
> parser (but you could create your own variable initialized with
> printables, and then use replace("[","") etc. to strip out the
> offending characters).
George Sakkis wrote:
> First off, inheriting from a basic builtin type such as int and
> changing its constructor's signature is not typical; you should
> rethink your design unless you know what you're doing.
Nah, I would never claim to know what I'm doing. However, I have to say
that I have be
"Tim Arnold" <[EMAIL PROTECTED]> writes:
> hi, I've got lots of xhtml pages that need to be fed to MS HTML Workshop to
> create CHM files. That application really hates xhtml, so I need to convert
> self-ending tags (e.g. ) to plain html (e.g. ).
>
> Seems simple enough, but I'm having some tro
Dear Sir,
Belcan has an absolute zero-tolerance policy toward material such as the
material described.
Thank you for your Concern,
David Blubaugh
From: Dan Upton [mailto:[EMAIL PROTECTED]
Sent: Wed 4/23/2008 12:27 PM
To: [email protected]
Subject:
On Apr 24, 10:15 am, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 24 Apr, 16:33, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
>
>
> > This is a legitimate issue and one I don't know how to solve. It would
> > be nice to have some kind of verification process, but I'm unaware of
> > anything affordable
Hey all,
I've created a python program that relies on pysqlite, wxpython, and
matplotlib. Is there any way of creating an installer that will
install all these modules, python 2.5 and my program?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 24 Apr 2008 12:28:29 -0400
"Blubaugh, David A." <[EMAIL PROTECTED]> wrote:
> Belcan has an absolute zero-tolerance policy toward material such as the
> material described.
Hard to imagine that they would hold you responsible for something sent
to you without your permission.
On the oth
"Gary Herron" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Tim Arnold wrote:
>> hi, I've got lots of xhtml pages that need to be fed to MS HTML Workshop
>> to create CHM files. That application really hates xhtml, so I need to
>> convert self-ending tags (e.g. ) to plain html (
Lalit schrieb:
Hi
I am very new to web development. I started with Pylons. I am using
http://www.rexx.com/~dkuhlman/pylons_quick_site.html as reference to
create a sample web page using pylons.
I got stuck up at step 4.3 i.e when modifying controller to "return
Response('firstapp default')"
I
Blubaugh, David A. schrieb:
Dear Sir,
Belcan has an absolute zero-tolerance policy toward material such as the material described.
That pairs up nicely with them having zero knowledge about the internet.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 24, 7:16 am, Jasper <[EMAIL PROTECTED]> wrote:
> I'm stuck using a library based on old style classes, and need to find
> a class's parent at runtime.
>
> With new style classes you can use .__base__ to inspect a parent, but
> I can't remember how this was done in days of yore, before object
> I've created a python program that relies on pysqlite, wxpython, and
> matplotlib. Is there any way of creating an installer that will
> install all these modules, python 2.5 and my program?
Sure. Look at Tools/msi in the Python code, and adjust it to your
needs. Please don't use the official pr
"Arnaud Delobelle" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Tim Arnold" <[EMAIL PROTECTED]> writes:
>
>> hi, I've got lots of xhtml pages that need to be fed to MS HTML Workshop
>> to
>> create CHM files. That application really hates xhtml, so I need to
>> convert
>> self
On Apr 24, 5:28 am, malkarouri <[EMAIL PROTECTED]> wrote:
>
> What's wrong with raising ZeroDivisionError (not stopping the
> exception in the first place)?
>
Because when I use your module, call avg (or mean) without args, I
should see an error that says, "Hey, you have to pass at least one
value
Arnaud Delobelle wrote:
"Tim Arnold" <[EMAIL PROTECTED]> writes:
hi, I've got lots of xhtml pages that need to be fed to MS HTML Workshop to
create CHM files. That application really hates xhtml, so I need to convert
self-ending tags (e.g. ) to plain html (e.g. ).
Seems simple enough, but I
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of Tim Arnold
> Sent: Thursday, April 24, 2008 9:34 AM
> To: [email protected]
> Subject: convert xhtml back to html
>
> hi, I've got lots of xhtml pages that need to be fed to MS HTML Worksho
On Apr 24, 11:39 am, Chris <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I've created a python program that relies on pysqlite, wxpython, and
> matplotlib. Is there any way of creating an installer that will
> install all these modules, python 2.5 and my program?
>
> Thanks.
Chris,
If all you're doin
On 2008-04-24 19:16, John Krukoff wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of Tim Arnold
Sent: Thursday, April 24, 2008 9:34 AM
To: [email protected]
Subject: convert xhtml back to html
hi, I've got lots of xhtml pages that need t
On Apr 24, 10:14 am, [EMAIL PROTECTED] wrote:
> I am trying to make a a simple databasing GUI interface and and have
> created a module to deal with parsing the data from a file and a GUI
> based program that displays this data using PyQt4, i know how to
> register files in the system registry usin
Thanks for the help guys, it works! I used the
ldap.set_option(ldap.OPT_REFERRALS, 0) from http://peeved.org/blog/2007/11/20/
immedialtey after import, then did the initialize trace_level=2 and
did the simple_bind_s. I was able to search and get the results.
That trace_level thing is nice, i'm su
I'll second the recommendation to use xsl-t, set the output to html.
The code for an XSL-T to do it would be basically:
http://www.w3.org/1999/XSL/Transform"; version="1.0">
you would probably want to do other stuff than just copy it out but
that's another case.
Also, from my recollecti
Paul Boddie <[EMAIL PROTECTED]> writes:
> simple Python-only modules, all you'd really need to do to prove the
> concept is to develop the client-side Windows software (eg. apt-get
> for Windows) which downloads package lists, verifies signatures, and
> works out where to put the package contents.
hi, I want to ask something about programming in python, I'm beginning, I
download the souce code of an antispyware in python
I m talking about nixory: http://nixory.sourceforge.net/
this is a antyspyware only for mozilla firefox
and my question is: how could I implement more functions of th
1 - 100 of 170 matches
Mail list logo