Re: what am I missing (syntax error)

2006-03-05 Thread orangeDinosaur
OK, thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: what am I missing (syntax error)

2006-03-05 Thread Jorge Godoy
"orangeDinosaur" <[EMAIL PROTECTED]> writes: > Here's a section of code: > > for x in occupants: > if x not in uniqueUsers and not in staff: > uniqueUsers.append(x) > elif x in staff and not in uniqueStaff: > uniqueStaff.append(x) > > When I try to im

Re: what am I missing (syntax error)

2006-03-05 Thread Gerard Flanagan
orangeDinosaur wrote: > Here's a section of code: > > for x in occupants: > if x not in uniqueUsers and not in staff: > uniqueUsers.append(x) > elif x in staff and not in uniqueStaff: > uniqueStaff.append(x) > > When I try to import the module with th

Re: what am I missing (syntax error)

2006-03-05 Thread Alex Martelli
orangeDinosaur <[EMAIL PROTECTED]> wrote: > Here's a section of code: > > for x in occupants: > if x not in uniqueUsers and not in staff: uniqueUsers.append(x) > elif x in staff and not in uniqueStaff: uniqueStaff.append(x) > > When I try to import the module with the function definition th

Re: what am I missing (syntax error)

2006-03-05 Thread James Thiele
Try: for x in occupants: if x not in uniqueUsers and x not in staff: uniqueUsers.append(x) elif x in staff and x not in uniqueStaff: uniqueStaff.append(x) -- http://mail.python.org/mailman/listinfo/python-list

what am I missing (syntax error)

2006-03-05 Thread orangeDinosaur
Here's a section of code: for x in occupants: if x not in uniqueUsers and not in staff: uniqueUsers.append(x) elif x in staff and not in uniqueStaff: uniqueStaff.append(x) When I try to import the module with the function definition that contains