On Mon, Nov 19, 2012 at 10:14 AM, wrote:
> I have three scripts that I would like written, they are designed to do the
> following:
>
> Backup.py – Zip a folder and store it on amazon S3 using BOTO with the date
> and time as the folder name.
>
> Restore.py – Grab a file from S3 and download it
On Thu, Oct 25, 2012 at 9:04 PM, Terry Reedy wrote:
> On 10/25/2012 9:46 PM, mambokn...@gmail.com wrote:
>
> a = [float('nan'), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
> a
>>
>> [nan, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
>
> a.index(float('nan'))
>>
>> Traceback (most recent call last):
On Wed, Oct 3, 2012 at 1:26 PM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> C++ namespaces are useful for encapsulating related objects within a
> single file, subdividing the global namespace without using classes.
> Python has modules, but they come in separate files.
>
> Us
On Tue, Oct 2, 2012 at 9:23 AM, Demian Brecht wrote:
> I don't use them anymore, but I'm curious about others opinions on this
> list...
>
Interesting question. I think they haven't been useful for representing
the real world as everyone hoped, but are pretty good for organizing
structures withi
On Mon, Sep 24, 2012 at 5:55 PM, Oscar Benjamin
wrote:
> There are many situations where a little bit of attribute access magic is a
> good thing. However, operations that involve the underlying OS and that are
> prone to raising exceptions even in bug free code should not be performed
> implicitl