On Mon, Apr 30, 2012 at 2:20 AM, Frank Millman wrote:
>
> Hi all
>
> For a while now I have been using Google Groups to read this group, but on
> the odd occasion when I want to post a message, I use Outlook Express, as I
> know that some people reject all messages from Google Groups due to the hi
On Mon, Apr 30, 2012 at 11:43 AM, viral shah wrote:
> I want to print below matrix.
>
> can any one suggest me the method for the same
>
> 1 2 3
> 4 5 6
> 7 8 9
>
In general, for homework questions, you should present your attempt at
a solutio
Hi all
For a while now I have been using Google Groups to read this group, but on the
odd occasion when I want to post a message, I use Outlook Express, as I know
that some people reject all messages from Google Groups due to the high spam
ratio (which seems to have improved recently, BTW).
>F
I want to print below matrix.
can any one suggest me the method for the same
1 2 3
4 5 6
7 8 9
Thanks
--
Viral Shah
IT Department,
E-mail : shahviral...@gmail.com
Mobile : (+91) 9722312220
--
http://mail.python.org/mailman/listinfo/python-
>On Mon, Apr 30, 2012 at 2:50 PM, Xah Lee wrote:
>> jason, are you trolling me, or me you?
>
>Am I Turing dreaming I am a machine, or a machine dreaming I am Turing?
>
>Personally, I've never Turred.
>
>ChrisA
Turing got a pretty shit deal for all the great things he did - odds
are a machine woul
I did not sign up for this. ;_;
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Apr 30, 2012 at 2:50 PM, Xah Lee wrote:
> jason, are you trolling me, or me you?
Am I Turing dreaming I am a machine, or a machine dreaming I am Turing?
Personally, I've never Turred.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
>jason, are you trolling me, or me you?
>
>?
>
> Xah
Depends on what you classify as "trolling" these days. In all honesty,
the original concept of trolling seems to have become a lost art, with
only a few people even knowing what the act actually was anymore, and
in its absence everyone seems to
On Apr 29, 7:43 pm, Jason Earl wrote:
> On Sat, Apr 28 2012, Steven D'Aprano wrote:
> > On Sat, 28 Apr 2012 14:55:42 -0700, Xah Lee wrote:
>
> >> Learn Technical Writing from Unix Man in 10 Days
>
> >> Quote from man apt-get:
>
> >> remove
> >> remove is identical to install except tha
On Mon, Apr 30, 2012 at 12:43 PM, Jason Earl wrote:
> It is considerably worse than that. If you look at what the
> documentation for apt-get actually says, instead of just the badly
> mangled version that Xah shares you would realize that the post was
> basically a bald-face troll.
Not only tha
Peter Pearson writes:
> On Fri, 27 Apr 2012 13:24:35 +0200, Kiuhnm wrote:
> > I'd like to change the syntax of my module 'codeblocks' to make it
> > more pythonic.
The “chained callable” style isn't very Pythonic, IMO. Even worse is the
penchant for ‘foo .bar()’, the space obscures the fact th
29.04.12 19:05, Peter Pearson написав(ла):
Hey, guys, am I the only one here who can't even guess what
this code does? When did Python become so obscure?
This isn't Python at all. It's Ruby.
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Apr 28 2012, Steven D'Aprano wrote:
> On Sat, 28 Apr 2012 14:55:42 -0700, Xah Lee wrote:
>
>> Learn Technical Writing from Unix Man in 10 Days
>>
>> Quote from man apt-get:
>>
>> remove
>> remove is identical to install except that packages are
>> removed
>> instead o
On 04/29/2012 07:17 PM, someone wrote:
Ok. When do you define it to be singular, btw?
There are things you can see right away about a matrix A being singular
without doing any computation. By just looking at it.
For example, If you see a column (or row) being a linear combination of
other
On 04/29/2012 07:59 PM, someone wrote:
Also, as was said, do not use INV(A) directly to solve equations.
In Matlab I used x=A\b.
good.
I used inv(A) in python. Should I use some kind of pseudo-inverse or
what do you suggest?
I do not use python much myself, but a quick google showed
On 04/30/2012 02:38 AM, Nasser M. Abbasi wrote:
On 04/29/2012 05:17 PM, someone wrote:
I would also kindly ask about how to avoid this problem in
the future, I mean, this maybe means that I have to check the condition
number at all times before doing anything at all ? How to do that?
I hope
someone writes:
>> A is not just close to singular: it's singular!
> Ok. When do you define it to be singular, btw?
Singular means the determinant is zero, i.e. the rows or columns
are not linearly independent. Let's give names to the three rows:
a = [1 2 3]; b = [11 12 13]; c = [21 22 23].
On 04/29/2012 05:17 PM, someone wrote:
I would also kindly ask about how to avoid this problem in
the future, I mean, this maybe means that I have to check the condition
number at all times before doing anything at all ? How to do that?
I hope you'll check the condition number all the time.
On 04/30/2012 12:39 AM, Kiuhnm wrote:
So Matlab at least warns about "Matrix is close to singular or badly
scaled", which python (and I guess most other languages) does not...
A is not just close to singular: it's singular!
Ok. When do you define it to be singular, btw?
Which is the most a
On 29Apr2012 21:08, Chris Angelico wrote:
| On Sun, Apr 29, 2012 at 4:24 PM, Cameron Simpson wrote:
| > On 29Apr2012 11:42, Chris Angelico wrote:
| > | Personally, I would recommend a TCP socket, because that allows the
| > | flexibility of splitting across multiple computers.
| >
| > And the pa
On 4/30/2012 0:17, someone wrote:
Hi,
Notice cross-post, I hope you bear over with me for doing that (and I
imagine that some of you also like python in the matlab-group like
myself)...
--
Python vs. Matlab:
--
Pyt
Hi,
Notice cross-post, I hope you bear over with me for doing that (and I
imagine that some of you also like python in the matlab-group like
myself)...
--
Python vs. Matlab:
--
Python:
from numpy import
On 4/28/2012 4:47 AM, Kiuhnm wrote:
On 4/27/2012 17:39, Adam Skutt wrote:
On Apr 27, 8:07 am, Kiuhnm wrote:
Useful... maybe, conceptually sound... no.
Conceptually, NaN is the class of all elements which are not numbers,
therefore NaN = NaN.
NaN isn't really the class of all elements which ar
Failr point - I should do that in original question.
The C++ server runs on Unix (Mac OS X as a matter of fact) and, as I'm the one
who develops it, can use whthever technology is suitable.
Currently it uses STL, Boost and Qt libraries.
The server is responsible for providing connectivity to s
In article <7xipgj8vxh@ruckus.brouhaha.com>,
Paul Rubin wrote:
> Roy Smith writes:
> > I agree that application-level name cacheing is "wrong", but sometimes
> > doing it the wrong way just makes sense. I could whip up a simple
> > cacheing wrapper around getaddrinfo() in 5 minutes. Dep
On Sun, Apr 29, 2012 at 10:18 AM, Andres Soto wrote:
> I have already
import string
from string import *
> but I can not still convert an integer to string
There is no need to import the `string` module to do that. Most of the
`string` module is deprecated.
`str` is the *built-in* type
On 29/04/2012 18:18, Andres Soto wrote:
I have already
>> import string
>> from string import *
but I can not still convert an integer to string
>> str(42)
Traceback (most recent call last):
File "", line 1, in
str(42)
TypeError: 'module' object is not callable
>>
What is it wrong?
At so
On 4/28/2012 1:04 PM, Paul Rubin wrote:
Roy Smith writes:
I agree that application-level name cacheing is "wrong", but sometimes
doing it the wrong way just makes sense. I could whip up a simple
cacheing wrapper around getaddrinfo() in 5 minutes. Depending on the
environment (both technology
On 4/29/12 5:34 PM, Terry Reedy wrote:
On 4/29/2012 6:05 AM, Terry Reedy wrote:
On 4/29/2012 3:59 AM, J. Mwebaze wrote:
I am just wondering which specific algorithm does python use to compare
two strings.
'Python' does not use algorithms, implementations do. CPython may check
id and or hash b
I have already
>>> import string
>>> from string import *
but I can not still convert an integer to string
>>> str(42)
Traceback (most recent call last):
File "", line 1, in
str(42)
TypeError: 'module' object is not callable
>>>
What is it wrong?
Thank you
Prof. Dr. Andrés Soto
DES DACI
Dear Stefan,
Because I am a very new beginner of python, even I don't know how to install
the package. I just copied the whole directory to the Lib dictionary. I need
steps to follow. Could you please help me? My system is Windows xp, thank
you!
Sincerely,
Vinco
--
View this message in context:
On 4/29/2012 6:05 AM, Terry Reedy wrote:
On 4/29/2012 3:59 AM, J. Mwebaze wrote:
I am just wondering which specific algorithm does python use to compare
two strings.
'Python' does not use algorithms, implementations do. CPython may check
id and or hash before doing a character-by-char comparis
>> Current Syntax:
>>
>> with res << func(arg1) << 'x, y':
>> print(x, y)
>>
>> with res << func(arg1) << block_name << 'x, y':
>> print(x, y)
>>
>> New Syntax:
>>
>> with res == func(arg1) .taking_block (x, y):
>> print(x, y)
>>
>> with res == func(ar
On Fri, 27 Apr 2012 13:24:35 +0200, Kiuhnm wrote:
> I'd like to change the syntax of my module 'codeblocks' to make it more
> pythonic.
>
> Current Syntax:
>
> with res << func(arg1) << 'x, y':
> print(x, y)
>
> with res << func(arg1) << block_name << 'x, y':
> print(x
On Mon, Apr 30, 2012 at 1:49 AM, Dennis Lee Bieber
wrote:
> What do you want done if one file has fewer records than the other?
The OP did state that the files had the same number of rows. I'd say
this issue is outside the scope of the question.
ChrisA
--
http://mail.python.org/mailman/l
Hello Experts,
I am new to python and I have been trying to merge two csv files, and upon
several hours of unsuccessful attempts, I have decided to seek for help.
the format of the file is as follows. file A has columns a, b, c and values
1,2,3 for several rows. File B also has columns d,
On 4/28/2012 23:55, Xah Lee wrote:
Learn Technical Writing from Unix Man in 10 Days
Quote from man apt-get:
remove
remove is identical to install except that packages are
removed
instead of installed.
Translation:
kicking
kicking is identical to kissing ex
On 4/28/2012 16:18, Adam Skutt wrote:
On Apr 28, 7:26 am, Kiuhnm wrote:
On 4/27/2012 19:15, Adam Skutt wrote:
On Apr 27, 11:01 am, Kiuhnmwrote:
The abstraction is this:
- There are primitives and objects.
- Primitives are not objects. The converse is also true.
- Primitives can become obj
On Sun, Apr 29, 2012 at 4:24 PM, Cameron Simpson wrote:
> On 29Apr2012 11:42, Chris Angelico wrote:
> | Personally, I would recommend a TCP socket, because that allows the
> | flexibility of splitting across multiple computers.
>
> And the pain of ensuring security, if you're in an open network.
Take the twisted library.
I used to write myself a socket server and client.
Socket is fast, but you need on the other hand to know how big the
dataset might be, that will be serialized and deserialized as well.
Tamer
Am 29.04.2012 08:24, schrieb Cameron Simpson:
> On 29Apr2012 11:42, Chris An
On 4/29/2012 3:57 AM, John O'Hagan wrote:
How do function objects fit into this scheme? They have __hash__, __eq__, seem
to work as dict keys and are mutable. Is it because their hash value doesn't
change?
I suspect functions use the default equality and hash based on id, which
does not chang
On 4/29/2012 3:59 AM, J. Mwebaze wrote:
I am just wondering which specific algorithm does python use to compare
two strings.
'Python' does not use algorithms, implementations do. CPython may check
id and or hash before doing a character-by-char comparison (or perhaps
multiple chars at a time)
Hi all
I could not find a mailing list for sqlite3 - hope it is ok to post here.
My problem actually originates with a different problem relating to MS Sql
Server. Python's datetime.datetime object uses a precision of microseconds.
Sql Server's DATETIME type only uses a precision of millisecond
Hello, Xah.
In comp.emacs Xah Lee wrote:
> Learn Technical Writing from Unix Man in 10 Days
> Quote from man apt-get:
>remove
>remove is identical to install except that packages are
> removed
>instead of installed.
> Translation:
>kicking
>kicking is identical
I am just wondering which specific algorithm does python use to compare two
strings. Could it be the Longest common subsequence is the most u
Regards
--
*Mob UG: +256 (0) 70 1735800 | NL +31 (0) 6 852 841 38 | Gtalk: jmwebaze |
skype: mwebazej | URL: www.astro.rug.nl/~jmwebaze
/* Life runs on
On Sat, 28 Apr 2012 11:35:12 -0700
Chris Rebert wrote:
[...]
> Correct. Pedantically, you can define __hash__() on mutable objects;
> it's just not very useful or sensible, so people generally don't. As
> http://docs.python.org/reference/datamodel.html#object.__hash__ states
> [emphasis added]:
>
On Sat, 28 Apr 2012 14:55:42 -0700 (PDT)
Xah Lee wrote:
> Learn Technical Writing from Unix Man in 10 Days
>
> Quote from man apt-get:
>
> remove
> remove is identical to install except that packages are
> removed
> instead of installed.
>
> Translation:
>
> kicking
>
47 matches
Mail list logo