base conversion
Joel Lucsy
jjlucsy at concentric.net
Fri Oct 6 15:38:13 EDT 2000
More information about the Python-list mailing list
Fri Oct 6 15:38:13 EDT 2000
- Previous message (by thread): base conversion
- Next message (by thread): base conversion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Yes, but standard compression routines like zlib or lzo don't work well on short sequences. I'd rather treat the string as a decimal rather than a string and simply (well, it seems simple) convert the base. Perhaps a different method would work, but my brain just doesn't want to descramble how to do it. ----- Original Message ----- From: "Allan M. Wind" <allanwind at mediaone.net> To: "Joel Lucsy" <jjlucsy at concentric.net> Cc: <python-list at python.org> Sent: Friday, October 06, 2000 3:28 PM Subject: Re: base conversion > On 2000-10-06 14:26:18, Joel Lucsy wrote: > > > Forgot to mention that I'd like the output to be considerably shorter than > > the original. I have already tried the base64 module. > > Perhaps, you want to compress the number rather than changing base? > > > /Allan > -- > Allan M. Wind email: allanwind at mediaone.net > P.O. Box 2022 finger: awind at digit-safe.dyndns.org (GPG/PGP) > Woburn, MA 01888-0022 icq: 44214251 > USA >
- Previous message (by thread): base conversion
- Next message (by thread): base conversion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list