On Fri, Jan 19, 2018 at 12:58:10PM -0500, Bob Gailer wrote:
> =
>
> On Jan 18, 2018 5:45 PM, "Devansh Rastogi" wrote:
> >
> > Hello,
> >
> > I'm new to python and programming as
> >
> > from collections import Counter
> > import json
> >
> I don't see any value for having a class. All you need ar
=
On Jan 18, 2018 5:45 PM, "Devansh Rastogi" wrote:
>
> Hello,
>
> I'm new to python and programming as
>
> from collections import Counter
> import json
>
I don't see any value for having a class. All you need are functions and
global variables
> class Files:
> def __init__(self, filename):
On 18/01/18 20:51, Devansh Rastogi wrote:
> When do you actually use json or pickle, I understand that with data
> written to .json files can be used by programs written in other languages,
> and pickle is for python specific objects.
Yes, that's correct.
> So are there specific objects
> for w
On 2/23/2012 12:04 AM, Michael Lewis wrote:
Hi everyone,
I have a program where I open a file (recipe.txt), I read that file
and write it to another file. I am doing some multiplying of numbers
in between; however, my question is, when I name the file I am writing
to, the file extension is ch
On 2012/02/23 07:04 AM, Michael Lewis wrote:
Hi everyone,
I have a program where I open a file (recipe.txt), I read that file
and write it to another file. I am doing some multiplying of numbers
in between; however, my question is, when I name the file I am writing
to, the file extension is c
Marty Pitts a écrit :
Date: Fri, 5 Dec 2008 23:48:32 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Tutor] Writing to a file problem
zip_command = "c:\Users\Marty\Zip\Zip -!rv '%s' %s" % (target, ' '.join(source))
What if you jus
On Fri, Dec 5, 2008 at 3:51 AM, Marty Pitts <[EMAIL PROTECTED]> wrote:
> #5. We use the zip command to put files in a zip archive
> zip_command = "c:\Users\Marty\Zip\Zip -!rv '%s' %s" % (target, '
> '.join(source))
It might help to print zip_command, to make sure it is what you
expect. You can
marty,
i applaud you in your efforts to port this script to the Win32
platform. the task is not as simple as one may expect, due to the
differing file pathname nomenclatures that the different operating
systems use.
because of this, i have a couple of suggestions:
1. highly recommend converting