"Anoop" wrote:
> I am getting the following error while trying to use deprecation
deprecation ?
li = ["a", "b", "mpilgrim", "z", "example"]
newname = string.joinfields (li[:-1], ".")
newname
> 'a.b.mpilgrim.z'
newname = li[:-1].joinfields(".")
> Traceback (most recent call la
Anoop wrote:
> Hi All,
>
> I am getting the following error while trying to use deprecation
>
> Please help
>
> >>> li = ["a", "b", "mpilgrim", "z", "example"]
> >>> newname = string.joinfields (li[:-1], ".")
> >>> newname
> 'a.b.mpilgrim.z'
> >>> newname = li[:-1].joinfields(".")
> Traceback (mos
Jon Ribbens <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, Duncan Booth
> wrote:
>> It is generally a principle of Python that new releases maintain
>> backward compatability. An incompatible change such proposed here
>> would probably break many tests for a large number of people.
Simply Speaking is a high tech Voice recognition and Text to speech
software program that allows you to dictate into any Windows program.
You speak and Simply Speaking will convert your voice into typewritten
text. Simply Speaking can also read back to you any highlighted text
from any Windows appl
Christophe wrote:
> Steven D'Aprano a écrit :
>> By memory, in an thread about the same topic just a few days ago, Fredrik
>> Lundh posted a link to Perl's FAQs that suggests a method for "validating"
>> email addresses: treat it like a password and ask the user to type it
>> twice. That will prote
Brendon Towle wrote:
> Essentially, I'm looking for a Python equivalent to the ObjectiveC stuff
> that can be found at:
>
>
http://developer.apple.com/documentation/UserExperience/Conceptual/AddressBook/index.html
>
> Google got me that far, but was not particularly helpful past that.
>
> Any
Yes, I should have included some more info from the start, sorry...I'm running Suse 10.1. Python I installed from rpm, downloaded from python.org.-- Forwarded message --
From: Fredrik Lundh <[EMAIL PROTECTED]>Date: 25.09.2006 15:37Subject: Re: installation of python-dev
To: python-l
John Machin wrote:
>> > So all he needs is a boolean result: u.willitfit(encoding, width)
>>
>> at what point in the program would that method be used ?
>
> Never, I hope. Were you taking that as a serious suggestion? Fredrik,
> perhaps your irony detector needs a little preventative maintenance :-
Fredrik Lundh wrote:
> I think the use of "applications" here implies "new applications", not
> "applications
> still in use somewhere".
Good point, Fredrik. I do recall that, a few years ago, I graphed the
*growth rate* of new Sourceforge projects written in Python vs. the
same for Perl, and i
Hello,
Anoop wrote:
> I am getting the following error while trying to use deprecation
>
> Please help
>
li = ["a", "b", "mpilgrim", "z", "example"]
newname = string.joinfields (li[:-1], ".")
newname
> 'a.b.mpilgrim.z'
newname = li[:-1].joinfields(".")
> Traceback (most rece
Steven Bethard wrote:
> metaperl wrote:
>
>>I was shocked to see the personal insults hurled in this thread:
>>http://groups.google.com/group/comp.lang.python/browse_thread/thread/d0758cb9545cad4b
>
>
> I see that this is a Fredrik Lundh thread. I've felt the same way
> before, but Fredrik has
Anoop wrote:
> Hi All,
>
> I am getting the following error while trying to use deprecation
>
> Please help
>
li = ["a", "b", "mpilgrim", "z", "example"]
newname = string.joinfields (li[:-1], ".")
newname
> 'a.b.mpilgrim.z'
newname = li[:-1].joinfields(".")
> Traceback (most
Steven Bethard wrote:
> metaperl wrote:
> > I was shocked to see the personal insults hurled in this thread:
> > http://groups.google.com/group/comp.lang.python/browse_thread/thread/d0758cb9545cad4b
>
> I see that this is a Fredrik Lundh thread. I've felt the same way
> before, but Fredrik has be
Metaperl,
Steve makes a good point. Fredrik is one of the most important
contributors of Python code, tools, etc and as far as I am concerned,
that is so important that it gives him the right to be cranky from tiem
to time.
If somebody like me were to get cranky and negative, on the other hand,
t
In article <[EMAIL PROTECTED]>, Georg Brandl wrote:
>> I'm sorry, that's not good enough. How, precisely, would it break
>> "existing code"? Can you come up with an example, or even an
>> explanation of how it *could* break existing code?
>
> Is that so hard to see? If cgi.escape replaced "'" with
Hello,
I'm fairly used to working with Python but it's the first time I'm
trying to use Tkinter so I'm running into a problem.
I'm using three python scripts with Tkinter GUIs and a fourth script
that basically opens communication pipes with the three others. The idea
is that the fourth script
Jon Ribbens skrev:
> In article <[EMAIL PROTECTED]>, Fredrik Lundh wrote:
>>> There's nothing to say that cgi.escape should take them both into account
>>> in the one function
>> so what exactly are you using cgi.escape for in your code ?
>
> To escape characters so that they will be treated as ch
In article <[EMAIL PROTECTED]>, Duncan Booth wrote:
> I guess you've never seen anyone write tests which retrieve some generated
> html and compare it against the expected value. If the page contains any
> unescaped quotes then this change would break it.
You're right - I've never seen anyone do
Georg Brandl a écrit :
> Christophe wrote:
>> Steven D'Aprano a écrit :
>>> By memory, in an thread about the same topic just a few days ago,
>>> Fredrik
>>> Lundh posted a link to Perl's FAQs that suggests a method for
>>> "validating"
>>> email addresses: treat it like a password and ask the us
Steve Holden a écrit :
> Christophe wrote:
>> Steven D'Aprano a écrit :
>>
>>> By memory, in an thread about the same topic just a few days ago,
>>> Fredrik
>>> Lundh posted a link to Perl's FAQs that suggests a method for
>>> "validating"
>>> email addresses: treat it like a password and ask the
Jon Ribbens skrev:
> In article <[EMAIL PROTECTED]>, Georg Brandl wrote:
>>> I'm sorry, that's not good enough. How, precisely, would it break
>>> "existing code"? Can you come up with an example, or even an
>>> explanation of how it *could* break existing code?
>> Is that so hard to see? If cgi.es
In article <[EMAIL PROTECTED]>, Max M wrote:
>> I'm sorry, that's not good enough. How, precisely, would it break
>> "existing code"? Can you come up with an example, or even an
>> explanation of how it *could* break existing code?
>
> Some examples are:
>
> - Possibly any code that tests for str
Jon Ribbens wrote:
> I'm sorry, that's not good enough. How, precisely, would it break
> "existing code"?
('owdo Mr. Ribbens!)
It's possible there could be software that relies on ' not being
escaped, for example:
# Auto-markup links to O'Reilly, everyone's favourite
# example name with
Frithiof Andreas Jensen wrote:
> For those kind of sites demanding registration for trivial usage (i.e. most
> sites do) I use my own domain controlled by myself - the adress is valid for
> the
> confirmation mail then, after I got what I came for (or after I found out that
> this site was a wast
In article <[EMAIL PROTECTED]>, Max M wrote:
> Oh ... because you cannot see a use case for that *documented*
> behaviour, it must certainly be wrong?
No, but if nobody else can find one either, that's a clue that maybe
it's safe to change.
Here's a point for you - the documentation for cgi.esca
Announcing Templayer 1.4
Templayer home page:
http://excess.org/templayer/
Tarball:
http://excess.org/templayer/templayer-1.4.tar.gz
About this release:
===
This release improves integration with the Django web framework by
reducing the amount of
Jon Ribbens <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, Georg Brandl wrote:
>>> I'm sorry, that's not good enough. How, precisely, would it break
>>> "existing code"? Can you come up with an example, or even an
>>> explanation of how it *could* break existing code?
>>
>> Is that
Diez B. Roggisch wrote:
> Sven Ehret wrote:
>
>> Diez B. Roggisch wrote:
>>
>>> Sven Ehret wrote:
>>>
Hello List,
I am trying to learn Python and followed the tutorial at
http://www.cs.usfca.edu/~afedosov/qttut/. Being happy that it works, I
am now trying to do my own
Jon Ribbens wrote:
> Sorry, that's still not good enough.
that's not up to you to decide, though.
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>> I'm sorry, that's not good enough. How, precisely, would it break
>> "existing code"?
>
> ('owdo Mr. Ribbens!)
Good afternoon Mr Glover ;-)
> URI= 'http://www.oreilly.com/'
> html= cgi.escape(text)
> html= html.replace('O\'R
On 25 Sep 2006 15:13:30 GMT, Jon Ribbens <[EMAIL PROTECTED]> wrote:
>
> Here's a point for you - the documentation for cgi.escape says that
> the characters "&", "<" and ">" are converted, but not what they are
> converted to.
If the documentation isn't clear enough, that means the documentation
s
In article <[EMAIL PROTECTED]>, Fredrik Lundh wrote:
>> Sorry, that's still not good enough.
>
> that's not up to you to decide, though.
It's up to me to decide whether or not an argument is good enough to
convince me, thank you very much.
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>, Filip Salomonsson wrote:
>> Here's a point for you - the documentation for cgi.escape says that
>> the characters "&", "<" and ">" are converted, but not what they are
>> converted to.
>
> If the documentation isn't clear enough, that means the documentation
> shoul
Roy Smith wrote:
> Can anybody suggest some good material I can give to him which will help
> explain what Python is and why it's a good thing, in a way that a
> marketing/product management person will understand?
You might want to take a look at Chapter 1 of "Programming Python" (3rd
edition
Jon Ribbens wrote:
> It's up to me to decide whether or not an argument is good enough to
> convince me, thank you very much.
not if you expect anyone to take anything you say seriously.
--
http://mail.python.org/mailman/listinfo/python-list
I'm considering trying to learn Python for a specific reason, and
hoped the group might help me get a sense for whether it would be worth
my time. The situation...
Me: total beginner w/ a sense of programming basics and 1 week
familiarizing myself with Python world. Use WinXP. Got Python 2.5.
In article <[EMAIL PROTECTED]>, Fredrik Lundh wrote:
>> It's up to me to decide whether or not an argument is good enough to
>> convince me, thank you very much.
>
> not if you expect anyone to take anything you say seriously.
Now you're just being ridiculous. In this thread you have been rude,
e
Hello
I want to convert a Mysql resulset to a dictionary.
I made some code myself, and want to ask you if I do this the right way.
def remapmysql(a):
return (a[0], (a[1:]))
def test_map():
count = 10 # count of simulated records
l1 = range(0, count)
l2 = range(count , 2
seb wrote:
> Hi,
>
> I am running on WinXP so that is not so convenient to communicate
> between separate processes.
Can you elaborate?
Windows offers plenty of IPC possibilities, including interprocess
mutexes and semaphores. See for instance:
http://www.codeproject.com/threads/Win32IPC.asp
In
Pom wrote:
> I want to convert a Mysql resulset to a dictionary.
that is, you want to convert an array of (key, value, ...) tuples to a
dictionary containing key: (value, ...) pairs, right ?
> I made some code myself, and want to ask you if I do this the right way.
>
> def remapmysql(a):
>
> def remapmysql(a):
> return (a[0], (a[1:]))
>
> def test_map():
> count = 10 # count of simulated records
> l1 = range(0, count)
> l2 = range(count , 2 * count )
> l3 = range(2 * count, 3 * count )
> z1 = zip(l1, l2, l3) # simulate a mysql resultset
>
> d1
Steven D'Aprano wrote:
> On Mon, 25 Sep 2006 00:45:29 -0700, Paul Rubin wrote:
>
>> willie <[EMAIL PROTECTED]> writes:
>>> # U+270C
>>> # 11100010 10011100 10001100
>>> buf = "\xE2\x9C\x8C"
>>> u = buf.decode('UTF-8')
>>> # ... later ...
>>> u.bytes() -> 3
>>>
>>> (goes through each code point and
Wildemar Wildenburger wrote:
> Paddy wrote:
> > Rename the .py file with extension .pyw.
> > - Paddy.
> >
> To elaborate: This works because, by default, .py files are associated
> with python.exe and .pyw files are associated with pythonw.exe, the
> latter not opening a console window.
> You can
I want to give some emphasis to a Label from gtk, without breaking gnome
theme (i.e. not changing colors, etc)
I think bolding it would be a good option (could be also underscoring
but don't like it at all).
What would be the best solution? How to do it? I have found how to
change colors and und
Jon Ribbens wrote:
> In article <[EMAIL PROTECTED]>, Fredrik Lundh wrote:
>>> It's up to me to decide whether or not an argument is good enough to
>>> convince me, thank you very much.
>> not if you expect anyone to take anything you say seriously.
>
> Now you're just being ridiculous. In this thr
In article <[EMAIL PROTECTED]>, Brian Quinlan wrote:
>> Now you're just being ridiculous. In this thread you have been rude,
>> evasive, insulting, vague, hypocritical, and have failed to answer
>> substantive points in favour of sarcastic and erroneous sniping - I'd
>> suggest it's you that needs
dear all,
having spent the last couple of weeks getting to grips with python on
windows, i am in the position of trying to make the transition to my
newly arrived ultra 20.
however, although there are plenty of files with idle somewhere in the
title, idle.py (which i assume is the interpreter) wi
Fredrik Lundh wrote:
> if you care about performance, and is using a recent Python, you could
yes i do ;-)
> try doing
>
>d1 = dict((row[0], row[1:]) for row in z1)
>
> instead, and see if that runs faster (this uses a generator expression
> instead of a callback and a full list).
>
>
>
Tuomas wrote:
> Yes, I read the reference before posting here. I tried something like:
Hi Tuomas,
I didn't mean to say that you hadn't read the docs (I had a hard time
finding the right methods in the docs too, even though I know the
methods); I just wanted to give you the references so you could
Tim Chase wrote:
>> def remapmysql(a):
>> return (a[0], (a[1:]))
>>
>> def test_map():
>> count = 10 # count of simulated records
>> l1 = range(0, count)
>> l2 = range(count , 2 * count )
>> l3 = range(2 * count, 3 * count )
>> z1 = zip(l1, l2, l3) # simulate a mys
Yes, I didn't make it clear in my original post - the purpose of the
code was to learn something about regexps (I only started coding Python
last week). In terms of learning "a little more" the example was
successful. However, creating a full email validator is way beyond me -
the rules are far too
to update:
i think i've tracked down the equivalent files on my pc. one opens the
interpreter in a white-backed text editor, the other at the
black-backed command prompt. i have equivalent files of the same size
on the workstation, which must be the same. does anyone know why i'm
getting 'there is
Paul Rubin wrote:
> [EMAIL PROTECTED] writes:
> > We're looking for a software developer Python/PHP/Ajax/MySQL for web
> > applications (full time job). Maybe someone in this group might be
> > interested in this job.
> > Further information can be found here:
> > About the job: http://www.Axandra.
ravenheart wrote:
> I want to give some emphasis to a Label from gtk, without breaking gnome
> theme (i.e. not changing colors, etc)
> I think bolding it would be a good option (could be also underscoring
> but don't like it at all).
> What would be the best solution? How to do it? I have found ho
ravenheart wrote:
> What would be the best solution? How to do it? I have found how to
> change colors and underscoring but nothing else.
I don't know about the best, but I would use:
label = gtk.Label()
# Pango markup should be on by default, if not use this line
#label.set_use_markup(True)
labe
Might be handy to point out that the Python version will be easier (and
therefore cheaper) to maintain compared to the Perl version. As someone
said there are numerous success stories at python.org.
You could also point him at :
http://www.tiobe.com/tpci.htm
Although Perl is higher than Python (
>> I want to give some emphasis to a Label from gtk, without breaking
>> gnome theme... What would be the best solution?
Maybe:
mylabel.set_markup("""My Label""")
? For more details, check out the PyGTK docs for the Label widget:
http://www.moeraki.com/pygtkreference/pygtk2ref
codefire wrote:
> I think Google also gives a pretty big endorsement of Python (as you
> wanted the marketing angle).
or, depending on what part of the IT ecosystem you spend most of your
time in, Microsoft (IronPython).
--
http://mail.python.org/mailman/listinfo/python-list
sam> does anyone know why i'm getting 'there is no installed viewer
sam> capable of displaying the document'?
You probably need to associate files having .py file extensions with the
Python interpreter. You've given no indication of the environment you're
using other than "Solaris 10".
hello all:
I am using Image module from PIL to save created image as JPG format.
Is there any option I could set for function Image.save so that the
stored image will have the highest quality.
Thank you
-Daniel
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro enlightened us with:
>> An escaping function should be small and not do all kinds of
>> escaping for different situations at once.
>
> Even when the two situations are related?
Yup, even then. Different situations need different escaping
functions.
Sybren
--
Sybren Stüvel
St
> i think i've tracked down the equivalent files on my pc. one opens the
> interpreter in a white-backed text editor, the other at the
> black-backed command prompt. i have equivalent files of the same size
> on the workstation, which must be the same. does anyone know why i'm
> getting 'there is n
> http://pyfaq.infogami.com/suggest
> is the "right" place to submit new entries.
Thanks for sharing the secret. Now there I have added: "Q: How can I
reverse a string, an array, a list, etc."
And to share our secret with future newbies, to
http://pyfaq.infogami.com/ I've added the suggestion:
willie wrote:
> Is it too ridiculous to suggest that it'd be nice
> if the unicode object were to remember the
> encoding of the string it was decoded from?
> So that it's feasible to calculate the number
> of bytes that make up the unicode code points.
>
> # U+270C
> # 11100010 10011100 10001100
Daniel Mark wrote:
> I am using Image module from PIL to save created image as JPG format.
>
> Is there any option I could set for function Image.save so that the
> stored image will have the highest quality.
something like
im.save(filename, quality=90)
should do the trick.
if you want t
Jon Ribbens wrote:
> In article <[EMAIL PROTECTED]>, Max M wrote:
>> Oh ... because you cannot see a use case for that *documented*
>> behaviour, it must certainly be wrong?
>
> No, but if nobody else can find one either, that's a clue that maybe
> it's safe to change.
>
> Here's a point for you
[EMAIL PROTECTED] wrote:
> Thanks for sharing the secret. Now there I have added: "Q: How can I
> reverse a string, an array, a list, etc."
thanks! I'll take another look at the texts and the site settings when
I find the time (still waiting for the infogami folks to get back to me
about the
Hello!
I'm pleased to announce the 0.7.1 release of SQLObject.
What is SQLObject
=
SQLObject is an object-relational mapper. Your database tables are described
as classes, and rows are instances of those classes. SQLObject is meant to be
easy to use and quick to get started wi
Christophe wrote:
> Georg Brandl a écrit :
>> Christophe wrote:
>>> Steven D'Aprano a écrit :
By memory, in an thread about the same topic just a few days ago,
Fredrik
Lundh posted a link to Perl's FAQs that suggests a method for
"validating"
email addresses: treat it lik
Very useful. Thanks a lot
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
First, sorry for my poor English !
I used the SimpleXMLRPCServer facility of Python to develop a
multithread-server, here's part of my code :
--
class TotoSimpleXMLRPCServer(SocketServer.ThreadingMixIn,
SimpleXMLRPCServer.SimpleXMLRPCServer):
def __init__(self, addr):
SimpleXMLRPCServ
Fredrik Lundh wrote:
> Jon Ribbens wrote:
>
> > Making cgi.escape always escape the '"' character would not break
> > anything, and would probably fix a few bugs in existing code. Yes,
> > those bugs are not cgi.escape's fault, but that's no reason not to
> > be helpful. It's a minor improvement wi
MonkeeSage wrote:
> Tuomas wrote:
>
>>Yes, I read the reference before posting here. I tried something like:
>
>
> Hi Tuomas,
>
> I didn't mean to say that you hadn't read the docs (I had a hard time
> finding the right methods in the docs too, even though I know the
> methods); I just wanted t
Hi,
I am looking for a file manager based on pygtk. It seems
that there does not exist any!? Maybe, someone has a hint or
already some starting code lines for such a 'thing'!?
Greetings!
Fabian
--
http://mail.python.org/mailman/listinfo/python-list
Hello everybody,
please help me with this topic:
Working at a big company (+100.000 employees
worldwide), we have an amount of data centers and shared services where our
webservers, backend server etc. are located.
Now it happens from time to time, that certificates are
expired and
1) Please don't top-post...it makes it hard to reply in context
2) You may want to "reply to all" so that the mailing list gets
CC'd...there are lots of smart folks on the list, and by replying
only to me, you limit your options to the meager extents of my
knowledge.
>>> I would like to search
[EMAIL PROTECTED] wrote:
> > i think i've tracked down the equivalent files on my pc. one opens the
> > interpreter in a white-backed text editor, the other at the
> > black-backed command prompt. i have equivalent files of the same size
> > on the workstation, which must be the same. does anyone k
Juju wrote:
> The problem I have, is I don't know how to get the port used by the
> remote host ?
just curious, but why do you need the *port* number used by the remote
host ?
--
http://mail.python.org/mailman/listinfo/python-list
Did anyone try to find out a regular expression for finding an email
address in a text?
Thank you for the reply
L.
--
http://mail.python.org/mailman/listinfo/python-list
Lad schrieb:
> Did anyone try to find out a regular expression for finding an email
> address in a text?
> Thank you for the reply
Entering your subject line into google as it is, using the first result
found, you can get one.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Hi everyone. I'm updating my UltraEdit syntax file for Python 2.5 and
was wondering if anyone knew of other additions to make besides these. I
found all of these in the What's New document, but wasn't sure if there
were other important things to add for highlight.
"Reserved Words"
with
"__Meth
Hello everybody,
please help me with this topic:
Working at a big company (+100.000 employees worldwide), we have an amount
of data centers and shared services where our webservers, backend server
etc. are located.
Now it happens from time to time, that certificates are expired and instead
All this keyboarding has finally caught up with me and I'm getting
aches in my fingers.
last weekend I did the round of the usual UK High Street shops - PC
World, Currys and Comet. I finally got a new Microsoft 4000 ergonomic
keyboard, but all the ergonomic Mice and trackballs were gone!.
I've fin
[EMAIL PROTECTED] wrote:
> As a sometimes marketing droid on my day job (please don't tell
> anyone!) I think you should point out that, while 5-10 years ago Perl
> was more popular and widely used than Python, Python has been growing
> at a much higher rate, and by many (most?) measurements, Pytho
On 25 Sep 2006 07:35:45 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Metaperl,
>
> Steve makes a good point. Fredrik is one of the most important
> contributors of Python code, tools, etc and as far as I am concerned,
> that is so important that it gives him the right to be cranky from tie
Forgive my ignorance, but I sometimes write custom dynamic web-pages
using PHP, by simply embedding PHP in HTML with tags, and
renaming for example index.html to index.php and making it executable. I
only use this for very minor things like calling a script, and don't
really want to learn any more
"BerndWill" <[EMAIL PROTECTED]> writes:
> I would love to read programmatically some information out of the
> certificates itself (who signed it and what is the validation period, i.e.
> meta data).
>
> Can someone please help me out here !?
This is very cheesy but I sometimes I've just run th
Antoine De Groote wrote:
> Hi everybody,
>
> is there a python equivalent for the ruby %w operator?
> %w{a b c} creates an array with strings "a", "b", and "c" in ruby...
>
> Thanks a lot
> Regards,
> antoine
Why would they want to make such an obscure API ? ... didn't they have
Python to learn
Roy Smith wrote:
> I'm working on a product which for a long time has had a Perl binding for
> our remote access API. A while ago, I wrote a Python binding on my own,
> chatted it up a bit internally, and recently had a (large) customer enquire
> about getting access to it.
>
> I asked for permis
On 9/25/06, Sean Hammond <[EMAIL PROTECTED]> wrote:
> Forgive my ignorance, but I sometimes write custom dynamic web-pages
> using PHP, by simply embedding PHP in HTML with tags, and
> renaming for example index.html to index.php and making it executable. I
> only use this for very minor things li
Sean Hammond wrote:
> Forgive my ignorance, but I sometimes write custom dynamic web-pages
> using PHP, by simply embedding PHP in HTML with tags, and
> renaming for example index.html to index.php and making it executable. I
> only use this for very minor things like calling a script, and don't
> > /usr/bin/python
> not found
>
> /usr/lib/python2.4/idlelib/idle.py
> /usr/sfw/python2.3/idlelib/idle.py gives
>
> 'there is no action associated with "idle.py"'
> configure gnome to associate application?
>
> click yes:
> edit file type window pops up.
> program to run menu is empty.
> browse i
Hi all,
I'm pleased to announce the first release of my new library, dmath. It is
available under the MIT/X11 license.
Download
Cheese Shop: http://cheeseshop.python.org/pypi/dmath/0.9
Google Code: http://code.google.com/p/dmath/
What is dmath?
==
dmath provides the standa
Paul Rubin wrote:
> "BerndWill" <[EMAIL PROTECTED]> writes:
>> I would love to read programmatically some information out of the
>> certificates itself (who signed it and what is the validation period, i.e.
>> meta data).
>>
>> Can someone please help me out here !?
>
> This is very cheesy but
Brian Beck wrote:
> What is dmath?
> ==
> dmath provides the standard math routines for Python's arbitrary-precision
> Decimal type. These include acos, asin, atan, atan2, ceil, cos, cosh,
> degrees, e, exp, floor, golden_ratio, hypot, log, log10, pi, pow, radians,
> sign, sin, sinh, sq
Jan Dries <[EMAIL PROTECTED]> writes:
> C:\> curl -v https://www.paypal.com
>
> I'm sure that by using the cURL API directly, you can obtain the
> certificate information in a more direct way without having to rely on
> parsing the above output with regexps. Doing so might also be more
> complex t
hg wrote:
> Why would they want to make such an obscure API ? ... didn't they have
> Python to learn from (I am truly amazed - nothing cynical ...just ...
> why ?)
In ruby there are several special literal notations, just like python.
In ruby it goes like this:
%{blah} / %Q{blah} # same as "b
and how different is MIT licence to GPL ?
could u elaborate on that ?
regards,
KM
On 9/26/06, Brian Beck <[EMAIL PROTECTED]> wrote:
> Brian Beck wrote:
> > What is dmath?
> > ==
> > dmath provides the standard math routines for Python's arbitrary-precision
> > Decimal type. These inclu
Steven Bethard wrote:
> [1] He's the author of Python's unicode support and Python 2.5's
> elementtree module.
Is that all? ;)
He also implemented the partition string method, which for some reason I
think is the coolest thing since sliced lists. :)
--
http://mail.python.org/mailman/listinfo/
> I would try to use the python executable located in /usr/bin if it is
> exists, otherwise use the python executable in /usr/sfw/bin.
>
> casevh
lordy lord, is that where it was. i just found it now. i had been
thinking that idle was the name of the python interpreter, not just the
IDE, hence m
101 - 200 of 301 matches
Mail list logo