The error indicates your source file cannot be read. Did you have it open in
an editor that locks it for exclusive use when you ran your program?
Also, the command:
zipfile.ZipFile(target, 'w').write(source)
writes backup_list to the target zipfile, and returns None, assigning the
return
well i want to use a for loop to work from the right most digit to the left
most digit at a negative 1 increment. For each digit i want to divide it by
1/base and add the next digit. Then I need to take that sum and multiply it
by 1/b to get the decimal equivalent
so when I say that to myself i se
"Benjamin Serrato" wrote
formatting of my zip arguments is incorrect. Since I am unsure how to
communicate best so I will show the code, the error message, and what I
believe is happening.
Thats pretty close to communicating the best way! :-)
zip_command = zipfile.ZipFile(target, 'w').writ
"Chris Castillo" wrote
I need some help converting the fractional (right side of the decimal) to
base 10.
I have this but it doesn't work
Frankly, based on your algorithm, I'm not sure what exactly you want
to do but taking the above statement as a starting point
I'd convert the fractional
On Sun, Apr 5, 2009 at 4:54 PM, Benjamin Serrato
wrote:
> Please tell me why this code fails. I am new and I don't understand why my
> formatting of my zip arguments is incorrect. Since I am unsure how to
> communicate best so I will show the code, the error message, and what I
> believe is happen
"Wayne Watson" wrote
manipulation - actually creating and editing GIF/JPEG images etc
The interaction stuff you need to do using the GUI toolkit.
The GUI toolkit, Pmw, Tkinter?
Yes exactly.
Or wxPython or PyGtK or whatever, they will all provide a canvas
type widget which you can progr
Benjamin Serrato wrote:
> Please tell me why this code fails. I am new and I don't understand
why my formatting of my zip arguments is incorrect. Since I am unsure
how to communicate best so I will show the code, the error message, and
what I believe is happening.
>
> #!c:\python30
> # Filenam
Please tell me why this code fails. I am new and I don't understand why my
formatting of my zip arguments is incorrect. Since I am unsure how to
communicate best so I will show the code, the error message, and what I
believe is happening.
#!c:\python30
# Filename: backup_ver5.py
import os
import
I need some help converting the fractional (right side of the decimal) to
base 10.
I have this but it doesn't work
mynum = raw_input("Please enter a number: ")
myint, myfrac = mynum.split(".")
base = raw_input("Please enter the base you would like to convert to: ")
base = int(base)
mydecfrac = 0
f
Title: Signature.html
Alan Gauld wrote:
"Wayne Watson" wrote
> The grid is a perfectly good layout
manager but like all such
> tools it works in a particular way and has lots of options. Some
To me grid looks like simple arithmetic, +, -, * and /, but someone
l
"Wayne Watson" wrote
> The grid is a perfectly good layout manager but like all such
> tools it works in a particular way and has lots of options. Some
To me grid looks like simple arithmetic, +, -, * and /, but someone
left out the description (in a fictitious book on arithmetic) of "/
"(
Title: Signature.html
Thanks, very much.
Alan Gauld wrote:
"Wayne
Watson" wrote
I get the feeling, particularly with Tkinter
and PIL, that I'm dealing
with antiquated tools, and documentation.
They are both quite old and therefore quite stable. They do what
I tak
"Wayne Watson" wrote
I get the feeling, particularly with Tkinter and PIL, that I'm dealing
with antiquated tools, and documentation.
They are both quite old and therefore quite stable. They do what
they do well and don't need to change very often. That is a
Good Thing in that they are reli
Le Sat, 4 Apr 2009 20:05:41 -0400,
Kent Johnson s'exprima ainsi:
> On Sat, Apr 4, 2009 at 3:37 PM, Christopher Spears
> wrote:
> >
> > I want to write a script that takes a list of images and renumbers them
> > with a user supplied number. Here is a solution I came up while noodling
> > around
14 matches
Mail list logo