Re: [Tutor] Best IDE for Python

2007-01-26 Thread Mark Thomas
On 1/26/07, OkaMthembo <[EMAIL PROTECTED]> wrote: > how useable is vim on Windows? Very! I've used Vim on Windows since the 5.3 version, it only gets better. Like Alan said there is a learning curve, but once you've "got it" there is no going back. > i wish i could learn Unix. which distro do you

Re: [Tutor] New Tutorial topic available

2006-02-26 Thread Mark Thomas
ormation for us newbies. -- _ ( ) Mark Thomas ASCII ribbon campaign X www.theswamp.org - against HTML email / \ ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] How to strip both single and double quotes

2005-10-05 Thread Mark Thomas
\" \' ()*&^%$# << ' >>> [x.strip('\' \" () * & ^ % $ # < ') for x in str.split()] ['this', 'has', 'special', 'characters', '', '', '', ''] -- _ ( ) Mark Thomas ASCII ribbon campaign X www.theswamp.org - against HTML email / \ ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] (no subject)

2005-07-06 Thread Mark Thomas
On 7/6/05, Michael Huster <[EMAIL PROTECTED]> wrote: > In python under windows, how can I create and access a file on the Desktop? > The following do NOT work: How about... >>> userp = os.getenv('USERPROFILE') + '\\Desktop\\MyFile.txt' >>> fo =

Re: [Tutor] Simple string processing problem

2005-05-13 Thread Mark Thomas
GAAATTGCAAATTAACTGTG ScerACCACGTCCAATCTACCGATATTGCTGCTATGCATTATAA SparACCACGTCCAATCTACCGATATTGCTGCTATGCATTATAA SmikACCACGTCCAATCTACCGATATTGCTGCTATGCATTATAA SbayACCACGTCCAATCTACCGATATTGCTGCTATGCATTATAA -- _ ( ) Mark Thomas ASCII ribb

Re: [Tutor] Cryptography Toolkit

2005-04-01 Thread Mark Thomas
ncrypt > > xored = obj_xor.encrypt(str_encrypt) > print xored > > obj_xor = XOR.new("string") > print obj_xor.decrypt(xored) > > Kent Excellent !! Many thanks Kent. -- _ ( ) Mark Thomas ASCII ribbon campaign X www.theswamp.org - against HTML email / \ ___

Re: [Tutor] Cryptography Toolkit

2005-03-31 Thread Mark Thomas
t;bhxupds&oo`g'uou`z`" <== *confused by this output* Close but no cigar!! *grin* -- _ ( ) Mark Thomas ASCII ribbon campaign X www.theswamp.org - against HTML email / \ ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Cryptography Toolkit

2005-03-31 Thread Mark Thomas
Does anyone have some examples on the use of A.M. Kuchling's Python Cryptography Toolkit? I've tried his examples but get "AttributeError" and "TypeError". What I'm trying to do is encrypt/decrypt a file. I'm using Python 2.3 on xp pro. Thanks -- _ ( )