also be to use a context manager:
with key_down(SHIFT):
# some action...
Cheers
On Friday, November 23, 2012 11:11:34 PM UTC+1, Dennis Lee Bieber wrote:
> On Thu, 22 Nov 2012 10:00:54 -0800 (PST), Michael Herrmann
>
> declaimed the following in
>
> gmane
Hey,
how about 'write' instead of 'enter'?
write("Hello World!")
write("Brick Lane", into="Street")
This avoids the ambiguity of whether 'enter' ends by pressing ENTER or not.
Thanks,
Michael
On Tuesday, Nove
Hi,
how about "write" instead of "type"? Just came to me in a flash of inspiration.
I know it's also pretty general but at least it's not a built-in!
Thanks!
Michael
On Friday, November 23, 2012 11:30:18 PM UTC+1, Cameron Simpson wrote:
> On 23Nov2012
>
>
> Typically, keyboard/console interfaces generate
>
> - 0x60 when the control key is held down.
>
> Lowercase "i" is 0x69; minuse 0x60 give 0x09, which is the TAB
>
> character.
>
>
>
> A GUI interface, however, may capture the combination for some other
>
> usage.
Thanks! I did not know that.
Michael
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, November 25, 2012 4:56:49 AM UTC+1, Steven D'Aprano wrote:
> Michael, please trim your replies. There is no need to quote nearly 200
> lines of previous emails that you don't make direct reference to in your
> response. We prefer inline quoting here (where you int
On 11/22/2012 08:19 PM, kgard wrote:
> I am the lone developer of db apps at a company of 350+ employees.
> Everything is done in MS Access 2010 and VBA. I'm frustrated with the
> limitations of this platform and have been considering switching to
> Python. I've been experimenting with the language
On 11/26/2012 06:15 AM, [email protected] wrote:
> I am a beginner in python and need help with writing a regular
> expression for date and time to be fetched from some html documents.
Would the "parser" module from the third-party dateutil module work for you?
http://pypi.python.org/p
On 11/27/2012 05:06 PM, David Bolen wrote:
> I went through a very similar transition a few years ago from
> standalone Access databases (with GUI forms, queries and reports, as
> well as replication) to a pure web application with full reporting
> (albeit centrally designed and not a report design
On 11/28/2012 05:30 AM, Alasdair McAndrew wrote:
> I'm investigating Python for image processing (having used Matlab,
> then Octave for some years). And I'm spoiled for choice: PIL and its
> fork pillow, scipy.ndimage, scikits-image, mahotas, the Python
> interface to openCV...
>
> However, PIL d
anks again,
Michael
Co-founder and lead developer
@BugFreeSoftware
http://www.getautoma.com
On Tuesday, November 20, 2012 1:18:38 PM UTC+1, Michael Herrmann wrote:
> Hi,
>
>
>
> I'm developing a GUI Automation library (http://www.getautoma.com) and am
> having difficulty pic
anks again,
Michael
Co-founder and lead developer
@BugFreeSoftware
http://www.getautoma.com
On Friday, November 23, 2012 5:12:39 PM UTC+1, Michael Herrmann wrote:
> Hi,
>
>
>
> do you think it's bad style to override the built-in function `type`? I'm
> co-developing
On 11/29/2012 09:05 AM, Joel Goldstick wrote:
> This looks promising:
> http://www.codediesel.com/data/migrating-access-mdb-to-mysql/
Unfortunately I have not found mdb tools to be sufficient. You can use
them to convert the schema to sql, and to reveal any mdb password (great
for looking at the
un on Linux, but unfortunately that's
still a long time away...
Best,
Michael
--
http://mail.python.org/mailman/listinfo/python-list
On 12/04/2012 05:54 PM, moonhkt wrote:
> Our SMTP can send file more than 60MB. But our notes server can
> configured 100MB,30MB or 10MB. My notes Mail box can receive 100MB.
>
> In UNIX, by below command send smtp mail.
> uuencode $xfn $xfn | mail -s "$SUBJECT" $NAME
Just continue to use this s
On 12/05/2012 12:14 PM, Jason Hsu wrote:
> I have a Python 2.7 script that produces *.csv files. I'd like to
> run this Python script on a remote server and make the *.csv files
> publicly available to read.
>
> Can this be done on Heroku? I've gone through the tutorial, but it
> seems to be gea
On 12/10/2012 02:18 PM, noydb wrote:
> Follow-on question to this earlier topic -
> https://groups.google.com/d/topic/comp.lang.python/wnUlPBBNah8/discussion
>
> Was curious to know if there was a way to handle different user computers
> with different operating system set date formats. 2/10/2
On 12/11/2012 01:08 AM, Chris Angelico wrote:
> There are a LOT more date formats than those used in the USA. The most
> obvious trio is American MDY, European DMY, Japanese YMD, but there
> are plenty more to deal with. Have fun.
For the record I didn't write the module, so I don't care whether o
On 12/11/2012 01:08 AM, Chris Angelico wrote:
> That sort of statement will get you either amusement or ire, depending
> on the respondent. From me, amusement, because there are enough
> "common American date formats" for you to feel you've done a thorough
> test.
Also what I meant was common "eng
On 12/12/2012 04:40 PM, Mark Lawrence wrote:
> Awesome!!! But what the is it???
Are you serious? You honestly don't know what one of the oldest, most
widely used piece of open source software it and what it does? Samba is
at least as well-known and important as Apache, if not more so.
You
On 12/13/2012 07:45 PM, Steven D'Aprano wrote:
> When I call "python some_script.py" from the command line, it runs under
> Python 2.7 as I expected. So I give the script a hash-bang line:
>
> #!/usr/bin/env python
>
> and run the script directly, but instead of getting Python 2.7, it runs
> un
On 12/19/2012 09:51 AM, Bart Thate wrote:
> Think of sending JSON over the wire, reconstruct an object with it and then
> let the object figure out what it can and cannot do in this external
> environment.
Probably the better way to do it is to formally define an API that lets
an object discover t
domain.cu" is not a DN as required in RFC 4511:
http://tools.ietf.org/html/rfc4511#section-4.2
MS AD directly accepts a userPrincipalName but this is a highly proprietary
feature => search the user's entry first.
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
On 12/23/2012 11:11 AM, Duncan Booth wrote:
> So far as I can tell Windows doesn't let you turn the ports on and off. I
> found some suggestion that by connecting it to a powered hub it may be
> possible to toggle the hub power on and off but that many hubs don't bother
> implementing the functi
On 12/25/2012 04:42 PM, Rick Johnson wrote:
> What IS a variable Dennis?
> #
>
> #Variable (ComputerScience)#
>
Found the reference you are quot
On 12/25/2012 04:42 PM, Rick Johnson wrote:
> With that accurate definition in mind you can now understand how
> Python classes CAN and DO have variables, just as Python modules have
> variables; psst: they're called "global variables"!
Nice ascii graphic, but citation needed. What CS text book a
On 12/27/2012 01:01 PM, mogul wrote:
> Do I really need a real IDE, as the windows guys around me say I do,
> or will vim, git, make and other standalone tools make it the next 20
> years too for me?
I've never ever used an IDE with Python. With Python I can code for an
hour in vim and it runs wi
On 12/27/2012 02:25 PM, Tim Chase wrote:
> Alas, one of the worst parts about programming in Python is that I
> now find it hard to go back to any of the other languages that I
> know. :-)
Amen. I find myself wishing for a python-like language for programming
Arduino boards.
--
http://mail.pyth
On Sun, 30 Dec 2012 19:57:31 +0100, Nicholas Cole wrote:Dear List,I'm hoping to use the tarfile module in the standard library to move some files between computers. I can't see documented anywhere what this library does with userids and groupids. I can't guarantee that the computers involved wil
On 01/01/2013 11:43 AM, Mitya Sirenef wrote:
> Therefore, deleting 3 WORDs is 3daW (mnemonic: del a WORD 3 times).
Interesting. I typically use just d3w. 3daW seems to delete 3 lines
for me, the same result as d3. Another favorite command is d or
c followed by a number and then the right arrow
On 01/01/2013 04:49 PM, someone wrote:
> On 01/01/2013 12:13 PM, Chris Angelico wrote:
> > You could simply
> >
> > import OpenGL.GL as GL
> You're right - but I forgot to write that even though this maybe
> should/is recommended many places then I've seen a lot of opengl code on
> the interne
On 01/04/2013 08:53 AM, Grant Edwards wrote:
> That's obviously the "right" thing to do. I suppose I should figure
> out how to use the ast module.
Or PyParsing.
As for your program being "secure" I don't see that there's much to
exploit. You're not running as a service, and you're not runnin
no python3 support yet?
can you tell us when pygresql will be ready for python3?
thx
Michael
* D'Arcy J.M. Cain [2013-01-03 15:05]:
> ---
> Release of PyGreSQL version 4.1
> ---
>
> It has been a long time coming b
On 01/08/2013 07:57 PM, iMath wrote:
> 在 2013年1月8日星期二UTC+8上午8时44分20秒,iMath写道:
>> It would be better to give me some examples .thanks in advance !
>>
>>
>>
>> P.S. which module or lib are needed ?
>
> what I wanna perhaps like this: when a right mouse button is pressed
> and we go down and right
I've been working on a Morse Code translator, I've made it work so that you can
input English and it will translate it to Morse and play the Audio. I now want
to add a feature to the program that takes audio input, processes it and then
outputs the English.
Are there any specific APIs that I ca
On 01/09/2013 07:45 PM, [email protected] wrote:
> thanks so much it worked.I have tried and tried.look at what I was doing.
> me = raw_input("Enter a value:")
> from math import sqrt
> def squareroot(y):
>
> me = squareroot(y)
> return squareroot(y)
Congratulations! You've just cre
On 01/09/2013 07:11 PM, iMath wrote:
> can you give me an example code ?
No but I can suggest some alternative ideas, such as using httplib
(built into python), or libcurl. Or if you have to use wget, you run it
the same way you run any external command from python. If it were my
I'd plunk a fe
On 01/10/2013 12:23 AM, Steven D'Aprano wrote:
> "In general-purpose scripting languages, Python continues to grow slowly,
> JavaScript and Ruby are treading water, and Perl continues its long
> decline. According to Google trends, the number of searches for Perl is
> 19% of what it was in 2004.
On 01/10/2013 11:13 PM, Rick Johnson wrote:
>
> Python's import resolution order is terrible.[1]
>
> The fact that Python looks in the stdlib _first_ is not a good idea.
Whether or not the default behavior is desirable or not, sys.path is set
by default to look in the current directory first on
On 01/13/2013 09:13 AM, K. Elo wrote:
> I am working on a small console app for linux. The idea is to display
> some sensor values and the screen should update itself in, say, every 10
> seconds.
>
> The user should have the possibly to change some configurations or gwt
> help by pressing diffe
On 01/13/2013 09:13 AM, K. Elo wrote:
> I have searched in the Web and in several tutorials (e.g. "Programming
> python"), but this seems to be a tricky one. The 'pyHook' library seems
> to offer a keyboard hook manager, but 'pyHook' is not available for
> linux :( IMHO, the 'curses' library off
On 01/13/2013 09:16 PM, Steven D'Aprano wrote:
> A programmer had a problem, and thought Now he has "I know, I'll solve
> two it with threads!" problems.
The same applies to regular expressions, which is actually what the
expression was first used with years ago. Probably applies to just
about a
On 01/14/2013 11:09 AM, John Gordon wrote:
> In Michael Torrie
> writes:
>
>> On 01/13/2013 09:16 PM, Steven D'Aprano wrote:
>>> A programmer had a problem, and thought Now he has "I know, I'll solve
>>> two it with threads!" problems.
&g
On 01/15/2013 10:59 PM, Rick Johnson wrote:
> Why do i need to see "C:\users\user\documents\python\lib" EVERY time?
You're thinking about things from a very windows-centric point of view.
There are many cases where as a developer I need to see the full paths.
My modules are not always going to b
On 01/18/2013 06:02 AM, Ferrous Cranus wrote:
> Yes my Python scripts exist in a linux web host.
>
> os.environ['HOME'] will indeed give the home directory of the user.
>
> to me /home/nikos/
>
> but i want a variable to point to
>
> /home/nikos/public_html whice is called DocumentRoot.
Not it
On 01/21/2013 09:02 AM, Ferrous Cranus wrote:
> Ok i see its just a convention. Can you help on this:
>
> so we need to remove since the
> apache cant see to open it and let Python open it which we know it
> can because it has access to any system file the user has access too.
Is this link gene
On 01/21/2013 07:55 AM, Ferrous Cranus wrote:
> Yes Dave so we need to remove
> since the apache cant see to open it and let Python open it which we
> know it can because it has access to any system file the user has
> access too.
What are you trying to accomplish? I don't see how opening the fi
On 01/19/2013 01:01 AM, Ferrous Cranus wrote:
> # render html template and print it data = f.read() counter =
> ''' mailto:[email protected]";> src="/data/images/mail.png">
>
>
> Αριθμός Επισκεπτών %d ''' % hits[0]
>
>
> While from within the sam
On 01/22/2013 03:07 AM, Ferrous Cranus wrote:
> Now, can you pleas help me write the switch to filepath identifier?
> I'am having trouble writing it.
Unfortunately this isn't the way to go either. Apache uses its own
config and rules to map a url to a "filepath." There's no way for
Python to do
I'm sorry you are getting so frustrated. There's obviously a language
barrier here, but also your frustration is preventing you from thinking
clearly. You need to take a step back, breath, and re-read everything
that's been written to you on this thread. All your questions that can
be answered h
On 01/22/2013 11:13 AM, Ferrous Cranus wrote:
> a) I'am a reseller, i have unlimited ftp quota, hence database space
Space doesn't even come into the equation. There's virtually no
difference between a 4-digit number and a 100-character string. Yes
there is an absolute difference in storage spac
On 01/22/2013 11:26 AM, Ferrous Cranus wrote:
> which yields:
> $ perl testMD5.pl
> /index.html: 1066
> /about/time.html: 1547
Well do it the same with in python then. Just read the docs on the
hashlib so you know what kind of object it returns and how to call
methods on that object to return a
On 01/22/2013 11:37 AM, Ferrous Cranus wrote:
> == pin = int(
> htmlpage.encode("hex"), 16 ) % 1
> ==
>
> Can you please explain the differences to what you have posted
> opposed to this perl coding?
>
>
On 01/21/2013 08:00 AM, Ferrous Cranus wrote:
> Τη Δευτέρα, 21 Ιανουαρίου 2013 2:47:54 μ.μ. UTC+2, ο χρήστης Joel
> Goldstick έγραψε:
>> This is trolling Ferrous. you are a troll. Go away
>
> Just because you cannot answer my question that doesn't make me a
> troll you know.
It becomes trolling
On 01/22/2013 04:40 PM, Steven D'Aprano wrote:
> On Tue, 22 Jan 2013 11:36:31 -0700, Michael Torrie wrote:
>
>> I'm sorry you are getting so frustrated. There's obviously a language
>> barrier here,
>
> I don't think there is. The OP's posts
On 01/22/2013 05:40 PM, MRAB wrote:
> "his quote string is Cyrillic"?
>
> If you're referring to the "Τη Τρίτη, 22 Ιανουαρίου 2013 6:23:16 μ.μ.
> UTC+2, ο χρήστης Leonard, Arah έγραψε", that's Greek.
Oh, haha! you're so right!
--
http://mail.python.org/mailman/listinfo/python-list
On 01/23/2013 12:25 AM, Ferrous Cranus wrote:
>
> Using that method ABC.html and CBA.html now have different values
> because each letter position's value gets bumped up increasingly from
> left to right.
You have run this little "hash" algorithm on a whole bunch of files, say
C:\windows\system32
On 01/23/2013 07:56 AM, Santosh Kumar wrote:
> Yes, Peter got it right.
>
> Now, how can I replace:
>
> script, givenfile = argv
>
> with something better that takes argv[1] as input file as well as
> reads input from stdin.
>
> By input from stdin, I mean that currently when I do `cat foo.
On 01/23/2013 12:05 PM, [email protected] wrote:
> I need to search a log file for a specific string (Successfully Sent)
> and report the number of instances in the last hour (from when
> executed) and total for the day so far (midnight till the time
> executed). Can anyone provide any examples of s
On 01/24/2013 02:14 PM, Tetsuya wrote:
> Vim has everything, you just need a bunch of plugins.
> I code mainly in python and django, and I use these plugins (among others):
>
> powerline (status bar indicating git branch, etc..)
> syntastic (support for pep8, flake8, pyflakes, etc..)
> ctrlp (fuzz
On 01/25/2013 09:18 AM, Tim Daneliuk wrote:
> On 01/25/2013 10:01 AM, Steve Petrie wrote:
>> On Thursday, January 24, 2013 8:29:51 PM UTC-5, Tim Daneliuk
>> wrote: The mechanize module
>> (http://wwwsearch.sourceforge.net/mechanize/) might be a place to
>> start. I've done something similar with c
On 01/25/2013 05:15 PM, Tim Daneliuk wrote:
> Does it handle self-signed SSL certs?
No idea. you'd have to try it.
--
http://mail.python.org/mailman/listinfo/python-list
On 01/26/2013 12:41 PM, Ferrous Cranus wrote:
> I can use triple (''') quoting so i dont have to escape special characters.
Hmm. I think you missed what he was getting at. He's not talking about
Python escape sequences. He's talking about HTML ones. There is a
function in one of the standard lib
re learning Python! Indeed it is for all ages! What
does the question say, exactly (maybe quote it)? And definitely post
your answer to the question as well. It's better for us to work with
what you have already.
Michael
--
http://mail.python.org/mailman/listinfo/python-list
On 01/28/2013 03:46 PM, Malcolm McCrimmon wrote:
> My company recently hosted a programming competition for schools
> across the country. One team made it to the finals using the Python
> client, one of the four default clients provided (I wrote it). Most
> of the other teams were using Java or C
hi Stefan,
* Stefan Behnel [2013-01-29 08:00]:
> Michael Torrie, 29.01.2013 02:15:
> > On 01/28/2013 03:46 PM, Malcolm McCrimmon wrote:
> >> My company recently hosted a programming competition for schools
> >> across the country. One team made it to the finals using
On 01/30/2013 10:02 AM, Jorge Alberto Diaz Orozco wrote:
> I´ve tried it but it´s not reliable. Datagrams can arive disorganised or just
> not arive.
> Some programmers said I most use TCP, but I need to use UDP.
> that´s why I need pyrudp, but I can not find it.
Excuse me for chuckling, but your
On 02/01/2013 11:47 AM, [email protected] wrote:
> On Friday, February 1, 2013 11:07:48 PM UTC+5:30, 8 Dihedral
> wrote:
>> [email protected]於 2013年2月2日星期六UTC+8上午1時17分04秒寫道:
>>> I am looking for a Python implementation of Maximum Likelihood
>>> Estimation. If any one can kindly sugges
On 01/23/2012 12:44 PM, Jonno wrote:
> Any ideas why I can reference foo inside the method but not in __init__?
No idea, but could you pass foo as a constructor parameter to __init__
and store it as an instance variable?
--
http://mail.python.org/mailman/listinfo/python-list
On 01/24/2012 05:43 PM, Rick Johnson wrote:
> Actually my custom script had a small flaw which kept it from
> capturing ALL the atrocities. Here is a run with the bugfixes:
Wow. I had to trim 80% of your e-mail just to get rid of old quoted
posts. For an expert, Rick, I'm really surprised you don
On 01/24/2012 10:49 PM, Michael Torrie wrote:
> On 01/24/2012 05:43 PM, Rick Johnson wrote:
>> Actually my custom script had a small flaw which kept it from
>> capturing ALL the atrocities. Here is a run with the bugfixes:
>
> Wow. I had to trim 80% of your e-mail just to
On 01/25/2012 06:54 PM, Steven D'Aprano wrote:
> The only intuitive interface is the nipple. Everything else is learned.
I think young mothers would even disagree with that. It's learned just
like everything else in life. Albeit very rapidly.
--
http://mail.python.org/mailman/listinfo/python-li
On 01/25/2012 03:29 PM, bvdp wrote:
> Right now my program does a search for modules in "all the normal
> places", which seems to work for windows, mac and linux. Once the
> modules are found I just insert that location into sys.path[0].
>
> Which permits the modules to reside anywhere on the HDD.
On 01/26/2012 09:30 AM, bvdp wrote:
> Yes. I agree and it's nice to have a confirmation. So far I've been
> putting all my program into /usr/local/share/MYPROGRAM and then
> simply inserting an entry into sys.path.
>
> Then, for other systems, I check a few common locations until I find
> the inst
On 01/28/2012 12:21 AM, contro opinion wrote:
s='你好'
On my computer, s is a byte string that contains the utf-8 formatted
encoding of 你好. This has nothing to do with python, though, and
everything to do with the line editor python's interpreter is doing. In
other words, the string is encode
On 01/28/2012 04:03 PM, Terry Reedy wrote:
> On 1/28/2012 2:58 PM, Michael Torrie wrote:
>> On 01/28/2012 12:21 AM, contro opinion wrote:
>>>>>> s='你好'
>>
>> On my computer, s is a byte string that contains the utf-8 formatted
>> encoding
On 01/31/2012 06:41 AM, Jason Friedman wrote:
> Does Python 2.7's zipfile module use its own algorithm or does it
> leverage the zip/unzip libraries that exist on the host? I ask
> because my host's native unzip program cannot handle files that, when
> unzipped, are larger than 2GB. Will using Py
e don't take it personally but my impression is that you're not
totally clear on what you need. Could you please try to explain what you want
to achieve?
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
On 02/11/2012 02:19 PM, sajuptpm wrote:
> Hi Michael Ströder,
> Thanks for replay
>
> Yea i am not totally clear about that
>
> Client's Requirement is
> option to have a ldap proxy user bind to the ldap server if it needs
> more directory rights than an anonymous
On 02/11/2012 08:35 PM, Michael Torrie wrote:
> On 02/11/2012 02:19 PM, sajuptpm wrote:
>> Hi Michael Ströder,
>> Thanks for replay
>>
>> Yea i am not totally clear about that
>>
>> Client's Requirement is
>> option to have a ldap proxy user bin
ck-ldap or back-meta for that.
So you should ask your customer what's really needed.
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list
On 02/13/2012 09:01 AM, Rick Johnson wrote:
> Look, i hate super rich, arrogant people just as much i hate selfish
> people.
But wait, Rick. You are a man of contradictions. We all are, but you
seem to bluster on and on more about it than most. Firstly, to *hate*
anyone, super-rich, arrogant,
On 02/13/2012 05:39 PM, Rick Johnson wrote:
> Why? Do you need the services of a professional software developer?
Do you have some to offer?
--
http://mail.python.org/mailman/listinfo/python-list
On 02/15/2012 07:38 PM, 8 Dihedral wrote:
> In the 4 G space of SW AP in Adndroid phones,
> check Jython. But I think a better data compression
> modules is more helpful.
Jython, though a very cool and useful implementation, relies on the Java
virtual machine to run. It does not yet run on
On 02/16/2012 07:53 AM, 8 Dihedral wrote:
> The law suites of JAVA Vitrtual Machine from Oracle
> are famous now. But in 201X the JVM patents will be
> expired, thus it is not very urgent to chunk out a new jython now. Anyway
> just write codes that can be maintained and ported to other lang
On 02/16/2012 10:38 AM, Grant Edwards wrote:
> I got curious about Dalvik, and was looking at the Wikipedia page,
> where it says that programs for Android are compiled into bytecode in
> JVM compatible .class files. Those files are then converted into .dex
> files to run on Davlik.
>
> I don't k
On 02/16/2012 10:25 PM, 8 Dihedral wrote:
> Android is a customized linux OS used in mobile phones. I don't think
> any linux systm has to be locked by JAVA or any JVM to run
> applications.
Getting waaa off topic here, but...
I guess you aren't familiar with what Android is (which is iro
On 02/18/2012 10:46 AM, Lie Ryan wrote:
> Android does have a full Linux experience; what it lacks is the GNU
> experience. Unlike "normal" Linux distros, Android does not use GNU
> userspace, instead it have its own userspace based on bionic, toolbox,
> and dalvik. Linux is a core part of Andro
On 02/18/2012 11:58 AM, SherjilOzair wrote:
> Has it been considered to add shell features to python, such that it
> can be used as a default shell, as a replacement for bash, etc.
>
> I'm sure everyone would agree that doing this would make the terminal
> very powerful.
>
> What are your views o
stuff (e.g. processing LDIF, LDAPURLs and LDAPv3 schema).
Project's web site:
http://www.python-ldap.org/
Ciao, Michael.
Released 2.4.8 2012-02-21
Changes since 2.4.7:
Lib/
* Fixed overzealous check for non-unique NAM
On 02/24/2012 08:34 AM, Rick Johnson wrote:
> Yes i could write my own implementation of INFINITY if i wanted,
> although i would have returned True and False as apposed to 1 and 0
> AND used the identifiers Infinity and Infinitesimal, but i digress :-
> P.
>
> However, INFINITY is something i bel
On 02/24/2012 09:59 AM, Mark Lawrence wrote:
> The C integer bit doesn't matter since e.g.
> >>>
> a=100
> >>> a
> 1
On 02/27/2012 08:02 AM, Grant Edwards wrote:
> On 2012-02-27, Steven D'Aprano wrote:
>> On Sun, 26 Feb 2012 16:24:14 -0800, John Ladasky wrote:
>>
>>> Curiosity prompts me to ask...
>>>
>>> Those of you who program in other languages regularly: if you visit
>>> comp.lang.java, for example, do peop
On 02/27/2012 10:28 AM, Ethan Furman wrote:
> jmfauth wrote:
>> On 25 fév, 23:51, Steven D'Aprano > [email protected]> wrote:
>>> On Sat, 25 Feb 2012 13:25:37 -0800, jmfauth wrote:
>>> (2.0).hex()
'0x1.0p+1'
>>> (4.0).hex()
'0x1.0p+2'
>>>
Rolf Wester wrote:
The reason to use exec is just laziness.
The worst reason for using it. So I hope you carefully read Steven's comment
and get rid of exec() for anything serious:
<[email protected]>
Ciao, Michael.
--
http://mail.python.
On 03/07/2012 06:44 AM, janaki rajamani wrote:
> Hi
>
> I am stuck with the brain workshop software implemented using python.
> The code involves a lot of GUI elements and i am familar only with the
> basic python programming.
> I would like to know whether there are built in classes to support GU
stuff (e.g. processing LDIF, LDAPURLs and LDAPv3 schema).
Project's web site:
http://www.python-ldap.org/
Ciao, Michael.
Released 2.4.9 2012-03-14
Changes since 2.4.8:
Lib/
* ldapobject.ReconnectLDAPObject.reconnect() now
On 03/15/2012 01:40 PM, Kiuhnm wrote:
> Moreover, I think that
>if (
>
>):
>
>
>
> is not very readable anyway.
Sure but neither is
if ( \
\
On 03/15/2012 09:18 AM, Kiuhnm wrote:
> > After early user testing without the colon, it was discovered that
> the meaning of the indentation was unclear to beginners being taught the
> first steps of programming. <
>
> The addition of the colon clarified it significantly: the colon some
On 03/16/2012 10:48 AM, Steven D'Aprano wrote:
> On Fri, 16 Mar 2012 13:10:12 +0100, Kiuhnm wrote:
>
>> Maybe we should define *exactly* what readability is (in less then 500
>> lines, if possible).
>
> If you can't be bothered to read my post before replying, save yourself
> some more time and
On 03/17/2012 08:45 AM, Kiuhnm wrote:
> Your way is easy, but the result is poor.
In what way? What is your recommended way?
> Your should try to rewrite it.
> Decompilers do exactly that.
Decompilers rewrite code for people? That's really neat.
--
http://mail.python.org/mailman/listinfo/pyt
301 - 400 of 4859 matches
Mail list logo