On Tue, 2009-01-27 at 16:48 +0100, felix wrote:
>
> there is some hashing function or combination of URL encoding that can
> do this :
>
>
> given some parameters :
>
> 'music' 'artist' 32L 2L 100 100
> ( artist id 32, 2nd picture, dimensions 100 x 100 )
>
> I wish to generate a fake
P.S ,,, Never use index in name generation, or you will run out of range one
day ;) think of that nightmare in advance... i can only wish further
schlaf süß,
grüß
Puneet
On Tue, Jan 27, 2009 at 10:25 PM, felix wrote:
>
> ah, danke dir !
>
> that's exactly what I was
ah, danke dir !
that's exactly what I was looking for
full encodings here:
http://docs.python.org/library/codecs.html#standard-encodings
actually I guess in this case I would have a series of numbers;
[ content_type_id, object_id, index, width, height ]
rather than a string. I can figure that
I am assuming that you already have an idea of how your datastring will look
like, and what data it is containing... I am considering *"music artist 32L
2L 100 100"* as input data
so here is a example...
L1 = "music artist 32L 2L 100 100".encode("hex")
> L2 = zlib.compress(L1)
> L3 =
there is some hashing function or combination of URL encoding that can do
this :
given some parameters :
'music' 'artist' 32L 2L 100 100
( artist id 32, 2nd picture, dimensions 100 x 100 )
I wish to generate a fake filename eg:
tartan_ba6e5e06e794f1368ed3ec20b4594eec.png
and then be able to
5 matches
Mail list logo