split string into multi-character "letters"

2010-08-25 Thread Jed
'letter' of the Spanish alphabet. I think this could be done with a regular expression passing the list called "alphabet" to re.match() for example, but I'm not sure how to use the contents of a whole list as a search string in a regular expression, or if it's even possible. My real application is a bit more complex than the Spanish alphabet so I'm looking for a fairly general solution. Thanks, Jed -- http://mail.python.org/mailman/listinfo/python-list

Problem running Python 3.5.2 on school network PC

2016-12-15 Thread Jed Mack
ems. We have no one here who is familiar with Python. Do you have any additional information on this error, and suggestions for fixing it? We have a teacher who needs this program on Windows 10 PCs for students to use beginning January 3. Thanks, Jed Mack -- https://mail.python.org/mailman/listinfo/python-list

Re: Problem running Python 3.5.2 on school network PC

2016-12-19 Thread Jed Mack
software. Once the camera was uninstalled, Python 3.5.2 worked just fine. Thanks again! On Thu, Dec 15, 2016 at 11:11 AM, Jed Mack wrote: > We are having a problem running Python 3.5.2 on Windows 10 x64 computers, > which are members of a school network. > > > > The progra

Re: Fwd: I am giving up perl because of assholes on clpm -- switching to Python

2007-07-26 Thread jed drury
Hey, Perl's new motto is "There is more than 1 way to be an ASSHOLE!" Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_

ldap usage

