Re: getting a thread out of sleep

2007-02-21 Thread Steve Holden
placid wrote: > On Feb 22, 12:08 pm, mark <[EMAIL PROTECTED]> wrote: >> On 21 Feb 2007 16:10:51 -0800, placid <[EMAIL PROTECTED]> wrote: >> >>> On Feb 22, 10:20 am, mark <[EMAIL PROTECTED]> wrote: On 21 Feb 2007 14:47:50 -0800, placid <[EMAIL PROTECTED]> wrote: > On Feb 22, 3:23 am, mark <

Re: Convert to binary and convert back to strings

2007-02-21 Thread Ganesan Rajagopal
> "Harlin" == Harlin Seritt <[EMAIL PROTECTED]> writes: > I tried doing this: > text = 'supercalifragilisticexpialidocius' > open('sambleb.conf', 'wb').write(text) > Afterwards, I was able to successfully open the file with a text > editor and it showed: > 'supercalifragilisticexpialidocius

Re: Convert to binary and convert back to strings

2007-02-21 Thread Grant Edwards
On 2007-02-22, Ganesan Rajagopal <[EMAIL PROTECTED]> wrote: >> I am hoping to have it show up some weird un-readable text. >> And then of course be able to convert it right back to a >> string. Is this even possible? > > Looks like you just want to obfuscate the string. How about > this? > > impor

Re: Convert to binary and convert back to strings

2007-02-21 Thread Ganesan Rajagopal
> Grant Edwards <[EMAIL PROTECTED]> writes: >> print base64.decodestring(open('sambleb.conf', 'r').read()) > It'll only remain obfuscated for about 30 seconds after even a > mildly curious user looks at the file. It depends on the requirement. If the intention is to just to discourage someon

Looking for contract developer(s) - where can I find them?

2007-02-21 Thread rscottco
Hi, I've just sent a job listing to python.org, but am also trying to proactively find python developers through other means. python.org and guru.com notwithstanding, most job-sites to seem only support people/organizations looking for full/part-time employment or with full-time/part-time positio

Looking for contract developer(s) - where can I find them?

2007-02-21 Thread Scott SA
Hi, I've just sent a job listing to python.org and posted this message on comp.lang.python, but am also trying to proactively find python developers through other means. python.org and guru.com notwithstanding, most job-sites to seem only support people/organizations looking for full/part-time e

Re: Looking for contract developer(s) - where can I find them?

2007-02-21 Thread rscottco
On Feb 21, 9:51 pm, Scott SA <[EMAIL PROTECTED]> wrote: > > I've just sent a job listing to python.org and posted this message on > comp.lang.python, Interesting, so Python-list@python.org and comp.lang.python are _related_. I guess that means I'm the new guy on the block. Well I guess this joke i

Re: Question about classes and possible closure.

2007-02-21 Thread James Stroud
Steven W. Orr wrote: > This is all an intro learning experience for me, so please feel free to > explain why what I'm trying to do is not a good idea. > > In the Cookbook, they have a recipe for how to create global constants. > > - > class _const: > class ConstError(TypeErro

Re: Pep 3105: the end of print?

2007-02-21 Thread Peter Mayne
Steven D'Aprano wrote: > On Tue, 20 Feb 2007 00:44:24 +, Peter mayne wrote: > >> Steven D'Aprano wrote: >>> If Python 3 dropped the print >>> statement and replaced it with official_print_function(), how would that >>> help you in your goal to have a single code base that will run on both >>>

Re: Question about classes and possible closure.

2007-02-21 Thread James Stroud
James Stroud wrote: > Steven W. Orr wrote: > >> This is all an intro learning experience for me, so please feel free >> to explain why what I'm trying to do is not a good idea. >> >> In the Cookbook, they have a recipe for how to create global constants. >> >> - >> class _const: >

Re: Convert to binary and convert back to strings

2007-02-21 Thread Hendrik van Rooyen
"Harlin Seritt" <[EMAIL PROTECTED]> wrote: > Hi... > > I would like to take a string like 'supercalifragilisticexpialidocius' > and write it to a file in binary forms -- this way a user cannot read > the string in case they were try to open in something like ascii text > editor. I'd also like t

Weekly Python Patch/Bug Summary

2007-02-21 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 408 open ( -9) / 3585 closed (+20) / 3993 total (+11) Bugs: 968 open ( +8) / 6505 closed ( +7) / 7473 total (+15) RFE : 267 open ( +1) / 251 closed ( +0) / 518 total ( +1) New / Reopened Patches __ Handle re

<    1   2