Hi there.
I'm a long-time lurker and (I think) first time poster.
Only relatively new to python, and I'm trying to get pysqlite to work
with binary data, and having a tough time of it.
I want to set up a table with:
- a URL,
- some filenames related to that URL,
- and some simple generated HTML.
Excellent. Got that working. Now, how to get the pickled data out of
the database?
I'm trying to use cPickle.loads(data) (code attached), and I get a:
"TypeError: loads() argument 1 must be string, not list"
Is there a workaround for this? I've tried converting the List of files
to a String befor
Woohoo!
You rock, Gerhard. That's inspired. I'm sure I can sort this out now.
Both you and Tim have been an enormous help.
Cheers, Al.
(Oh, and Tim: tip noted. I feel bad about not posting complete code- I
do normally (not in python), but can't for this one. Thanks for wading
your way through it
Hi all.
Just having a weird problem with tkinter. I'm trying to make a gui that
shows results from an image search, with a "forward" and "back" button
so the user can compare results from different pages. All that's
working fine...
The problem I'm having is that the images don't show onscreen the
Yup,
That's the problem. Can't thank you enough.
I'd read about Tkinter "garbage collection", but, like car crashes and
lung cancer, you never think it's going to happen to you...
thanks once again.
Cheers, Al.
Fredrik Lundh wrote:
> [EMAIL PROTECTED] wrote:
>
> > Just having a weird problem with
And I say once again: I can't thank you enough.
YOU ROCK!
cheers, al.
(Just changed the code in my main program, and it WORKS! The previous
thankyou was only a preliminary.)
ps I really like python, too. :)
[EMAIL PROTECTED] wrote:
> Yup,
> That's the problem. Can't thank you enough.
> I'd read
Hi there: a bit of a left-field question, I think.
I'm writing a program that analyses image files downloaded with a basic
crawler, and it's slow, mainly because I only want to analyse files
within a certain size range, and I'm having to download all the files
on the page, open them, get their size
Thanks Josiah
I thought as much... Still, it'll help me immensely to cut the
downloads from a page to only those that are within a file-size range,
even if this gets me some images that are out-of-spec dimensionally.
Cheers, Al.
(Oh, and if anyone still has a bright idea about how to get image
d