On Fri, May 14, 2010 at 11:23 PM, Carl Banks wrote:
> On May 14, 9:39 am, Terry Reedy wrote:
>> On 5/14/2010 11:24 AM, gerardob wrote:
>> > Hello, let S be a python set which is not empty
>> > (http://docs.python.org/library/sets.html)
>>
>> > i would like to obtain one element (anyone, it doesn'
On Sat, May 15, 2010 at 4:23 PM, Carl Banks wrote:
> Which brings up an interesting question: how do you get a random
> element from a set?
>
> random.choice(list(s))
>
> is the most straightforward way and will work a lot of the time, but
> how would you avoid creating the list? I can't think of
On Fri, 14 May 2010 19:17:20 -0700, Patrick Maupin wrote:
> On May 14, 9:04 pm, Lawrence D'Oliveiro central.gen.new_zealand> wrote:
>> In message <548024fc-
>> dd56-48b9-907d-3aa6a722b...@l31g2000yqm.googlegroups.com>, Patrick
>> Maupin wrote:
>>
>> > The confusion that some are showing in this t
On Sat, May 15, 2010 at 11:53 AM, Carl Banks wrote:
> On May 14, 9:39 am, Terry Reedy wrote:
> > On 5/14/2010 11:24 AM, gerardob wrote:
> >
> >
> >
> > > Hello, let S be a python set which is not empty
> > > (http://docs.python.org/library/sets.html)
> >
> > > i would like to obtain one element (
On May 14, 9:39 am, Terry Reedy wrote:
> On 5/14/2010 11:24 AM, gerardob wrote:
>
>
>
> > Hello, let S be a python set which is not empty
> > (http://docs.python.org/library/sets.html)
>
> > i would like to obtain one element (anyone, it doesn't matter which one) and
> > assign it to a variable.
>
On May 15, 12:50 am, Steven D'Aprano wrote:
> On Fri, 14 May 2010 08:37:14 -0700, Patrick Maupin wrote:
> The most obvious example was that the University of Berkley counter-sued
> Unix System Laboratories over USL's infringement of the BSD licence.
Well, I specifically excluded BSD for this rea
On Fri, 14 May 2010 08:37:14 -0700, Patrick Maupin wrote:
> I don't actually
> recall any suits about violations of the MIT or Apache licenses.
The most obvious example was that the University of Berkley counter-sued
Unix System Laboratories over USL's infringement of the BSD licence.
Admittedl
On Fri, 14 May 2010 09:18:09 -0700, Ed Keith wrote:
> But if I release it with the Boost license, while technically I can
> release it with the GPL tomorrow, in practice everyone will use the
> previously released Boost licensed version.
That's a very interesting experiment to perform. Perhaps yo
On May 14, 11:19 pm, Steven D'Aprano wrote:
> On Fri, 14 May 2010 07:10:50 -0700, Ed Keith wrote:
> > But if my client give someone else a copy of the binary I gave them,
> > they are now in violation. I do not want to put my client in this
> > position.
>
> If your client is distributing software
a...@pythoncraft.com (Aahz) writes:
Which license you use depends partly on your political philosophy.
Did they close down debian-legal, or why is this thread growing so long?
Ah, I forgot - Friday ...
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
a...@pythoncraft.com (Aahz) writes:
> You can't really sell Open Source software in any practical way;
> someone will always undercut you once it's out in the wild. You can
> only sell support for the software, which is entirely different.
Not at all. I've been selling all the software I write fo
On May 14, 9:59 pm, Steven D'Aprano wrote:
> I think this talk about freedoms is dangerously incomplete, and is
> confusing the issue rather than shedding more light. Both licences grant
> the same positive freedoms (freedom to do something). MIT-style licences
> grant permission to:
>
> * make co
On Fri, 14 May 2010 07:10:50 -0700, Ed Keith wrote:
> But if my client give someone else a copy of the binary I gave them,
> they are now in violation. I do not want to put my client in this
> position.
If your client is distributing software without reading and obeying the
licence terms, then t
In article <93d67bd9-6721-4759-a3de-412b95b29...@c11g2000vbe.googlegroups.com>,
Paul Boddie wrote:
>
>Whether or not one is comfortable with copyleft-style licences, there
>clearly is a benefit in providing access to software governed by those
>licences.
...and this newsgroup surely is evidence
In article ,
Paul Boddie wrote:
>On 14 Mai, 03:56, a...@pythoncraft.com (Aahz) wrote:
>>
>> IMO this only makes sense if one agrees that people should not be allowed
>> to sell software for money. Absent that agreement, your argument about
>> freedom seems rather limited.
>
>You'll have to expla
--- On Fri, 5/14/10, Paul Boddie wrote:
> From: Paul Boddie
> Subject: Re: Picking a license
> To: python-list@python.org
> Date: Friday, May 14, 2010, 8:12 PM
> On 14 Mai, 21:18, Ed Keith
> wrote:
> >
> > The GPL is fine when all parties concern understand
> what source code is
> > and what to
On May 14, 9:17 pm, Lawrence D'Oliveiro wrote:
> In message
> , Patrick
>
> Maupin wrote:
> > After all, lots of software ideas proved their worth in proprietary
> > systems, and then were later cloned by FOSS developers.
>
> And vice versa. Everybody, whether working in closed or open environment
On Fri, 14 May 2010 06:39:05 -0700, Ed Keith wrote:
> Yes, under the GPL every one has one set of freedoms, under the MIT or
> Boost license every one has more freedoms. Under other licenses they
> have fewer freedoms.
I think this talk about freedoms is dangerously incomplete, and is
confusing
On May 14, 8:58 pm, Lawrence D'Oliveiro wrote:
> In message , Ed Keith
> wrote:
>
> > Yes, under the GPL every one has one set of freedoms, under the MIT or
> > Boost license every one has more freedoms. Under other licenses they have
> > fewer freedoms.
>
> But what about the “freedom” to take aw
On May 14, 9:32 pm, Steven D'Aprano wrote:
> > Don't be silly. That's why I started writing open source software in
> > the first place. But if I start writing stuff to put in the commons
> > with strings removed, why would I bother with a license that just adds
> > some strings back?
>
> To max
--- On Fri, 5/14/10, Lawrence D'Oliveiro
wrote:
> From: Lawrence D'Oliveiro
> Subject: Re: Picking a license
> To: python-list@python.org
> Date: Friday, May 14, 2010, 10:07 PM
> In message ,
> Ed Keith
> wrote:
>
> > That is one good reason for choosing to use the GPL,
> instead of a less
>
--- On Fri, 5/14/10, Lawrence D'Oliveiro
wrote:
> From: Lawrence D'Oliveiro
> Subject: Re: Picking a license
> To: python-list@python.org
> Date: Friday, May 14, 2010, 9:58 PM
> In message ,
> Ed Keith
> wrote:
>
> > Yes, under the GPL every one has one set of freedoms,
> under the MIT or
> >
Thanks to y'all. I should have be more careful reading the documentation.
Cheers
On Fri, May 14, 2010 at 10:07 PM, Martin v. Loewis wrote:
>> The code works fine. I just don't know how f.write works. It says that
>> file.write won't write the file until file.close or file.flush.
>
> You are misi
On Fri, 14 May 2010 06:42:31 -0700, Ed Keith wrote:
> I am not a lawyer, but as I understand the LGPL, If I give someone
> something that used any LGPLed code I must give them the ability to
> relink it with any future releases of the LGPLed code. I think that
> means that I need to give them a li
On May 14, 9:21 pm, Lawrence D'Oliveiro wrote:
> In message , Ed Keith
> wrote:
>
> > I just refuse to use [the GPL] in any code for a client, because I
> > do not want to require someone who does not know source code from Morse
> > code code to figure out what they need to do to avoid violating t
On Fri, 14 May 2010 08:04:53 -0700, Patrick Maupin wrote:
> On May 14, 1:08 am, Steven D'Aprano cybersource.com.au> wrote:
>> On Thu, 13 May 2010 19:10:09 -0700, Patrick Maupin wrote:
>> > The broken window fallacy is about labor that could have been spent
>> > elsewhere if someone else had done
On May 14, 8:57 pm, Lawrence D'Oliveiro wrote:
> In message <84a26d03-03b3-47d9-
>
> a1f9-107470b87...@k2g2000yqe.googlegroups.com>, Patrick Maupin wrote:
> > I also firmly believe, as I have stated before, that the GPL is a much
> > more commercial license. If you want to make money off somethin
In message , Paul Boddie wrote:
> If you think the mobile telephony vendors are a bunch of fluffy bunny
> rabbits playing with each other in sugary meadows of niceness, I don't
> want to be present when someone directly and finally disabuses you of
> this belief.
The rise to popularity of Free So
Buy high quality TAG Heuer Tiger Woods Golf Watches at low price, you can
not believe, but it is true.
There are two models on
http://www.luxuryowner.net/Replica-TAG-Heuer-Tiger-Woods-Golf-Watches.html
White: Tag Heuer Tiger Woods Golf White Mens Watch WAE1112.FT6008:
http://www.luxuryowner.net
In message , Ed Keith
wrote:
> I just refuse to use [the GPL] in any code for a client, because I
> do not want to require someone who does not know source code from Morse
> code code to figure out what they need to do to avoid violating the
> license.
Why don’t you just put the source code on t
In message
, Paul
Boddie wrote:
> Although people can argue that usage of the GPL prevents people from
> potentially contributing because they would not be able to sell
> proprietary versions of the software ...
It doesn’t prevent them from selling proprietary versions of their own
contribution
In message
, Patrick
Maupin wrote:
> After all, lots of software ideas proved their worth in proprietary
> systems, and then were later cloned by FOSS developers.
And vice versa. Everybody, whether working in closed or open environments,
builds on the work of everybody else. Rsync pioneered the
On May 14, 9:04 pm, Lawrence D'Oliveiro wrote:
> In message <548024fc-
> dd56-48b9-907d-3aa6a722b...@l31g2000yqm.googlegroups.com>, Patrick Maupin
> wrote:
>
> > The confusion that some are showing in this thread about whether source
> > must be distributed certainly helps to show that as well.
>
On May 14, 9:02 pm, Lawrence D'Oliveiro wrote:
> In message
> , Patrick
>
>
>
> Maupin wrote:
> > On May 14, 6:12 am, Lawrence D'Oliveiro
> > wrote:
>
> >> In message
> >> <2ff3643b-6ef1-4471-8438-dcba0dc93...@a21g2000yqn.googlegroups.com>,
> >> Patrick Maupin wrote:
>
> >>> On May 13, 10:04 pm,
In message , Ed Keith
wrote:
> That is one good reason for choosing to use the GPL, instead of a less
> restrictive license. You can license it, for a fee, to someone who wants
> to use it in some way that is not allowed under the GPL.
Replace “GPL” with “” and your statement is no less (or more
In message
<5e719bcd-5405-4c34-870b-13e64ef1f...@k29g2000yqh.googlegroups.com>, Patrick
Maupin wrote:
> On May 14, 6:13 am, Lawrence D'Oliveiro central.gen.new_zealand> wrote:
>
>> In message
>> <2b17ee77-0e49-4a97-994c-7582f86c0...@r34g2000yqj.googlegroups.com>,
>> Patrick Maupin wrote:
>>>
>>
In message <548024fc-
dd56-48b9-907d-3aa6a722b...@l31g2000yqm.googlegroups.com>, Patrick Maupin
wrote:
> The confusion that some are showing in this thread about whether source
> must be distributed certainly helps to show that as well.
What “confusion”? The GPL requires that source must always
In message
, Patrick
Maupin wrote:
> On May 14, 6:12 am, Lawrence D'Oliveiro
> wrote:
>
>> In message
>> <2ff3643b-6ef1-4471-8438-dcba0dc93...@a21g2000yqn.googlegroups.com>,
>> Patrick Maupin wrote:
>
>>> On May 13, 10:04 pm, Lawrence D'Oliveiro
>>> wrote:
>>
>> >> In message , Ed
>> >> Keith w
In message , Ed Keith
wrote:
> Yes, under the GPL every one has one set of freedoms, under the MIT or
> Boost license every one has more freedoms. Under other licenses they have
> fewer freedoms.
But what about the “freedom” to take away other people’s freedom? Is that
really “freedom”?
--
htt
In message <84a26d03-03b3-47d9-
a1f9-107470b87...@k2g2000yqe.googlegroups.com>, Patrick Maupin wrote:
> I also firmly believe, as I have stated before, that the GPL is a much
> more commercial license. If you want to make money off something,
> then, no doubt, GPL keeps your competitors from bein
In message <4bec2a9...@dnews.tpgi.com.au>, Lie Ryan wrote:
> On 05/13/10 22:41, Lawrence D'Oliveiro wrote:
>> In message , Chris
>> Rebert wrote:
>>
>>> Also, please don't use semicolons in your code. It's bad style.
>>
>> Wonder why they’re allowed, then.
>
> they're there for line continuatio
In message , Stefan
Behnel wrote:
> Here's an overly complicated solution, but I thought that an object
> oriented design would help here.
How many times are you going to write the “"name", "age", "height"”
sequence? The next assignment question I would ask is: how easy would it be
to add a fo
On May 14, 6:52 pm, Paul Boddie wrote:
> On 14 Mai, 21:14, Patrick Maupin wrote:
>
> > If Joe downloads and burns a CD for his friend, he may not have the
> > sources and may not have any intention of getting them, and probably
> > didn't provide a "written offer." What you're "ignoring for the
cerr wrote:
Hi There,
I got following code:
start=time.time()
print 'warnTimeout '+str(WarnTimeout)
print 'critTimeout '+str(CritTimeout)
print 'start',str(start)
while wait:
passed = time.time()-start
print 'passed ',str(passed)
if passed >= WarnTimeout:
print ' Warning!'
..
On May 14, 7:24 pm, Terry Reedy wrote:
>
> "The option to provide an offer for source rather than direct source
> distribution is a special benefit to companies equipped to handle a
> fulfillment process. GPLv2 § 3(c) and GPLv3 § 6(c) avoid burdening
> noncommercial, occasional redistributors with
On May 14, 7:14 pm, cerr wrote:
> Hi There,
>
> I got following code:
> start=time.time()
> print 'warnTimeout '+str(WarnTimeout)
> print 'critTimeout '+str(CritTimeout)
> print 'start',str(start)
> while wait:
> passed = time.time()-start
> print 'passed ',str(passed)
> if passed >=
On Fri, 2010-05-14 at 20:27 -0400, Adam Tauno Williams wrote:
> I'm trying to process OpenStep plist files in Python. I have a parser
> which works, but only for strict ASCII. However plist files may contain
> accented characters - equivalent to ISO-8859-2 (I believe). For example
> I read in th
On May 14, 6:42 pm, Paul Boddie wrote:
> > You really should slow down and read a bit more carefully.
>
> You might want to tone down the condescension.
I didn't start out condescending, and I agree I could have worded this
particular statement a bit more clearly, so I apologize for that, but
I
On May 14, 8:20 am, Paul Boddie wrote:
> On 14 Mai, 09:08, Carl Banks wrote:
>
> > On May 13, 10:59 pm, Steven D'Aprano
> > wrote:
> > > On Thu, 13 May 2010 17:18:47 -0700, Carl Banks wrote:
> > > > 2. Reimplment the functionality seperately (*cough* PySide)
>
> > > Yes. So what? In what possib
On Fri, May 14, 2010 at 5:14 PM, cerr wrote:
> Hi There,
>
> I got following code:
> start=time.time()
> print 'warnTimeout '+str(WarnTimeout)
> print 'critTimeout '+str(CritTimeout)
> print 'start',str(start)
> while wait:
> passed = time.time()-start
> print 'passed ',str(passed)
> if
I'm trying to process OpenStep plist files in Python. I have a parser
which works, but only for strict ASCII. However plist files may contain
accented characters - equivalent to ISO-8859-2 (I believe). For example
I read in the line:
>>> handle = open('file.txt', 'rb')
>>> data = handle.read()
The following lines from
http://www.softwarefreedom.org/resources/2008/compliance-guide.html
seem to cover the case of someone who casually redistributes, for free,
Ubuntu or whatever. Such can refer people back to the Ubuntu site. They
should, perhaps, be familiar with the url, but I would ex
Hi There,
I got following code:
start=time.time()
print 'warnTimeout '+str(WarnTimeout)
print 'critTimeout '+str(CritTimeout)
print 'start',str(start)
while wait:
passed = time.time()-start
print 'passed ',str(passed)
if passed >= WarnTimeout:
print ' Warning!'
...
...
...
whic
On 14 Mai, 21:18, Ed Keith wrote:
>
> The GPL is fine when all parties concern understand what source code is
> and what to do with it. But when you add people like my father to the loop
> if gets very ugly very fast.
Sure, and when I'm not otherwise being accused of pushing one
apparently rather
On 14 Mai, 21:14, Patrick Maupin wrote:
>
> If Joe downloads and burns a CD for his friend, he may not have the
> sources and may not have any intention of getting them, and probably
> didn't provide a "written offer." What you're "ignoring for the
> moment" is my whole point, that unlike Ubuntu,
On 14 Mai, 22:12, Patrick Maupin wrote:
>
> I *obviously*
> was explaining that projects which *aren't* marginal, such as PyQt and
> MatLab, are the *only* kinds of projects that would be rewritten for a
> simple license change.
"As far as your comments about PyQt proving out the concept, well du
On Fri, May 14, 2010 at 10:15 AM, MathanK wrote:
> What is the replacement in python 3.x for PyStringObject which is available
> in python 2.x?
PyUnicodeObject or PyBytesObject depending on your use case.
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/pytho
On Fri, May 14, 2010 at 15:23, Nobody wrote:
> On Fri, 14 May 2010 10:50:49 -0400, J wrote:
>
>> someone smarter than me can correct me, but file.write() will write when
>> it's buffer is filled, or close() or flush() are called.
>
> And, in all probability, seek() will either flush it immediately
What is the replacement in python 3.x for PyStringObject which is available in
python 2.x?
--
http://mail.python.org/mailman/listinfo/python-list
>>> Hi to all, let's say we have the following Xml
>>>
>>>
>>> 17.1
>>> 6.4
>>>
>>>
>>> 15.5
>>> 7.8
>>>
>>>
>>>
>>> How can i get the players name, age and height?
>>> DOM or SAX and how
>>
>> Homework?
>
> I would hope that every school teacher who teaches P
> I wonder if there is a way to load C extension from in-memory object,
> not from the file on the disk?
>
> I'm asking bc I would like to download C extensions over network and
> load them into Python interpreter (without storing the C extension in
> file on the disk).
>
> I googled for this bu
On Fri, 2010-05-14 at 22:17 +0200, Stefan Behnel wrote:
> >>
> >>
> >> 17.1
> >> 6.4
> >>
> >>
> >> 15.5
> >> 7.8
> >>
> >>
from lxml import etree
handle = open('file', 'rb')
doc = etree.parse(handle)
handle.close()
players = [ ]
for player in doc.xpath('/tea
Bryan writes:
> In Python 3.X, and in Python 2.X starting with 2.4, you can drop the
> square brackets and avoid creating an extra temporary list:
>
> d = dict((k, d[k]) for k in d.keys() if not foo(k, d))
In 2.x, I think you want d.iterkeys() rather than d.keys() to avoid
making a list with all
Martin v. Loewis, 14.05.2010 17:15:
kak...@gmail.com wrote:
Hi to all, let's say we have the following Xml
17.1
6.4
15.5
7.8
How can i get the players name, age and height?
DOM or SAX and how
Homework?
I would hope that every school teacher who teaches
On May 14, 2:26 pm, Paul Boddie wrote:
> On 14 Mai, 20:36, Patrick Maupin wrote:
>
>
>
> > That statement was made in the context of why Carl doesn't use GPL-
> > licensed *libraries*. He and I have both explained the difference
> > between libraries and programs multiple times, not that you car
--- On Fri, 5/14/10, Paul Boddie wrote:
<<<>>
>
> No, PySide is about permitting the development of
> proprietary
> applications by providing a solution to the all-important
> "ISVs" which
> lets them develop and deploy proprietary software. Do you
> really think
> a platform vendor whose "ISVs
I have a Python script running on the default OSX webserver, stored
in /Library/WebServer/CGI-Executables. That script spits out a list of
files on a network drive, a la "os.listdir('/Volumes/code/
directory/')". If I just execute this from the terminal, it works as
expected, but when I try to acce
On 14 Mai, 20:36, Patrick Maupin wrote:
>
> That statement was made in the context of why Carl doesn't use GPL-
> licensed *libraries*. He and I have both explained the difference
> between libraries and programs multiple times, not that you care.
Saying that GPL-licensed applications are accept
On Sat, May 15, 2010 at 4:46 AM, Tim Chase
wrote:
> I think you meant izip() instead of chain() ... the OP wanted to be able to
> join the two lines together, so I suspect it would look something like
You're quite right! My mistake :)
--James
--
http://mail.python.org/mailman/listinfo/python-li
On Fri, 14 May 2010 10:50:49 -0400, J wrote:
> someone smarter than me can correct me, but file.write() will write when
> it's buffer is filled, or close() or flush() are called.
And, in all probability, seek() will either flush it immediately or cause
the next write() to flush it before writing
On Thu, 13 May 2010 12:29:08 +1200, Lawrence D'Oliveiro wrote:
>> Some people would prefer to have a manageable set of rules rather than
>> having to remember the results of all of the possible combinations of
>> interactions between language features.
>
> What are you accusing Python of, exactly
--- On Fri, 5/14/10, Paul Boddie wrote:
<<< lots of stuff snipped >>>
> > > Like I said, if you really have a problem with
> Ubuntu shipping CDs and
> > > exposing others to copyright infringement
> litigation.
<<< A lot more stuff snipped >>>
Everyone is assuming a certain degree of compute
On Fri, May 14, 2010 at 12:08 PM, Nobody wrote:
> On Tue, 11 May 2010 18:31:03 -0700, Paul Rubin wrote:
is called an "equation" rather than an "assignment". It declares "x is
equal to 3", rather than directing x to be set to 3. If someplace else
in the program you say "x = 4", tha
On May 14, 1:38 pm, Paul Boddie wrote:
> On 14 Mai, 19:15, Patrick Maupin wrote:
>
> > On May 14, 11:48 am, Paul Boddie wrote:
> > > Section 3 of GPLv2 (and section 6(d) of GPLv3 reads similarly): "If
> > > distribution of executable or object code is made by offering access
> > > to copy from a
On Tue, 11 May 2010 18:31:03 -0700, Paul Rubin wrote:
>>> is called an "equation" rather than an "assignment". It declares "x is
>>> equal to 3", rather than directing x to be set to 3. If someplace else
>>> in the program you say "x = 4", that is an error, normally caught by
>>> the compiler, s
On 05/14/2010 12:55 PM, James Mills wrote:
file1:
a1 a2
a3 a4
a5 a6
a7 a8
file2:
b1 b2
b3 b4
b5 b6
b7 b8
and I want to join them so the output should look like this:
a1 a2 b1 b2
a3 a4 b3 b4
a5 a6 b5 b6
a7 a8 b7 b8
This is completely untested, but this "should" (tm) work:
from itertools impo
On 14 Mai, 19:15, Patrick Maupin wrote:
> On May 14, 11:48 am, Paul Boddie wrote:
> > Section 3 of GPLv2 (and section 6(d) of GPLv3 reads similarly): "If
> > distribution of executable or object code is made by offering access
> > to copy from a designated place, then offering equivalent access t
On May 14, 1:07 pm, Paul Boddie wrote:
> On 14 Mai, 19:00, Patrick Maupin wrote:
> > Would you have agreed had he had said that "MatLab's license doesn't
> > do much good" and assigned the same sort of meaning to that statement,
> > namely that the MatLab license prevented enough motivated peopl
On May 14, 6:22 pm, Stefan Behnel wrote:
> kak...@gmail.com, 14.05.2010 16:57:
>
> > Hi to all, let's say we have the following Xml
> >
> >
> > 17.1
> > 6.4
> >
> >
> > 15.5
> > 7.8
> >
> >
>
> > How can i get the players name, age and height?
>
> Here's an ov
--- On Fri, 5/14/10, Albert van der Horst wrote:
> This is a big reason for me to release everything (see my
> website,
> it is a *lot*) under GPL. If someone wants to use it they
> can,
> if someone wants to use it commercially, they can too, as
> long
> as they pay me a little bit too. Really,
On 14 Mai, 19:00, Patrick Maupin wrote:
>
> Would you have agreed had he had said that "MatLab's license doesn't
> do much good" and assigned the same sort of meaning to that statement,
> namely that the MatLab license prevented enough motivated people from
> freely using MatLab in ways that were
On Sat, May 15, 2010 at 3:22 AM, mannu jha wrote:
> Hi,
>
> I have two different file
>
> file1:
>
> a1 a2
> a3 a4
> a5 a6
> a7 a8
>
> file2:
>
> b1 b2
> b3 b4
> b5 b6
> b7 b8
>
> and I want to join them so the output should look like this:
>
> a1 a2 b1 b2
> a3 a4 b3 b4
> a5 a6 b5 b6
> a7 a8 b7 b8
Hi,
I have two different file
file1:
a1 a2
a3 a4
a5 a6
a7 a8
file2:
b1 b2
b3 b4
b5 b6
b7 b8
and I want to join them so the output should look like this:
a1 a2 b1 b2
a3 a4 b3 b4
a5 a6 b5 b6
a7 a8 b7 b8
how to do that?
--
http://mail.python.org/mailman/listinfo/python-list
In article <4be9554...@dnews.tpgi.com.au>,
Lie Ryan wrote:
>
>Come on, 99% of the projects released under GPL did so because they
>don't want to learn much about the law; they just need to release it
>under a certain license so their users have some legal certainty. Most
>programmers are not
On May 14, 11:48 am, Paul Boddie wrote:
> On 14 Mai, 17:37, Patrick Maupin wrote:
>
>
>
> > Before, you were busy pointing me at the GPL FAQ as authoritative.
>
> No, the licence is the authority, although the FAQ would probably be
> useful to clarify the licence author's intent in a litigation
>
On May 14, 10:20 am, Paul Boddie wrote:
> On 14 Mai, 09:08, Carl Banks wrote:
>
> > On May 13, 10:59 pm, Steven D'Aprano
> > wrote:
> > > On Thu, 13 May 2010 17:18:47 -0700, Carl Banks wrote:
> > > > 2. Reimplment the functionality seperately (*cough* PySide)
>
> > > Yes. So what? In what possi
On 14 Mai, 17:37, Patrick Maupin wrote:
>
> Before, you were busy pointing me at the GPL FAQ as authoritative.
No, the licence is the authority, although the FAQ would probably be
useful to clarify the licence author's intent in a litigation
environment.
[Fast-forward through the usual tirade, t
On 5/14/2010 11:24 AM, gerardob wrote:
Hello, let S be a python set which is not empty
(http://docs.python.org/library/sets.html)
i would like to obtain one element (anyone, it doesn't matter which one) and
assign it to a variable.
How can i do this?
Depends on whether or not you want the el
Adi Eyal wrote:
> > Bryan:
> > Terry Reedy wrote:
> > [...]
> >> for k in [k for k in d if d[k] == 'two']:
> >> d.pop(k)
>
> > We have a winner.
>
> also
>
> foo = lambda k, d : d[k] == "two"
> d = dict([(k, d[k]) for k in d.keys() if not foo(k, d)])
>
> incidentally, this is marginally s
--- On Fri, 5/14/10, Tobiah wrote:
> From: Tobiah
> Subject: Re: Picking a license
> To: python-list@python.org
> Date: Friday, May 14, 2010, 11:59 AM
>
> > Assertion II:
> > If person A is free do perform an action
> person B is not free to
> > perform then person A is free to do more
>
--- On Fri, 5/14/10, Patrick Maupin wrote:
> From: Patrick Maupin
> Subject: Re: Picking a license
> To: python-list@python.org
> Date: Friday, May 14, 2010, 11:47 AM
> On May 14, 6:13 am, Lawrence
> D'Oliveiro central.gen.new_zealand> wrote:
> > In message
> > <2b17ee77-0e49-4a97-994c-7582f86c
> Assertion II:
>If person A is free do perform an action person B is not free to
>perform then person A is free to do more than person B.
This does not hold water. Let's say there are only 10 activities
available. Person A can do number 1 and person B can not. Person
B can do activiti
Steven D'Aprano wrote:
Are you implying that by distributing your libraries under the MIT or
Apache licence, no linking is required? That's a cool trick, can you
explain how it works please?
Err.. Linking statically with library in question? Which excludes LGPL
for legal reasons and doesn't e
On May 14, 6:13 am, Lawrence D'Oliveiro wrote:
> In message
> <2b17ee77-0e49-4a97-994c-7582f86c0...@r34g2000yqj.googlegroups.com>, Patrick
>
> Maupin wrote:
> > On May 13, 10:06 pm, Lawrence D'Oliveiro
> > wrote:
>
> >> Under the GPL, everybody has exactly the same freedoms.
>
> > That's absolute
On May 14, 6:12 am, Lawrence D'Oliveiro wrote:
> In message <2ff3643b-6ef1-4471-8438-
>
>
>
> dcba0dc93...@a21g2000yqn.googlegroups.com>, Patrick Maupin wrote:
> > On May 13, 10:04 pm, Lawrence D'Oliveiro
> > wrote:
>
> >> In message , Ed
> >> Keith wrote:
>
> >>> The claim is being made that [th
On May 14, 8:26 am, Paul Boddie wrote:
> On 13 Mai, 22:10, Patrick Maupin wrote:
> Just to deal with your Ubuntu "high horse" situation first, you should
> take a look at the following for what people regard to be the best
> practices around GPL-licensed software distribution:
>
> http://www.soft
On May 14, 11:01 am, J wrote:
> On Fri, May 14, 2010 at 10:53, albert kao wrote:
>
> > C:\python>rmdir.py
> > C:\test\com.comp.hw.prod.proj.war\bin
> > ['.svn', 'com']
> > d .svn
> > dotd C:\test\com.comp.hw.prod.proj.war\bin\.svn
> > Traceback (most recent call last):
> > File "C:\python\rmdir.
On 14 Mai, 09:08, Carl Banks wrote:
> On May 13, 10:59 pm, Steven D'Aprano
> wrote:
> > On Thu, 13 May 2010 17:18:47 -0700, Carl Banks wrote:
> > > 2. Reimplment the functionality seperately (*cough* PySide)
>
> > Yes. So what? In what possible way is this an argument against the GPL?
[...]
>
Hello, let S be a python set which is not empty
(http://docs.python.org/library/sets.html)
i would like to obtain one element (anyone, it doesn't matter which one) and
assign it to a variable.
How can i do this?
Thanks.
--
View this message in context:
http://old.nabble.com/an-element-from-
kak...@gmail.com, 14.05.2010 16:57:
Hi to all, let's say we have the following Xml
17.1
6.4
15.5
7.8
How can i get the players name, age and height?
Here's an overly complicated solution, but I thought that an object
oriented design would help here.
1 - 100 of 139 matches
Mail list logo