MS-office. The real problem is that these kinds of programs are not
described at a reasonable conceptual level, making it difficult to
automate trivial tasks. In your term MS-office is docware, certainly not
Python-Win32. My experiences with Python-Win32 itself are very good.
Gerrit
--
http://ma
is your friend ;-)
If you start doing such things on a regular basis, it will sooner or
later become your enemy.
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
using HTMLgen. I do think that maintenance has not been
required, since HTML didn't change. It is pure Python, so it doesn't
require any recompilation for Python updates.
If you need HTMLgen send me an e-mail and I will send you a zipfile.
kind regards, Gerrit Muller
--
Gaudi syste
) example program of using OOo from Python via
COM/OLE?
Can you give any indication of the kind of bugs that you hit?
kind regards, Gerrit Muller
Gaudi Systems Architecting
--
http://mail.python.org/mailman/listinfo/python-list
7;ish way to do this?
Slightly lack hackish:
return ''.join(chr(ord(c)) for c in s)
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
tering (spambayes), not hiding ones
address on the internet.
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
;t copy data, so you're basically adding len(A) references to
> > the same D list to C. for more on this, see:
> >
> > http://pyfaq.infogami.com/how-do-i-create-a-multidimensional-list
> >
> >
>
> Ok!! Tank you very much, i understand now.
You might also want to look at numpy/numarray.
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-10-13 16:31:37 +0200, Ahmer wrote:
> Subject: Best IDE?
cat > foo.py
> How much does it cost?
0
--
http://mail.python.org/mailman/listinfo/python-list
ge total position, not tracking each individually.
How to do that if birds pass each other (projecting 3D on 2D) I don't
know, but I'm sure it's been done before (not necessarily in Python
though).
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
t; only returns 0. Is there any way to make it return a list, or to copy
> the information over? Thanks in advance!
Use the commands module.
Or tarfile of course.
http://docs.python.org/lib/module-commands.html
http://docs.python.org/lib/module-tarfile.html
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
string.ascii_uppercase:
if os.path.isdir('%s:/' % c):
...
etc.
But I suppose there should be a better way.
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
uot;bar", "baz"
>>> for k in fnmatch.filter(locals(), "var*"):
... print locals()[k]
...
foo
baz
bar
This is evil.
It's unpythonic.
This is yet another way to do it - QED.
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
But can I use regular expressions on bytes?
Regular expressions are not limited to text.
Gerrit.
--
http://mail.python.org/mailman/listinfo/python-list
on parent class? They certainly share a lot of properties
and possible operations one might want to perform.
kind regards,
Gerrit Holl.
--
My first English-language post ever was made to this newsgroup:
http://groups.google.com/group/comp.lang.python/msg/f957acf785ddfb71 :)
--
http://mail.pyt
[Tim Golden]
now I only have to find some time to play around...
thanks, Gerrit
--
Gaudi systems architecting:
<http://www.gaudisite.nl/>
--
http://mail.python.org/mailman/listinfo/python-list
html>.
If you have a working example of CPU usage could you post the result? I
would be interested.
kind regards, Gerrit Muller
--
Gaudi systems architecting:
<http://www.gaudisite.nl/>
--
http://mail.python.org/mailman/listinfo/python-list
could ildg wrote:
>
> b = encrypt(a)
>
> Thank you~~,but where is the encrypt defined?
>
I suppose it's left as an exercise for the reader.
Gerrit.
--
Temperature in Kiruna, Lappland, Sweden:
Tue Nov 1 15:35:25 2005 [UT] 2.6°C
--
http://mai
Finn Waldrip wrote:
> X-Spambayes-Classification: unsure; 0.242
>
>
> 404 Not Found
>
> Not Found
> The requested URL was not found on this server.
>
> Apache/1.3.31
>
How can my poor Spambayes ever make sense of this?
Gerrit.
--
Temperature in Luleå,
pe
this will make your classes new-style.
Gerrit.
--
Temperature in Luleå, Norrbotten, Sweden:
| Current temperature 05-10-14 17:59:487.9 degrees Celsius ( 46.3F) |
--
Det finns inte dåligt väder, bara dåliga kläder.
--
http://mail.python.org/mailman/listinfo/python-list
ten Python app to read.)
Mailman - http://www.list.org/
Spambayes - http://www.spambayes.org
Those are written by experienced Python programmers, some of them Python
developers. It looks like well written code to me.
Gerrit.
--
Temperature in Luleå, Norrbotten, Sweden:
| Current temperature 05
count for the famous
four-letter-abbreviation down (-;
Gerrit.
--
Temperature in Luleå, Norrbotten, Sweden:
| Current temperature 05-10-05 21:59:48 10.7 degrees Celsius ( 51.3F) |
--
Det finns inte dåligt väder, bara dåliga kläder.
--
http://mail.python.org/mailman/listinfo/python-list
Tony Meyer wrote:
> X-Spambayes-Classification: ham; 0.008
>
> On 30/09/2005, at 10:56 PM, Gerrit Holl wrote:
> > Tony Meyer wrote:
> >> X-Spambayes-Classification: ham; 0.048
>
> Unless I'm misreading things, that's *my* message that scored 0.048
> (
the
> legitimate mail I get about viagra , get through to me.
True. However, most mail to this mailinglist has less than 0.001 spam
probability. As you can see, this one had 0.048 - a vast score, almost
enough to put it in my unsure box. It seems to be just not hammy enough.
It's inter
Xah Lee wrote:
> ...What the fuck is the former?
> ...What the fuck would anyone to
> ...]”, is rather inane, as you can now see.
>
> ...What the fuck does it mean...
> ...you begin to write things like Java...
Can you please alter the tone of your voice?
Gerrit.
--
Te
huge sections of code during
> testing, where you'd have to put a # in front of every line otherwise.
Except, of course, code that contains string literals with triple
quotes. And with a good editor, it's not too difficult to insert a # in
front of hundreds of lines (:%s/^/#/g).
Gerrit.
o type and to read, that I
prefer this.
Does the Python style guide have any severe penalty for using this?
regards,
Gerrit.
--
Temperature in Luleå, Norrbotten, Sweden:
| Current temperature 05-09-25 15:19:47 11.0 degrees Celsius ( 51.9F) |
--
Det finns inte dåligt väder, bara dåliga kläder.
--
http://mail.python.org/mailman/listinfo/python-list
it and is
anyone able to find it? It was quite funny, I think it was more than
five years ago though.
Gerrit.
--
Temperature in Luleå, Norrbotten, Sweden:
| Current temperature 05-09-24 15:59:53 12.1 degrees Celsius ( 53.9F) |
--
Det finns inte dåligt väder, bara dåliga kläder.
--
http:
.
Will the trip there be free as well?
Gerrit.
(sorry, couldn't resist)
--
Temperature in Luleå, Norrbotten, Sweden:
| Current temperature 05-09-19 19:09:599.5 degrees Celsius ( 49.0F) |
--
Det finns inte dåligt väder, bara dåliga kläder.
--
http://mail.python.org/mailman/listinfo/python-list
sven wrote:
> i'd like to define __repr__ in a class to return the standardrepr
> a la "<__main__.A instance at 0x015B3DA0>"
> plus additional information.
> how would i have to do that?
> how to get the standardrepr after i've defined __repr__?
>>&g
Kenneth McDonald wrote:
> Subject: pre-PEP: Object-oriented file module
Please have a look at
http://topjaklont.student.utwente.nl/creaties/path/pep-.html
if you haven't done so already.
Gerrit.
--
Temperature in Luleå, Norrbotten, Sweden:
| Current temperature 05-08-27 22:20:0
, mostly via Geektools. Sometimes via more
specific whois servers, such as krnic. These 1000 domain names are a mix
of "real" domain names, for instance from companies, universities or
government, and service providers. It would be nice to automate this
action, although the manual a
PyGaim has been released.
Summary: Gaim Python plug-in. The product provides developers with the
capability to develop python plugins for Gaim
This release is just a get it out there release and a lot of polishing
still needs to be done.
However, it does enable a python developer to develop ga
are IP
addresses that cannot be reversely resolved by the DNS servers. I did
translate these addresses manually so far via the whois service. So you
definitely helped me a lot, but I keep interested in a complementary
whois solution.
kind regards, Gerrit
> Gerrit Muller wrote:
>
>
somehow access
sufficient servers
- you still have to find the domain name in the sea of details returned
I also found socket based solutions, but these solutions crash with the
message "host not found" :-(
Anyone suggestions?
kind regards, Gerrit
--
Gaudi systems architect
do it this way:
while not raw_input("enter q to quit, or smthing else to continue: ")
smthing(else)
Gerrit van Dyk
--
http://mail.python.org/mailman/listinfo/python-list
to Brett Cannon for sixty-one excellent python-dev summaries.
Also, thanks for providing scripts to help get the new summaries off
the ground! We're looking forward to the contributions you'll make to
the Python core, now that the summaries aren't taking up all your
time.
+1
Brett, t
AgileWorks (Pty) Ltd will be presenting an "Introduction to Python"
training course at "The Innovation Hub" from the 4-6th of May 2005.
For more detail visit our website:
(http://www.agileworks.net/AgileWorks/Training/Python/)
--
http://mail.python.org/mailman/listinfo/python-list
gt;
> > Can we paypal you a hundred dollars to leave us alone? I'll pledge $10.
> > Are there another nine people here who'll do the same?
>
> Why don't we pay him $100 to re-write the PERL docs?
Interestingly, Richard Hindle's message was classified as ham
This is a SyntaxError.
You want to enclose the dots with '' marks as well, like this:
'@'.join(['.'.join(['fred', 'dixon']), '.'.join(['gmail', 'com'])])
regards,
Gerrit Holl.
--
Weather in Twenthe, Netherlands 29/03 10
>
>
> Dear Rubyists, Perlists, Shellists, Cists and Hackers,
What is this doing on comp.lang.python?
regards,
Gerrit Holl.
--
Weather in Twenthe, Netherlands 20/03 16:55:
9.0ÂC wind 4.0 m/s ENE (57 m above NAP)
--
In the councils of government, we must guard against the acqui
Jeff Schwab wrote:
> sheldon279 wrote:
> Wow, you sold me.
>
> Does this kinda scam really still work?
This kind of replies works to confuse spambayes.
Gerrit.
--
Weather in Twenthe, Netherlands 20/03 16:55:
9.0ÂC wind 4.0 m/s ENE (57 m above NAP)
--
In the councils o
e __import__ to replace the following:
>
> exec("from %s import *" % modulename)
No.
Gerrit.
--
Weather in Twenthe, Netherlands 07/03 13:25:
4.0ÂC Few clouds mostly cloudy wind 5.4 m/s NW (57 m above NAP)
--
In the councils of government, we must guard against the acquisiti
essage and then
clicking on the latest summary. For my type of reading I would strongly
prefer to have the link to the actual version at the top of the message,
rather than at the end.
I hope you keep summarizing as long as no other volunteer takes over.
thanks, Gerrit
--
Gaudi
zations!
thanks, Gerrit
--
Gaudi systems architecting:
<http://www.extra.research.philips.com/natlab/sysarch/>
--
http://mail.python.org/mailman/listinfo/python-list
than say, the GC?
Why do you want it?
regards,
Gerrit.
--
In the councils of government, we must guard against the acquisition of
unwarranted influence, whether sought or unsought, by the
military-industrial complex. The potential for the disastrous rise of
misplaced power exists and will per
an example of a document that
presumably has been removed because of maintenance reasons. Shouldn't we
have a collection (archive) of these documents at python.org?
kind regards, Gerrit
--
Gaudi systems architecting:
<http://www.extra.research.philips.com/natlab/sysarch/>
--
http://mail.p
gt;
> So, basically, say whatever you want. Language is about communication :-)
Or just write it down and don't say the word at all (-:
regards,
Gerrit, who actually says tÃpel.
--
Weather in Lulea / Kallax, Sweden 10/01 10:20:
-12.0ÂC wind 0.0 m/s None (34 m above NAP)
--
I
ng is:
>>> for d in dir(types):
... print getattr(types, d), isinstance(getattr(types, d),
types.ObjectType)
...
True
True
True
True
True
True
True
True
...
you get the general idea.
yours,
Gerrit.
--
Weather in Lulea / Kallax, Sweden 20/12 16:50:
-3.0ÂC Scattered clou
binL9yPfo4Fv5.bin
Description: application/pgp-encrypted
msg.asc
Description: Binary data
--
http://mail.python.org/mailman/listinfo/python-list
ot;foo %s bar %s" % "24" would do "24".__rmod__("foo %s bar %s") resulting in:
>>> "24".__rmod__("foo %s bar %s")
Traceback (most recent call last):
File "", line 1, in ?
TypeError: not enough arguments for format string
Woul
s been chosen like this? Or is it
possible that this behaviour will change in Python 3000?
let's-do-Duck-Typing!-ly - y'rs - Gerrit
--
Weather in Lulea / Kallax, Sweden 14/12 12:50:
2.0ÂC mist mostly cloudy wind 8.9 m/s S (34 m above NAP)
--
In the councils of government, we must g
'&%s;' % htmlentitydefs.codepoint2name[n]
else:
return '&#%d;' % ord(s)
This requires unicode strings, because unicode encodings have multi-byte
characters. Demonstration:
>>> f(u'Ã')
'ò'
>>> f(u'Å')
&
Cameron Laird wrote:
> Subject: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)
What is the frequency of the weekly Python-URL? (-;
regards,
Gerrit Holl.
--
Weather in Lulea / Kallax, Sweden 02/12 19:20:
-8.0ÂC Scattered clouds mostly cloudy wind 0.9 m/s None (34
53 matches
Mail list logo