2006-03-28 Thread Jed Parsons
hrough an ssl tunnel or something? Thanks for any tips. Cheers! j -- Jed Parsons Industrial Light + Magic (415) 746-2974 grep(do{for(ord){(!$_&&print"$s\n")||(($O+=(($_-1)%6+1)and grep(vec($s,$O++,1)=1,1..int(($_-6*6-1)/6}},(split(//, "++,++2-27,280

RE: ldap usage

2006-03-28 Thread Jed Parsons
ginal Message- From: [EMAIL PROTECTED] on behalf of Jed Parsons Sent: Tue 3/28/2006 5:55 PM To: python-list@python.org Subject: ldap usage Hi,   authenticates a user against our ldap server.: User types in name and password, and module sees if name and password check out right with the ldap serve

Re: ldap usage

2006-03-29 Thread Jed Parsons
ed me to. Thanks again. Cheers! j Michael Ströder wrote: > Jed Parsons wrote: >> import ldap >> l = ldap.open('our.ldap.server') >> try: >> l.bind_s(username, password, ldap.AUTH_SIMPLE) >> authenticated = True >> exc

Re: ldap usage

2006-03-30 Thread Jed Parsons
y favorite books or sites where I can learn more about ldap? Many thanks, j Michael Ströder wrote: > Jed Parsons wrote: >> As an addendum, I discovered one little gotcha, namely that this: >> >> l.bind_s(username, password, ldap.AUTH_SIMPLE) >> >> throws

logging producing redundant entries

2006-03-30 Thread Jed Parsons
g? Log snippet: 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Log

Re: logging producing redundant entries

2006-03-31 Thread Jed Parsons
ger except NameError: _logger = logging.getLogger('login') etc... Thanks again for any suggestions. I'm pretty well baffled. j Peter Otten wrote: > Jed Parsons wrote: > >> I'm using the logging module for the first time. I'm using it from >&

Re: logging producing redundant entries

2006-03-31 Thread Jed Parsons
le doesn't cause the number to increase. It's a good thing for Zope to reload modules when you touch them, but I didn't anticipate that this would be a side-effect. Thanks again for your help. Cheers, j Kent Johnson wrote: > Jed Parsons wrote: >> Thanks, Peter and alex23,

Re: [Python-ideas] [Python-Dev] Inclusive Range

2010-10-08 Thread Jed Smith
L[0] into the reversed slice. > > > >>>> L = [1, 2, 3, 4, 5] >>>> L[5:-6:-1] > [5, 4, 3, 2, 1] >>> a = [1, 2, 3, 4, 5, 6] >>> a[::-1] [6, 5, 4, 3, 2, 1] -- Jed Smith j...@jedsmith.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Can't find pythonwin

2010-10-10 Thread Jed Smith
"Pythonwin", this might be of use: http://docs.python.org/faq/windows#how-do-i-run-a-python-program-under-windows -- Jed Smith j...@jedsmith.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Missing modules for python

2010-10-11 Thread Jed Smith
Message', > 'email.Utils', 'simplejson', 'socks'] > > I am using Python  2.6 simplejson got merged into the standard library in Python 2.6. In libcloud, I wrote this: try: import json except ImportError, excp: import simplejson as json Is

Re: Can't find pythonwin

2010-10-11 Thread Jed Smith
On Mon, Oct 11, 2010 at 3:46 AM, Dennis Lee Bieber wrote: > On Sun, 10 Oct 2010 20:33:09 -0400, Jed Smith > declaimed the following in gmane.comp.python.general: > >> >> As far as I know, Pythonwin is a collection of extensions to Python >> that are available

Re: Standardizing RPython - it's time.

2010-10-11 Thread Jed Smith
On Mon, Oct 11, 2010 at 4:01 PM, John Nagle wrote: > file:///C:/Users/nagle/AppData/Local/Temp/shedskin-tutorial-0.3.html This gives me a 404. Your Web server is broken! Fix it! ;) Temporarily mirrored: http://jedsmith.org/tmp/shedskin-tutorial-0.5.html -- Jed Smith j...@jedsmith.

Re: Python deadlocks when Popen in multithread.

2010-10-11 Thread Jed Smith
ou directly call worker(), does it succeed? I suspect the threading is a red herring here. -- Jed Smith j...@jedsmith.org -- http://mail.python.org/mailman/listinfo/python-list

Re: help!!!

2010-10-11 Thread Jed Smith
On Mon, Oct 11, 2010 at 5:02 PM, Seebs wrote: > and something like scanf(), where I've never heard of a compiler doing > anything of the sort. By default, MSVC complains hard enough when using scanf() to make you regret it (I think? been a while). -- Jed Smith j...@jedsmith.o

Re: Missing modules for python

2010-10-12 Thread Jed Smith
On Mon, Oct 11, 2010 at 7:02 PM, Steven D'Aprano wrote: > On Mon, 11 Oct 2010 10:32:44 -0400, Jed Smith wrote: > >> simplejson got merged into the standard library in Python 2.6. In >> libcloud, I wrote this: >> >>   try: import json >>   except Imp

Re: Python default search paths

2010-10-19 Thread Jed Smith
t operate just like this. [1]: http://docs.python.org/library/sys.html -- Jed Smith j...@jedsmith.org -- http://mail.python.org/mailman/listinfo/python-list

Re: annoying CL echo in interactive python / ipython

2010-10-19 Thread Jed Smith
On Tue, Oct 19, 2010 at 1:37 PM, kj wrote: > % stty -echo That doesn't do what you think it does. -- Jed Smith j...@jedsmith.org -- http://mail.python.org/mailman/listinfo/python-list

Re: annoying CL echo in interactive python / ipython

2010-10-19 Thread Jed Smith
On Tue, Oct 19, 2010 at 2:35 PM, kj wrote: > In Jed Smith > writes: > >>On Tue, Oct 19, 2010 at 1:37 PM, kj wrote: > >>> % stty -echo > >>That doesn't do what you think it does. > > Gee, thanks.  That really helped.  I'll go talk to my

Re: annoying CL echo in interactive python / ipython

2010-10-19 Thread Jed Smith
On Tue, Oct 19, 2010 at 3:33 PM, Hrvoje Niksic wrote: > Jed Smith writes: > >>>     echo (-echo) >>>                 Echo back (do not echo back) every character typed. >> >> I'm going to guess that the percent sign in your prompt indicates that &

Re: What people are using to access this mailing list

2010-11-03 Thread Jed Smith
y good at creating filters. For example, on most lists (particularly Mailman), I can hit "Filter messages like this", and Gmail automatically harvests the List header and writes a filter for it. I just prefer the Gmail philosophy to mail, with tags that are *like* folders but not really.