On May 13, 10:59 pm, Steven D'Aprano wrote:
> On Thu, 13 May 2010 17:18:47 -0700, Carl Banks wrote:
> > The thing you GPL fanbois refuse to understand or accept is that, in the
> > real world, a person or company who doesn't want to open source their
> > "derivative work" will only rarely be force
Hi Sean,
Sean DiZazzo wrote:
> On May 13, 9:54 pm, Sean DiZazzo wrote:
>> On May 13, 9:39 am, News123 wrote:
>>
>>
>>
>>> Hi Aaaz,
>>> Aahz wrote:
In article <[email protected]>,
News123 wrote:
> I'd like to perform huge file uploads via https.
> I'd li
Hi James,
James Mills wrote:
> On Wed, May 12, 2010 at 6:48 PM, News123 wrote:
>> Hi,
>>
>> I'd like to perform huge file uploads via https.
>> I'd like to make sure,
>> - that I can obtain upload progress info (sometimes the nw is very slow)
>> - that (if the file exceeds a certain size) I don't
Hi J,
J.O. Aho wrote:
> News123 wrote:
>
>> What do others do for huge file uploads
>> The uploader might be connected via ethernet, WLAN, UMTS, EDGE, GPRS. )
>
> Those cases where I have had to move big files it's been scp on those cases
> where you just have to push a new file, in cases whe
On 14 May, 00:14, Mensanator wrote:
> On May 13, 4:00 pm, a wrote:
>
> > I'm coding on an old windows laptop
>
> > i write the code and double click the icon.
>
> Don't do that.
>
> > it runs the program and
> > writes results to a window.
>
> > when the code finishes, the window closes, i do a
Hey,
I'm developing d-cm, it's a program for web-developers that often need
a text-editor,file-manager,sql-manager,ftp-manager. d-cm combines all
of them in one easy to use program.
i'm looking for people that would like to help developing or to test
the program.
http://code.google.com/p/d-cm
--
Hello there,
I have a 22 GB binary file, a want to change values of specific
positions. Because of the volume of the file, I doubt my code a
efficient one:
#! /usr/bin/env python
#coding=utf-8
import sys
import struct
try:
f=open(sys.argv[1],'rb+')
except (IOError,Exception):
print '
Jean-Michel Pichavant a écrit :
chen zeguang wrote:
code is in the end.
I want to print different number when pressing different button.
Yet the program outputs 8 no matter which button is pressed.
I guess it's because the callback function is not established untill
the button is pressed, and i
Hi there,
i'm writing a console app using the cmd library. I also use
xml.dom.minidom to parse an xml file that i get as a response to an
HTTP Post request.
with
data = response.read()
i get the xml response from the server.
i then feed the parser with that data.
myDoc = parse(data)
but it doesn't
[email protected], 14.05.2010 12:46:
Hi there,
i'm writing a console app using the cmd library. I also use
xml.dom.minidom to parse an xml file that i get as a response to an
HTTP Post request.
with
data = response.read()
i get the xml response from the server.
i then feed the parser with that dat
In message <2ff3643b-6ef1-4471-8438-
[email protected]>, Patrick Maupin wrote:
> On May 13, 10:04 pm, Lawrence D'Oliveiro
> wrote:
>
>> In message , Ed
>> Keith wrote:
>>
>>> The claim is being made that [the GPL] restricts freedom.
>>
>> What about the “freedom” to restri
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 absolutely not true. For a start, the original author can dual-
> l
Jackie Lee wrote:
Hello there,
I have a 22 GB binary file, a want to change values of specific
positions. Because of the volume of the file, I doubt my code a
efficient one:
#! /usr/bin/env python
#coding=utf-8
import sys
import struct
try:
f=open(sys.argv[1],'rb+')
except (IOError,Exc
Thx, Dave,
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. So I
don't know if the following one is more efficient (sorry I forget to
add condition to break the loop):
#! /usr/bin/env python
#coding=utf-8
import
On May 14, 7:10 am, Stefan Behnel wrote:
> [email protected], 14.05.2010 12:46:
>
> > Hi there,
> > i'm writing a console app using the cmd library. I also use
> > xml.dom.minidom to parse an xml file that i get as a response to an
> > HTTP Post request.
> > with
> > data = response.read()
> > i ge
Hi, all:
I am a Java programmer, now I am working on a Python program. At the
moment, I need to store some data from user's input, no database, no
xml, no txt(we can not make users open the data file by vim or other
text editor).
Any suggestions or reference url? Is there a lib should do thi
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.softwarefreedom.org/resources/2008/compliance
--- On Thu, 5/13/10, Lawrence D'Oliveiro
wrote:
> From: Lawrence D'Oliveiro
> Subject: Re: Picking a license
> To: [email protected]
> Date: Thursday, May 13, 2010, 11:06 PM
> In message ,
> Ed Keith
> wrote:
>
> > Assertion I:
> > If person A is free to do more than
> person B, then
On 14 Mai, 03:56, [email protected] (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 explain this to me because I don't quite follo
--- On Thu, 5/13/10, Lawrence D'Oliveiro
wrote:
> From: Lawrence D'Oliveiro
> Subject: Re: Picking a license
> To: [email protected]
> Date: Thursday, May 13, 2010, 11:07 PM
> In message ,
> Ed Keith
> wrote:
>
> > On Thu, 5/13/10, Lawrence D'Oliveiro
> >
> wrote:
> >
> >> In message ,
Haulyn Jason a écrit :
Hi, all:
I am a Java programmer, now I am working on a Python program. At the
moment, I need to store some data from user's input, no database, no
xml, no txt(we can not make users open the data file by vim or other
text editor).
Any suggestions or reference url? Is t
--- On Thu, 5/13/10, Patrick Maupin wrote:
> From: Patrick Maupin
> Subject: Re: Picking a license
> To: [email protected]
> Date: Thursday, May 13, 2010, 11:45 PM
> On May 13, 10:06 pm, Lawrence
> D'Oliveiro central.gen.new_zealand> wrote:
> > In message ,
> Ed Keith
> > wrote:
> >
> >
>
On 05/14/2010 08:18 AM, Haulyn Jason wrote:
I am a Java programmer, now I am working on a Python program. At the
moment, I need to store some data from user's input, no database, no
xml, no txt(we can not make users open the data file by vim or other
text editor).
You don't mention what type of
On 14 Mai, 05:35, Patrick Maupin wrote:
>
> I mean, it's in English and very technically precise, but if you
> follow all the references, you quickly come to realize that the
> license is a "patch" to the GPL.
It is a set of exceptions applied to version 3 of the GPL, done this
way so that the ex
--- On Fri, 5/14/10, Steven D'Aprano
wrote:
>
> The GPL ensures that once software has entered the commons
> (and therefore
> available for all), it can never be removed from the
> commons. The MIT
> licence does not. Now, you might argue that in practice
> once software is
> released under a
An important question is: will you need this input stored across
multiple runs of the program? What I mean is, do you want the user to
set the data, then have those same settings even after closing and
re-opening the program?
On 5/14/10, Bruno Desthuilliers
wrote:
> Haulyn Jason a écrit :
>> Hi,
Haulyn Jason ha scritto:
Hi, all:
I am a Java programmer, now I am working on a Python program. At the
moment, I need to store some data from user's input, no database, no
xml, no txt(we can not make users open the data file by vim or other
text editor).
security thru obscurity? mmmhhh...
-
--- On Thu, 5/13/10, Patrick Maupin wrote:
> From: Patrick Maupin
> Subject: Re: Picking a license
> To: [email protected]
> Date: Thursday, May 13, 2010, 11:35 PM
> On May 13, 10:07 pm, Lawrence
> D'Oliveiro central.gen.new_zealand> wrote:
>
> > How exactly does the LGPL lead to a requir
--- On Fri, 5/14/10, Steven D'Aprano
wrote:
> The GPL ensures that once software has entered the commons
> (and therefore
> available for all), it can never be removed from the
> commons. The MIT
> licence does not. Now, you might argue that in practice
> once software is
> released under an
Hi,
Say I have an application which requires a global settings for the user.
When the user finishes setting those global variables for the app. Any class
can use that variables (which are the same for all), something like that.
What is the suitable mechanism for this solution?
Thanks in advan
On Fri, May 14, 2010 at 07:32, Jackie Lee wrote:
> Thx, Dave,
>
> 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. So I
> don't know if the following one is more efficient (sorry I forget to
> add condition to
How do I recursively remove all the directories and files which begin
with '.'?
My test program rmdir.py does not do the job yet.
Please help.
[code]
#!c:/Python31/python.exe -u
import os
from shutil import *
root = "C:\\test\\com.comp.hw.prod.proj.war\\bin"
for curdir, dirs, files in os.walk(roo
On May 14, 8:47 am, Paul Boddie wrote:
> On 14 Mai, 05:35, Patrick Maupin wrote:
>
>
>
> > I mean, it's in English and very technically precise, but if you
> > follow all the references, you quickly come to realize that the
> > license is a "patch" to the GPL.
>
> It is a set of exceptions applie
On May 14, 9:10 am, Ed Keith wrote:
> --- On Thu, 5/13/10, Patrick Maupin wrote:
>
>
>
> > From: Patrick Maupin
> > Subject: Re: Picking a license
> > To: [email protected]
> > Date: Thursday, May 13, 2010, 11:35 PM
> > On May 13, 10:07 pm, Lawrence
> > D'Oliveiro > central.gen.new_zealand
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
Thanks
Antonis
--
http://mail.python.org/mailman/listinfo/python-list
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.py", line 14, in
> rmtree(os.path.join(curd
On May 14, 1:08 am, Steven D'Aprano 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 something differently. The only time
> > that comes into play in my programming lif
> 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 misinterpreting the documentation. It certainly won't keep the
entire file in memory. Instead, it has a fixed-size buffer (something
like 8kiB or 32kiB
[email protected] 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?
Martin
--
http://mail.python.org/mailman/listinfo/python-list
[email protected], 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.
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-
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?
[...]
>
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 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, 6:12 am, Lawrence D'Oliveiro wrote:
> In message <2ff3643b-6ef1-4471-8438-
>
>
>
> [email protected]>, 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, 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
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
> 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
--- On Fri, 5/14/10, Patrick Maupin wrote:
> From: Patrick Maupin
> Subject: Re: Picking a license
> To: [email protected]
> 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
--- On Fri, 5/14/10, Tobiah wrote:
> From: Tobiah
> Subject: Re: Picking a license
> To: [email protected]
> 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
>
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 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
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 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 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
>
In article <[email protected]>,
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
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
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
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 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 May 14, 6:22 pm, Stefan Behnel wrote:
> [email protected], 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 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 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 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 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 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 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 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 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, 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 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 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
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 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
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
Martin v. Loewis, 14.05.2010 17:15:
[email protected] 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
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
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
> 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
>>> 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
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
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
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 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 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, 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
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
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
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()
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
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 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 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, 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 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
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, 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
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
In message <[email protected]>, 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 <84a26d03-03b3-47d9-
[email protected]>, 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
1 - 100 of 139 matches
Mail list logo