On Fri, Dec 16, 2011 at 12:11 AM, Ian Kelly wrote:
> On Thu, Dec 15, 2011 at 11:30 PM, Alec Taylor wrote:
>> Just for fun, use the Hungarian Algorithm
>>
>> (Python implementation: http://software.clapper.org/munkres/)
>
> That's a pretty silly approach, but okay:
>
> def listequals(a, b):
> i
On Thu, Dec 15, 2011 at 11:30 PM, Alec Taylor wrote:
> Just for fun, use the Hungarian Algorithm
>
> (Python implementation: http://software.clapper.org/munkres/)
That's a pretty silly approach, but okay:
def listequals(a, b):
if len(a) != len(b):
return False
matrix = [[int(item
On Thu, Dec 15, 2011 at 5:54 AM, Anurag Chourasia
wrote:
I am building a POS/CRM (Loyalty Management) system as well.
Is it just me, or does the phrase "Loyalty Management" have
a faintly ominous ring to it?
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
Just for fun, use the Hungarian Algorithm
(Python implementation: http://software.clapper.org/munkres/)
On Fri, Dec 16, 2011 at 3:36 AM, noydb wrote:
> I want to test for equality between two lists. For example, if I have
> two lists that are equal in content but not in order, I want a return
>
On Dec 15, 2011 8:01 PM, "MRAB" wrote:
> Python has "def", "del", "int", "str", "len", and so on. "rem" or "mod"
> (Ada has both, I believe) would be in keeping with the language.
I think I would have to object to "rem" purely on the basis that it denotes
comments in BASIC.
--
http://mail.python
On Dec 16, 3:01 pm, Chris Angelico wrote:
> And I would be most sorry to see % renamed to mod in Python.
>
> "Hello, %s! My favourite number is %d." mod ("Fred",42) # This just
> looks wrong.
Finally we can give this operator a more fitting name - I propose
'inject' - and put an end to this ins
On 12/15/2011 9:42 PM, Chris Angelico wrote:
On Fri, Dec 16, 2011 at 11:57 AM, Terry Reedy wrote:
items[-1] = "and " + items[-1]
return ", ".join(items)
This works only if you're sure there are at least two items, and if
you don't mind two items coming out as "a, and b".
Please read the
online data entry jobs
http://venuonlinejobs.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Dec 16, 2011 at 1:58 PM, MRAB wrote:
> In financial circles it could be an operator for calculating
> percentages, eg. "5 % x" would be 5 percent of x.
>
> It's an oddity, but an established one. :-)
And I would be most sorry to see % renamed to mod in Python.
"Hello, %s! My favourite nu
Hi,
A question about Xlib Library in Python troubled me for several days and I
finally found this email list. I hope someone could answer my question. I think
it is easy for experienced user.
I would like to write a small script to response my mouse click in root screen
and write something i
On Thu, 15 Dec 2011 05:35:55 -0800, Steve Howell wrote:
> For the special methods like __enter__ and __exit__, the tricky part
> isn't understanding what would happen once the methods were called; the
> tricky part is getting them to be called in the first place, if they
> were not declared inside
On 16/12/2011 02:14, alex23 wrote:
Eelco wrote:
To tie it back in with python language design; all the more reason
not to opt for pseudo-backwards compatibility. If python wants a
remainder function, call it 'remainder'. Not 'rem', not 'mod', and
certainly not '%'.
Python has "def", "del", "i
On Fri, Dec 16, 2011 at 11:57 AM, Terry Reedy wrote:
> items[-1] = "and " + items[-1]
> return ", ".join(items)
This works only if you're sure there are at least two items, and if
you don't mind two items coming out as "a, and b".
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
Eelco wrote:
> To tie it back in with python language design; all the more reason not
> to opt for pseudo-backwards compatibility. If python wants a remainder
> function, call it 'remainder'. Not 'rem', not 'mod', and certainly not
> '%'.
Good luck with the PEP.
> Its the more pythonic way; a se
On 12/15/2011 12:59 PM, Miki Tebeka wrote:
My sort issue... as in this doesn't work
if x.sort == y.sort:
You're missing the () to make it a function call.
Also list.sort() returns none, it mutates the original list.
You can either
sorted(x) == sorted(y)
or
set(x) == set(y)
or x.sort
On 12/15/2011 12:27 PM, MRAB wrote:
On 15/12/2011 16:48, Roy Smith wrote:
I've got a list, ['a', 'b', 'c', 'd']. I want to generate the string,
"a, b, c, and d" (I'll settle for no comma after 'c'). Is there some
standard way to do this, handling all the special cases?
[] ==> ''
['a'] ==> 'a'
[
On 12/15/2011 12:01 AM, Steven D'Aprano wrote:
On Wed, 14 Dec 2011 18:13:36 -0500, Terry Reedy wrote:
On 12/14/2011 3:01 AM, Steven D'Aprano wrote:
On Wed, 14 Dec 2011 01:29:13 -0500, Terry Reedy wrote:
To complement what Eric says below: The with statement is looking for
an instance *method
Hi,
This is my first email to this list, so I apologize if there's a better
mailing-list for this type of question.
I'm looking to get started with python development, so I downloaded Python
3.2.2 and PyDev IDE for Eclipse. When I go to configure my interpreter for a
new python project, Window
Ok, figured this out by myself. There was an apache config conflict, and the
config without mod_python enabled took over the config with mod_python enabled.
--
http://mail.python.org/mailman/listinfo/python-list
On 12/15/2011 6:04 AM, rusi wrote:
On Dec 15, 3:58 pm, Chris Angelico wrote:
On Thu, Dec 15, 2011 at 9:47 PM, Robert Kern wrote:
42 = 2 mod 5
2 = 42 mod 5
It might make more sense to programmers if you think of it as written:
42 = 2, mod 5
2 = 42, mod 5
Better, using ascii text, woul
The Python-SIMPL tutorial is at:
http://www.icanprogram.com/06py/lesson1/lesson1.html
Several lessons (3,4, 6 &7) have been enhanced to include examples of
Python
apps interfacing to the cloud housed on a Linode.
The open source SIMPL toolkit provides a very lean Send/Receive/Reply
(QNX
style) me
On Thu, Dec 15, 2011 at 11:51 AM, Tim Chase
wrote:
> For the fun/challenge? Because you have a REALLY big data source that you
> don't want to keep in memory (in addition the resulting string)?
If you have that much data, then I question why you would want to
build such a large human-readable li
Hello~
Thanks for your fast reply.
No, it doesn't ask for password, just a single line with "writing RSA kay",
then mypha-nopasswd.key appeared.
If my key is not in PEM Format, can openssl with simple commands to switch it
to?
Or I should re-do the self-signed process with some certain key-words
On 14 December 2011 17:06, Jean-Michel Pichavant wrote:
> Joshua Landau wrote:
>
>> [snip]
>> Using currentLogger is just padding, in my opinion. *Every *value is
>> "current".
>>
> Not always. I try to keep names on the same object because that object is
> supposed to be named that way.
> I can c
On Fri, Dec 16, 2011 at 6:24 AM, Alexander wrote:
> You're trying to connect to the same port on localhost as a client and a
> server? I don't know for certain but I don't think that should work.
> Two computers?
That's bind() on the server and connect() on the client - the normal
way to do thing
Hi,
I've a little problem for define this :
extern enum __pmerrno_t {
PM_ERR_MEMORY = 1,
PM_ERR_SYSTEM,
PM_ERR_WRONG_ARCH
} pm_errno;
I've write :
pacman=cdll.LoadLibrary("libpacman.so")
...
#errors
( PM_ERR_MEMORY ,
PM_ERR_SYSTEM,
...
PM_ERR_WRONG_ARCH )=map(ctypes.c_int,
Am 15.12.2011 21:09, schrieb Yang Chun-Kai:
> Thanks for tips.
>
> But I dont understand one thing is if Python's SSL lib doesn't support
> encrypted private keys for sockets.
>
> Then why should we "encrypt" the private key with "openssl rsa -in
> /etc/home/ckyang/PHA/testsslsocket/mypha.key -ou
MRAB wrote:
To give an analogy, it is like defining mammals as "hairy animals which
give birth to live young", which is correct for all mammals except for
monotremes, which are mammals which lay eggs.
Or the naked mole-rat. Or cetaceans (whales).
The way I understand it, the main characteris
Hi All,
PyDev 2.3.0 has been released
Details on PyDev: http://pydev.org
Details on its development: http://pydev.blogspot.com
Release Highlights:
---
* Pep8.py integrated (must be enabled in PyDev > Editor > Code
Analysis > pep8.py).
* Faster PyDev startup (internal
Thanks for tips.
But I dont understand one thing is if Python's SSL lib doesn't support
encrypted private keys for sockets.
Then why should we "encrypt" the private key with "openssl rsa -in
/etc/home/ckyang/PHA/testsslsocket/mypha.key -out
/etc/home/ckyang/PHA/testsslsocket/mypha-nopasswd.key
On 2011-12-15, Nizamov Shawkat wrote:
>>>
>>> I would like to make fullscreen white and fullscreen black using
>>> Python on Linux. With in the specs of the LCD, I want to be able to
>>> display fullscreen white and black approximately at 30Hz. Frequency
>>> (on/off per second) will be input manua
Am 15.12.2011 20:09, schrieb Yang Chun-Kai:
> Server side error:
>
> File "views.py", line 17, in
> connstream = ssl.wrap_socket(newsocket, server_side=True,
> certfile="/etc/home/ckyang/PHA/testsslsocket/mypha.crt",
> keyfile="/etc/home/ckyang/PHA/testsslsocket/mypha.key",
> ssl_version=ssl.PROT
On 15/12/2011 18:37, Eric wrote:
[snip]
Neat. This is what I had in mind for a python-esque solution.
[snip]
FYI, the word is "Pythonic" when talking about the programming
language. The word "Pythonesque" refers to Monty Python.
--
http://mail.python.org/mailman/listinfo/python-list
On 15/12/2011 18:51, Tim Chase wrote:
On 12/15/11 12:19, Ethan Furman wrote:
Tim Chase wrote:
On 12/15/11 10:48, Roy Smith wrote:
I've got a list, ['a', 'b', 'c', 'd']. I want to generate the
string, "a, b, c, and d" (I'll settle for no comma after 'c').
Is there some standard way to do this,
2011/12/15 Yang Chun-Kai
> Hello,everyone!!
>
> I am writing a simple ssl client-server test program on my personal laptop.
>
> And I encounter some problems with my simple programs.
>
> Please give me some helps.
>
> --
Hello,everyone!!
I am writing a simple ssl client-server test program on my personal laptop.
And I encounter some problems with my simple programs.
Please give me some
helps.---
On Dec 14, 4:59 pm, Dave Angel wrote:
> On 12/14/2011 05:20 PM, Eric wrote:
>
>
>
>
>
>
>
> > I'm trying to read some file data into a set of arrays. The file data
> > is just four columns of numbers, like so:
>
> > 1.2 2.2 3.3 0.5
> > 0.1 0.2 1.0 10.1
> > ... and so on
>
FWIW, I ended up with:
n = len(names)
if n == 0:
return ''
if n == 1:
return names[0]
pre = ', '.join(names[:-1])
post = names[-1]
return '%s, and %s' (pre, post)
the slice-and-join() takes care of both the 2 and >2 element c
On Dec 14, 5:27 pm, Steven D'Aprano wrote:
> On Wed, 14 Dec 2011 14:20:40 -0800, Eric wrote:
> > I'm trying to read some file data into a set of arrays. The file data
> > is just four columns of numbers, like so:
>
> > 1.2 2.2 3.3 0.5
> > 0.1 0.2 1.0 10.1
> > ... and so on
>
On 12/15/11 12:19, Ethan Furman wrote:
Tim Chase wrote:
On 12/15/11 10:48, Roy Smith wrote:
I've got a list, ['a', 'b', 'c', 'd']. I want to generate the string,
"a, b, c, and d" (I'll settle for no comma after 'c'). Is there some
standard way to do this, handling all the special cases?
If
Tim Chase wrote:
On 12/15/11 10:48, Roy Smith wrote:
I've got a list, ['a', 'b', 'c', 'd']. I want to generate the string,
"a, b, c, and d" (I'll settle for no comma after 'c'). Is there some
standard way to do this, handling all the special cases?
[] ==> ''
['a'] ==> 'a'
['a', 'b'] ==>
On Thu, Dec 15, 2011 at 11:07 AM, noydb wrote:
> Ahh, I see (on the sort issue), thanks All!
>
> Still, any other slicker ways to do this? Just for learning.
MRAB's collections.Counter suggestion is what I would do. Very tidy,
and also more efficient I think: O(n) instead of O(n log n).
--
htt
> > set(x) == set(y)
>
> Duplicates cause issues in the set() version:
You're right, I stand corrected.
--
http://mail.python.org/mailman/listinfo/python-list
Nathan Rice wrote:
> I just ran into this yesterday, and I am curious if there is a
> rational behind it...
>
> I have a class that uses a dictionary to dispatch from other classes
> (k) to functions for those classes (v). I recently ran into a bug
> where the dictionary would report that a clas
On 12/15/11 11:59, Miki Tebeka wrote:
My sort issue... as in this doesn't work
if x.sort == y.sort:
You're missing the () to make it a function call.
Also list.sort() returns none, it mutates the original list.
You can either
sorted(x) == sorted(y)
or
set(x) == set(y)
Duplicates cau
On 15/12/2011 17:59, Miki Tebeka wrote:
My sort issue... as in this doesn't work
>>> if x.sort == y.sort:
You're missing the () to make it a function call.
Also list.sort() returns none, it mutates the original list.
You can either
sorted(x) == sorted(y)
or
set(x) == set(y)
But do
Is there a MySQLdb binary for Python 2.7.2 for Windows 32 bit?
There's a 2.7 binary at
"http://www.lfd.uci.edu/~gohlke/pythonlibs/";
but not a 2.7.2 binary.
(Also, using modules from untrusted sites is riskier than it used
to be. GPL code for major packages with added spyware and adware
has
On 15/12/2011 17:49, noydb wrote:
On Dec 15, 11:36 am, noydb wrote:
I want to test for equality between two lists. For example, if I have
two lists that are equal in content but not in order, I want a return
of 'equal' -- dont care if they are not in the same order. In order
to get that e
On Dec 15, 11:59 am, Miki Tebeka wrote:
> > My sort issue... as in this doesn't work
> > >>> if x.sort == y.sort:
>
> You're missing the () to make it a function call.
> Also list.sort() returns none, it mutates the original list.
> You can either
> sorted(x) == sorted(y)
> or
> set(x) ==
On Thu, Dec 15, 2011 at 7:34 AM, Nathan Rice
wrote:
> I just ran into this yesterday, and I am curious if there is a
> rational behind it...
>
> I have a class that uses a dictionary to dispatch from other classes
> (k) to functions for those classes (v). I recently ran into a bug
> where the dic
Ahh, I see (on the sort issue), thanks All!
Still, any other slicker ways to do this? Just for learning.
--
http://mail.python.org/mailman/listinfo/python-list
On 12/15/11 10:48, Roy Smith wrote:
I've got a list, ['a', 'b', 'c', 'd']. I want to generate the string, "a, b, c, and
d" (I'll settle for no comma after 'c'). Is there some standard way to do this,
handling all the special cases?
[] ==> ''
['a'] ==> 'a'
['a', 'b'] ==> 'a and b'
['a', 'b
On Thu, Dec 15, 2011 at 9:57 AM, John Gordon wrote:
> In <61edc02c-4f86-45ef-82a1-61c701300...@t38g2000yqe.googlegroups.com>
> noydb writes:
>
> > My sort issue... as in this doesn't work
> > >>> if x.sort =3D=3D y.sort:
> > ... print 'equal'
> > ... else:
> > ... print 'not equal'
> > ...
>
> My sort issue... as in this doesn't work
> >>> if x.sort == y.sort:
You're missing the () to make it a function call.
Also list.sort() returns none, it mutates the original list.
You can either
sorted(x) == sorted(y)
or
set(x) == set(y)
--
http://mail.python.org/mailman/listinfo/python-l
noydb, 15.12.2011 18:49:
On Dec 15, 11:36 am, noydb wrote:
I want to test for equality between two lists. For example, if I have
two lists that are equal in content but not in order, I want a return
of 'equal' -- dont care if they are not in the same order. In order
to get that equality, would
In <61edc02c-4f86-45ef-82a1-61c701300...@t38g2000yqe.googlegroups.com> noydb
writes:
> My sort issue... as in this doesn't work
> >>> if x.sort =3D=3D y.sort:
> ... print 'equal'
> ... else:
> ... print 'not equal'
> ...
> not equal
> ???
Use x.sort() instead of x.sort .
--
John Gordon
On 15/12/2011 16:36, noydb wrote:
I want to test for equality between two lists. For example, if I have
two lists that are equal in content but not in order, I want a return
of 'equal' -- dont care if they are not in the same order. In order
to get that equality, would I have to sort both lists
On Dec 15, 11:36 am, noydb wrote:
> I want to test for equality between two lists. For example, if I have
> two lists that are equal in content but not in order, I want a return
> of 'equal' -- dont care if they are not in the same order. In order
> to get that equality, would I have to sort bot
I want to test for equality between two lists. For example, if I have
two lists that are equal in content but not in order, I want a return
of 'equal' -- dont care if they are not in the same order. In order
to get that equality, would I have to sort both lists regardless? if
yes, how (having is
On 15/12/2011 16:48, Roy Smith wrote:
I've got a list, ['a', 'b', 'c', 'd']. I want to generate the string, "a, b, c, and
d" (I'll settle for no comma after 'c'). Is there some standard way to do this,
handling all the special cases?
[] ==> ''
['a'] ==> 'a'
['a', 'b'] ==> 'a and b'
['a',
It would be more work than I want to go into to provide full context
(unless it is to file a bug report, if it actually is a bug). I
verified that there are no cyclical dependency issues using snakefood,
and I doublechecked that just changing the import from full to partial
name is sufficient to r
On Dec 15, 4:19 pm, Ulrich Eckhardt
wrote:
> Am 15.12.2011 12:12, schrieb yeet:
>
> > My LCD has 2ms respond time thus it can handle a maximum of 50Hz ON/
> > OFF (white/black) thus seems to fit my 1-40Hz range.
>
> You might want to ask Santa for a new calculator, as in my book a
> response time
I've got a list, ['a', 'b', 'c', 'd']. I want to generate the string, "a, b,
c, and d" (I'll settle for no comma after 'c'). Is there some standard way to
do this, handling all the special cases?
[] ==> ''
['a'] ==> 'a'
['a', 'b'] ==> 'a and b'
['a', 'b', 'c', 'd'] ==> 'a, b, and c'
It seems
On Thursday, December 15, 2011 11:53:55 PM UTC+8, Rick Johnson wrote:
> On Dec 14, 8:17 pm, Muddy Coder wrote:
> > Hi Folks,
> >
> > Sorry for the unclear question in last post. Well, I am using Tkinter
> > to do GUI, and I just don't know what kind of widget can let me do
> > annotation on an ima
Hi all,
I'm glad to inform you about new release 0.37 (2011-Dec-15) of our
free software:
OpenOpt (numerical optimization):
IPOPT initialization time gap (time till first iteration) for
FuncDesigner models has been decreased
Some improvements and bugfixes for interalg, especially for
"sea
Hello,
Sorry if this is not exactly appropriate forum where to ask Apache question,
but I though't here would some Apache-experienced people probably hang out.
Well, I can't get my Apache2 to process Python *.py files. I checked numerous
tutorials how to enable it, and did the install steps:
-
On Dec 14, 8:17 pm, Muddy Coder wrote:
> Hi Folks,
>
> Sorry for the unclear question in last post. Well, I am using Tkinter
> to do GUI, and I just don't know what kind of widget can let me do
> annotation on an image being displayed. An example is the Paint of
> Windows: a dotted line box appear
On Dec 14, 12:47 pm, Muddy Coder wrote:
> Hi Folks,
>
> I am trying to write letters on a photo that is opened in a canvas. So
> I think I must need a widget to contain the letters I will type in. I
> tried to use a Label, it worked. But, a Label covered part of the
> photo underneath, so I can't
Am 15.12.2011 12:12, schrieb yeet:
My LCD has 2ms respond time thus it can handle a maximum of 50Hz ON/
OFF (white/black) thus seems to fit my 1-40Hz range.
You might want to ask Santa for a new calculator, as in my book a
response time of 2ms would be enough for 250Hz (period = 2 * 2ms).
Re
On 12/15/2011 09:34 AM, Nathan Rice wrote:
I just ran into this yesterday, and I am curious if there is a
rational behind it...
I have a class that uses a dictionary to dispatch from other classes
(k) to functions for those classes (v). I recently ran into a bug
where the dictionary would repor
On Thursday, December 15, 2011 6:59:04 PM UTC+8, yeet wrote:
> Hi all,
>
> I would like to make fullscreen white and fullscreen black using
> Python on Linux. With in the specs of the LCD, I want to be able to
> display fullscreen white and black approximately at 30Hz. Frequency
> (on/off per seco
On Thu, Dec 15, 2011 at 5:54 AM, Anurag Chourasia
wrote:
> Hi Alec,
>
> I am building a POS/CRM (Loyalty Management) system as well.
>
> So far, the best I could find to use as a base is this one
>
> https://github.com/rosarior/django-inventory
>
> In any case, I felt that even starting from scrat
I just ran into this yesterday, and I am curious if there is a
rational behind it...
I have a class that uses a dictionary to dispatch from other classes
(k) to functions for those classes (v). I recently ran into a bug
where the dictionary would report that a class which was clearly in
the dicti
On Dec 14, 9:01 pm, Steven D'Aprano wrote:
> [...]
> So what are methods? In Python, methods are wrappers around functions
> which automatically pass the instance to the inner function object. Under
> normal circumstances, you create methods by declaring functions inside a
> class, but that's not
rusi writes:
> On Dec 15, 3:58 pm, Chris Angelico wrote:
> > On Thu, Dec 15, 2011 at 9:47 PM, Robert Kern wrote:
> > > 42 = 2 mod 5
> > > 2 = 42 mod 5
> >
> > It might make more sense to programmers if you think of it as
> > written:
> >
> > 42 = 2, mod 5
> > 2 = 42, mod 5
> >
> > ChrisA
>
> Fo
> It depends on whether you want sync to vblank or not. If not, that is
> pretty easy - use sleep() or something similar. If you have to use
> sync (screen is always either black or white, never partly black and
> white) then it is much much more difficult. Actually I do not know of
> any way to sy
On Dec 15, 11:56 am, rusi wrote:
> On Dec 15, 2:44 pm, Eelco wrote:
>
> > In other words, what logic needs is a better exception-handling
> > system, which completes the circle with programming languages quite
> > nicely. :)
>
> Cute... but dangerously recursive (if taken literally)
> Remember th
>>
>> I would like to make fullscreen white and fullscreen black using
>> Python on Linux. With in the specs of the LCD, I want to be able to
>> display fullscreen white and black approximately at 30Hz. Frequency
>> (on/off per second) will be input manually which is between 1-40Hz.
>> Any idea whe
On Dec 15, 12:59 pm, yeet wrote:
> Hi all,
>
> I would like to make fullscreen white and fullscreen black using
> Python on Linux. With in the specs of the LCD, I want to be able to
> display fullscreen white and black approximately at 30Hz. Frequency
> (on/off per second) will be input manually w
On Dec 15, 11:47 am, Robert Kern wrote:
> On 12/14/11 12:32 PM, Steven D'Aprano wrote:
>
> > On Wed, 14 Dec 2011 10:56:02 +0200, Jussi Piitulainen wrote:
> >> I'm not misunderstanding any argument. There was no argument. There was
> >> a blanket pronouncement that _in mathematics_ mod is not a bin
Hi all,
I would like to make fullscreen white and fullscreen black using
Python on Linux. With in the specs of the LCD, I want to be able to
display fullscreen white and black approximately at 30Hz. Frequency
(on/off per second) will be input manually which is between 1-40Hz.
Any idea where to sta
On Dec 15, 3:58 pm, Chris Angelico wrote:
> On Thu, Dec 15, 2011 at 9:47 PM, Robert Kern wrote:
> > 42 = 2 mod 5
> > 2 = 42 mod 5
>
> It might make more sense to programmers if you think of it as written:
>
> 42 = 2, mod 5
> 2 = 42, mod 5
>
> ChrisA
For the record I should say that the guy who
On Dec 15, 2:44 pm, Eelco wrote:
> In other words, what logic needs is a better exception-handling
> system, which completes the circle with programming languages quite
> nicely. :)
Cute... but dangerously recursive (if taken literally)
Remember that logic is the foundation of programming langua
On Thu, Dec 15, 2011 at 9:47 PM, Robert Kern wrote:
> 42 = 2 mod 5
> 2 = 42 mod 5
It might make more sense to programmers if you think of it as written:
42 = 2, mod 5
2 = 42, mod 5
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On 12/14/11 12:32 PM, Steven D'Aprano wrote:
On Wed, 14 Dec 2011 10:56:02 +0200, Jussi Piitulainen wrote:
I'm not misunderstanding any argument. There was no argument. There was
a blanket pronouncement that _in mathematics_ mod is not a binary
operator. I should learn to challenge such pronoun
On Dec 15, 4:43 am, rusi wrote:
> On Dec 14, 10:15 pm, Eelco wrote:
>
> > 'Kindof' off-topic, but what the hell :).
>
>
> We keep having these debates -- so I wonder how off-topic it is...
> And so do famous
> CSists:http://research.microsoft.com/en-us/um/people/gurevich/opera/123.pdf
>
Well,
http;//123maza.com/48/moon670/
--
http://mail.python.org/mailman/listinfo/python-list
87 matches
Mail list logo