Hi All,
I'm pleased to announce the release of xlrd 0.7.4.
This release features the following changes:
- Fixed a bug where xlrd was silently truncating long text formula results
- Avoid parsing STYLE records when formatting_info=False
- More tolerance of out-of-spec files.
- Minor performan
On Tue, Apr 3, 2012 at 8:05 AM, Dennis Lee Bieber wrote:
> On Thu, 29 Mar 2012 08:48:53 -0700 (PDT), Steve Howell
> declaimed the following in
> gmane.comp.python.general:
>
> REXX is inhibited by the architectures to which it has been ported
> -- limiting the ADDRESS targets to variations
Hey Chris,
On Tuesday, April 3, 2012 9:04:43 AM UTC+2, Chris Withers wrote:
>
> Hi All,
>
> I'm pleased to announce the release of xlrd 0.7.4.
>
There seems to have been a mistake during release of 0.7.4: version.txt
referenced in setup.py:24 is missing (forgot MANIFEST?) and therefore the
pack
On 03/04/2012 08:04, Chris Withers wrote:
Hi All,
I'm pleased to announce the release of xlrd 0.7.4.
*sigh*
As pointed out, I stuffed up the release by not including a new file in
the MANIFEST. My bad.
I've just release a 0.7.5 that fixes this.
cheers,
Chris
--
Simplistix - Content Mana
On Tuesday, April 3, 2012 9:34:27 AM UTC+2, Chris Withers wrote:
> As pointed out, I stuffed up the release by not including a new file in
> the MANIFEST. My bad.
>
> I've just release a 0.7.5 that fixes this.
>
Works! Thanks for the quick reaction!
Regards,
Lukas
--
http://mail.python.o
jkn wrote:
> I'm clearly not understanding the 'can't pickle instancemethod
> objects' error; can someone help me to understand,
I think classes implemented in C need some extra work to make them
picklable, and that hasn't been done for instance methods.
> & maybe suggest a
> workaround, (
I use subprocess.call() for quite a few other things.
I just figured that I should use the tidier modules whenever I can.
--
http://mail.python.org/mailman/listinfo/python-list
On 2012-04-03 00:52:35 +0100, Jürgen Exner said:
Oh, that's why it is tought in trade schools alongside butchery,
plumbing, masonry, and chimney sweeping and why you don't find any
programming classes at university.
So, you know, no one would do law or medicine at a university. Oh, wait.
--
On Tue, Apr 3, 2012 at 12:26 AM, Chiron
<"chiron613.no.spam."@no.spam.please.gmail.com> wrote:
>> ãIs Programing Art or Scienceã
>
> Why is this question important?
That's the whole point of the article/email. Xah basically says "This
question is stupid and only stupid people care about it."
Xah Lee wrote:
> So, is programing a art or science? is it art or science? I really
> need to know.
Sience? Almost never.
It's handcraft.
Seldom, in very rare cases, it's true art for a very limited audience,
mostly it's routine, and in many cases it's also idiocy.
T.M.
--
http://mail.python
Hi, Xah,
In comp.emacs Xah Lee wrote:
> For these computing jockeys, there remains the question of why Knuth
> named his books the ?Art? of Computer Programing, or why some
> computing luminaries litter the caution that programing is as much a
> art as science. What elite dimwits need to realize
On Thu, Mar 29, 2012 at 11:41 PM, Mik wrote:
>
> I can't believe I am so dumb!
>
> after sound.play() the script was terminating
> I didn't notice that 'play()' actually returns...
>
> What a nice way to introduce myself to the group!!! :-)
>
> sorry for bothering you guys :-)
You've just pro
On Sun, 1 Apr 2012 12:32:16 -0700 (PDT)
Jedrzej Krzysztof Dec wrote:
> >
> > Why the does the window not open when the script is started
> > remotely?
> >
> > Thanks.
>
> Do You have a GUI over SSH? Something like ssh -X in Linux systems,
> or do You just have a terminal window? If You just hav
On Tue, Apr 3, 2012 at 1:40 AM, alex23 wrote:
> On Apr 3, 2:55 pm, Nathan Rice
> wrote:
>> I don't care what people do related to legacy systems.
>
> And that's what earns you the label 'architecture astronaut'. Legacy
> systems are _part_ of the problem; it's very easy to hold to a purist
> app
Programming is neither Art nor Science
It's practically maths
[pun intended]
--
http://mail.python.org/mailman/listinfo/python-list
Mik wrote:
Oh thanks alex!
that's kind!
PS: It looks like a party indeed: plenty of interesting
discussions :-)
On Mar 30, 4:33 am, alex23 wrote:
On Mar 29, 10:41 pm, Mik wrote:
What a nice way to introduce myself to the group!!! :-)
Hey, don't beat yourself up, you:
- su
Hi Peter
On Apr 3, 8:54 am, Peter Otten <__pete...@web.de> wrote:
> jkn wrote:
> > I'm clearly not understanding the 'can't pickle instancemethod
> > objects' error; can someone help me to understand,
>
> I think classes implemented in C need some extra work to make them
> picklable, and that
On 3/30/2012 4:27 AM, Xah Lee wrote:
Is Programing Art or Science?
Programming itself is a bit like being a natural language translator for
an autistic person. You have to understand the "message" to be
communicated, and then interpret it *very* literally for the listener.
Note that progra
On 31/03/2012 11:38 AM, Cameron Laird wrote:
I pine for the fjords.
And it's time to bring "Python-URL!" to a close. "Python-URL!", which
Jean-Claude Wippler and I appear to have launched in 1998, has reached
the end of its utility. We still have many loyal and enthusiastic
readers--one subscr
On Apr 3, 5:39 pm, Nathan Rice
wrote:
>
> Don't think "underlying", instead think "canonical".
>
> Ultimately, the answers to your questions exist in the world for you
> to see. How does a surgeon describe a surgical procedure? How does a
> chef describe a recipe? How does a carpenter describe
On 03/04/2012 14:51, rusi wrote:
On Apr 3, 5:39 pm, Nathan Rice
wrote:
Don't think "underlying", instead think "canonical".
Ultimately, the answers to your questions exist in the world for you
to see. How does a surgeon describe a surgical procedure? How does a
chef describe a recipe? How d
Peter Otten於 2012年4月3日星期二UTC+8下午3時54分50秒寫道:
> jkn wrote:
>
> > I'm clearly not understanding the 'can't pickle instancemethod
> > objects' error; can someone help me to understand,
>
> I think classes implemented in C need some extra work to make them
> picklable, and that hasn't been done
On Wed, Apr 4, 2012 at 12:26 AM, Mark Lawrence wrote:
> On 03/04/2012 14:51, rusi wrote:
>> Doing programming without programming languages is like using toenails
>> to tighten screws
>
>
> The latter is extremely difficult if you bite your toenails :)
I agree, thumbnails are far better suited. M
jkn wrote:
> Hi Peter
>
> On Apr 3, 8:54 am, Peter Otten <__pete...@web.de> wrote:
>> jkn wrote:
>> > I'm clearly not understanding the 'can't pickle instancemethod
>> > objects' error; can someone help me to understand,
>>
>> I think classes implemented in C need some extra work to make them
>>
On 2012-04-03, Chris Angelico wrote:
> On Wed, Apr 4, 2012 at 12:26 AM, Mark Lawrence
> wrote:
>> On 03/04/2012 14:51, rusi wrote:
>>> Doing programming without programming languages is like using toenails
>>> to tighten screws
>>
>>
>> The latter is extremely difficult if you bite your toenails
Hello, I was just wondering if anyone had experience using Python to
interact with Bloomberg. Ideally, I'd look to use Python to feed
Bloomberg's OVML calculator with a list of inputs, and then use an
additional program to grab the results of the calculator for each
calculation, and pull them into
I played around with a few things and this works but was wondering if
there was a better way to do this.
My first thought was list comprehension but could not get a figure out
the syntax.
tag23gr is a list of lists each with two items.
g23tag is an empty dictionary when I run the for loop below.
W
On Wed, Apr 4, 2012 at 12:46 AM, Grant Edwards wrote:
> Anybody remember DEC's VAX/VMS "patch" utility? Apparently, DEC
> thought it was a practical way to fix things. It had a built-in
> assembler and let you "insert" new code into a function by
> auto-allocating a location for the new code an
On Tue, Apr 3, 2012 at 6:39 AM, Nathan Rice
wrote:
> Did you miss the part where I said that most people who learn to
> program are fascinated by computers and highly motivated to do so?
> I've never met a BROgrammer, those people go into sales. It isn't
> because there aren't smart BROmosapiens
python writes:
> tag23gr is a list of lists each with two items.
> g23tag is an empty dictionary when I run the for loop below.
> When is is complete each key is a graphic name who's values are a list
> of tags.
>
> for item in tag23gr:
> ... value, key = tuple(item)
> ... if(g23tag.get(key))
On Wed, Apr 4, 2012 at 1:01 AM, Ian Kelly wrote:
> Real programmers are much more complex.
Are you saying that some part of all of us is imaginary??
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Apr 4, 2012 at 12:36 AM, python wrote:
> for item in tag23gr:
> ... value, key = tuple(item)
> ... if(g23tag.get(key)):
> ... g23tag[key].append(value)
> ... else:
> ... g23tag[key] = [value]
Simple enhancement: Use setdefault. Instead of the if, just u
On 03/04/2012 15:56, Chris Angelico wrote:
On Wed, Apr 4, 2012 at 12:46 AM, Grant Edwards wrote:
Anybody remember DEC's VAX/VMS "patch" utility? Apparently, DEC
thought it was a practical way to fix things. It had a built-in
assembler and let you "insert" new code into a function by
auto-allo
python wrote:
> I played around with a few things and this works but was wondering if
> there was a better way to do this.
> My first thought was list comprehension but could not get a figure out
> the syntax.
>
> tag23gr is a list of lists each with two items.
> g23tag is an empty dictionary whe
Xah Lee writes:
[...]
> For example, “Is mathematics science or art?”, is the same type of
> question that has been broached by dabblers now and then.
http://en.wikipedia.org/wiki/Liberal_arts
HTH.
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 3, 11:02 am, Alain Ketterlin
wrote:
> python writes:
> > tag23gr is a list of lists each with two items.
> > g23tag is an empty dictionary when I run the for loop below.
> > When is is complete each key is a graphic name who's values are a list
> > of tags.
>
> > for item in tag23gr:
> > .
On Tue, Apr 3, 2012 at 9:51 AM, rusi wrote:
> On Apr 3, 5:39 pm, Nathan Rice
> wrote:
>>
>> Don't think "underlying", instead think "canonical".
>>
>> Ultimately, the answers to your questions exist in the world for you
>> to see. How does a surgeon describe a surgical procedure? How does a
>>
On 04/03/2012 11:16 AM, Mark Lawrence wrote:
> On 03/04/2012 15:56, Chris Angelico wrote:
>> On Wed, Apr 4, 2012 at 12:46 AM, Grant
>> Edwards wrote:
>>> Anybody remember DEC's VAX/VMS "patch" utility? Apparently, DEC
>>> thought it was a practical way to fix things. It had a built-in
>>> assemb
On Tue, Apr 3, 2012 at 12:24 AM, Thomas Rachel
wrote:
> Am 02.04.2012 23:11 schrieb HoneyMonster:
>
>
>> One way:
>> import os
>>
>> os.system ("cp src sink")
>
>
> Yes. The worst way you could imagine.
>
> Why not the much much better
>
> from subprocess
> subprocess.call(['cp', 'src', 'sink'])
nn writes:
>> > for item in tag23gr:
>> > ... value, key = tuple(item)
>> > ... if(g23tag.get(key)):
>> > ... g23tag[key].append(value)
>> > ... else:
>> > ... g23tag[key] = [value]
>>
>> for item in tag23gr:
>> g23tag.setdefault(item[0],[]).
On 3/28/2012 11:39 AM, larry.mart...@gmail.com wrote:
I have the following use case:
I have a set of data that is contains 3 fields, K1, K2 and a
timestamp. There are duplicates in the data set, and they all have to
processed.
Then I have another set of data with 4 fields: K3, K4, K5, and a
tim
On Apr 2, 5:48Â pm, "Pascal J. Bourguignon"
> This is a narrow-minded definition of programming.
Well, that's the point.
If we make a list and include things like:
computer science
software engineering
computer engineering
discrete math
logic
formal methods
web development
computer graphics
infor
On Tue, Apr 3, 2012 at 11:01 AM, Ian Kelly wrote:
> On Tue, Apr 3, 2012 at 6:39 AM, Nathan Rice
> wrote:
>> Did you miss the part where I said that most people who learn to
>> program are fascinated by computers and highly motivated to do so?
>> I've never met a BROgrammer, those people go into s
On Apr 3, 9:15 pm, Nathan Rice
wrote:
> On Tue, Apr 3, 2012 at 9:51 AM, rusi wrote:
> > On Apr 3, 5:39 pm, Nathan Rice
> > wrote:
>
> >> Don't think "underlying", instead think "canonical".
>
> >> Ultimately, the answers to your questions exist in the world for you
> >> to see. How does a surge
On 2012-04-03, Dave Angel wrote:
> And I worked on a system where the microcode was in ROM, and
> there was a "patch board" consisting of lots of diodes and some
> EPROMs. The diodes were soldered into place to specfy the
> instruction(s) to be patched, and the actual patches were in
> the EPROMs
All this futuristic grandiloquence:
On Apr 3, 10:17 pm, Nathan Rice
wrote:
> The crux of my view is that programming languages exist in part
> because computers in general are not smart enough to converse with
> humans on their own level, so we have to talk to them like autistic 5
> year-olds. T
ccc31807 writes:
> On Apr 2, 5:48Â pm, "Pascal J. Bourguignon"
>> This is a narrow-minded definition of programming.
>
> Well, that's the point.
>
> If we make a list and include things like:
> computer science
> software engineering
> computer engineering
> discrete math
> logic
> formal methods
>> > A carpenter uses his tools -- screwdriver, saw, planer --to do
>> > carpentry
>> > A programmer uses his tools to to programming -- one of which is
>> > called 'programming language'
>>
>> > Doing programming without programming languages is like using toenails
>> > to tighten screws
>>
>> I w
On Apr 3, 12:26 pm, Alain Ketterlin
wrote:
> nn writes:
> >> > for item in tag23gr:
> >> > ... value, key = tuple(item)
> >> > ... if(g23tag.get(key)):
> >> > ... g23tag[key].append(value)
> >> > ... else:
> >> > ... g23tag[key] = [value]
>
> >>
On 03/28/12 16:12, John Ladasky wrote:
I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
Since the equivalents of "rm" and "mkdir" are in the os module, I
figured I look there. I haven't found anything in the documentation.
I am also looking through the Python source code in os
I want to package up some of my Python 3 scripts to run standalone,
without depending on a system-installed Python. For my development, I
use virtualenv and install all my dependencies in the virtualenv,
develop the script and test it. When I'm done, I want to build an
executable which can run with
On Tue, Apr 03, 2012 at 03:46:31PM -0400, D'Arcy Cain wrote:
> On 03/28/12 16:12, John Ladasky wrote:
> >I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
> >Since the equivalents of "rm" and "mkdir" are in the os module, I
> >figured I look there. I haven't found anything in the
On 4/3/2012 8:39 AM, Nathan Rice wrote:
Ultimately, the answers to your questions exist in the world for you
to see. How does a surgeon describe a surgical procedure? How does a
chef describe a recipe? How does a carpenter describe the process of
building cabinets? Aside from specific words,
cx_Freeze is the only program that can freeze py3k code that I know of.
I didn't have any major issues with it, but I've only played with it.
In any case, if you're going to roll your own, I'd be happy to help test it.
--
CPython 3.2.2 | Windows NT 6.1.7601.17640
--
http://mail.python.org/mailma
On 01/-10/-28163 01:59 PM, Tycho Andersen wrote:
Note, though, that this reads the whole file into memory. As many
others have said, shutil is the most idiomatic option.
* most idiomatic
* clearest in terms of showing intent
* potentially fastest
* hardest to screw up (unlike concatenating file
Hi,
I'm trying to do a while loop with condition of time if time is
12:00:00 print text, but for this one second the text is printed at
least 50 times, how can I print only once?
Thank
Anatoli
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Apr 3, 2012 at 2:36 PM, Anatoli Hristov wrote:
> Hi,
>
> I'm trying to do a while loop with condition of time if time is
> 12:00:00 print text, but for this one second the text is printed at
> least 50 times, how can I print only once?
Set a flag when you print the text to indicate that y
Maybe it's just me, but I tried to upgrade my previous versions of xlrd,
xlwt, an xlutils and now some of the modules aren't loading properly.
I am currently using Portable Python 2.7 at this workstation.
I ran "easy_install --upgrade xlrd" and the result said it had updated. If
I try to update
On Tue, Apr 3, 2012 at 4:20 PM, Terry Reedy wrote:
> On 4/3/2012 8:39 AM, Nathan Rice wrote:
>
>> Ultimately, the answers to your questions exist in the world for you
>> to see. How does a surgeon describe a surgical procedure? How does a
>> chef describe a recipe? How does a carpenter describe
On 04/03/2012 01:46 PM, Josh English wrote:
Maybe it's just me, but I tried to upgrade my previous versions of xlrd,
xlwt, an xlutils and now some of the modules aren't loading properly.
I am currently using Portable Python 2.7 at this workstation.
I ran "easy_install --upgrade xlrd" and the re
On 03 Apr 2012, at 22:45, Ian Kelly wrote:
> On Tue, Apr 3, 2012 at 2:36 PM, Anatoli Hristov wrote:
>> Hi,
>>
>> I'm trying to do a while loop with condition of time if time is
>> 12:00:00 print text, but for this one second the text is printed at
>> least 50 times, how can I print only once?
>
On Tue, Apr 3, 2012 at 3:00 PM, Anatoli Hristov wrote:
> On 03 Apr 2012, at 22:45, Ian Kelly wrote:
>
>> On Tue, Apr 3, 2012 at 2:36 PM, Anatoli Hristov wrote:
>>> Hi,
>>>
>>> I'm trying to do a while loop with condition of time if time is
>>> 12:00:00 print text, but for this one second the tex
On Apr 3, 8:22 am, Rainer Weikusat wrote:
> Xah Lee writes:
>
> [...]
>
> > For example, “Is mathematics science or art?”, is the same type of
> > question that has been broached by dabblers now and then.
>
http://en.wikipedia.org/wiki/Liberal_arts
this is the best reply in this thread!
Xah
> -Original Message-
> From: Mark Lawrence [mailto:breamore...@yahoo.co.uk]
> Sent: Wednesday, 4 April 2012 3:16 a.m.
> To: python-list@python.org
> Subject: Re: Number of languages known [was Re: Python is readable] -
> somewhat OT
>
> On 03/04/2012 15:56, Chris Angelico wrote:
> > On We
yamlish 0.8 is now available at http://pypi.python.org/pypi/yamlish
yamlish is a module for generating (and parsing) YAMLish
(http://testanything.org/wiki/index.php/YAMLish).
Release notes:
--
* Don't leak tempfiles
* setup.py test actually runs tests
* add requires to setup.py
Bayeux 0.2 is now available at http://pypi.python.org/pypi/bayeux
bayeux is a module for generating TAP (http://testanything.org/).
Version 0.2 is an initial version registered in the Cheesshop.
Release notes:
--
* module tap.py for programatic writing of TAP stream
* clone of un
Hi
We are thinking about building a webservice server and considering
python event-driven servers i.e. Gevent/Tornado/ Twisted or some
combination thereof etc.
We are having doubts about the db io part. Even with connection
pooling and cache, there is a strong chance that server will block on
db.
> On Tue, Apr 3, 2012 at 4:20 PM, Terry Reedy wrote:
> > On 4/3/2012 8:39 AM, Nathan Rice wrote:
> >
> > > Ultimately, the answers to your questions exist in the world for you
> > > to see. How does a surgeon describe a surgical procedure? How does
> > > a chef describe a recipe? How does a
On 03/04/2012 19:42, Nathan Rice wrote:
I view "computer science" as applied mathematics, when it deserves
that moniker. When it doesn't, it is merely engineering.
Is it still April first in your time zone?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
> On 3/28/2012 11:39 AM, larry.mart...@gmail.com wrote:
> > I have a set of data that is contains 3 fields, K1, K2 and a
> > timestamp. There are duplicates in the data set, and they all have to
> > processed.
> >
> > Then I have another set of data with 4 fields: K3, K4, K5, and a
> > timestamp. T
On Tue, 03 Apr 2012 13:17:18 -0400, Nathan Rice wrote:
> I have never met a programmer that was not completely into computers.
> That leaves a lot unspecified though.
You haven't looked hard enough. There are *thousands* of VB, Java, etc.
code monkeys who got into programming for the money only
On Tue, 03 Apr 2012 15:46:31 -0400, D'Arcy Cain wrote:
> On 03/28/12 16:12, John Ladasky wrote:
>> I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
>> Since the equivalents of "rm" and "mkdir" are in the os module, I
>> figured I look there. I haven't found anything in the docu
On Tue, 03 Apr 2012 08:39:14 -0400, Nathan Rice wrote:
> Much like
> with the terminal to GUI transition, you will have people attacking
> declarative natural language programming as a stupid practice for noobs,
> and the end of computing (even though it will allow people with much
> less experien
73 matches
Mail list logo