"Frank Millman" wrote on 2018-12-18 in message news:...
I want to compare two tuples. They each represent a row in a database, and
each element represents a column, so I will use that terminology.
I need to know if one row is greater than or less than the other. The sort
sequence can be com
Hi,
Thank you all for your replies. After the first reply (about indentation) I
submitted a similar question on Stack Overflow, and I found out there that
a similar question has been asked before and I saw the answer there. The
indentation looks better on Stack Overflow than in email messages,
sor
אורי wrote:
> Why does this not work:
>
> class User(ValidateUserPasswordMixin, PermissionsMixin, Entity,
> AbstractBaseUser):
> GENDER_VALID_VALUES = [choice[0] for choice in GENDER_CHOICES]
> GENDERS_DICT = {GENDER_FEMALE: GENDER_FEMALE_STRING, GENDER_MALE:
> ALL_GENDERS = [GENDER
On 12/25/18, אורי wrote:
>
> ALL_GENDERS = [GENDERS_DICT[gender] for gender in GENDER_VALID_VALUES]
>
> (it throws an exception: `NameError: name 'GENDERS_DICT' is not defined`)
Python 3 comprehensions have their own scope. This prevents the side
effect of defining the comprehension's loop variab
אורי,
Your indentation did not make it through. So the first thing to guess is what
you are asking python to do.
It is often good to not just supply the code but point out what you are trying
to do as well as explain the small difference you made in your code that made
it work so we can zoom i
Biovarase has been updated to version 4.2
Biovarase is an application to manage clinical quality control data.
The purpose of Quality Control Assurance in a clinical laboratory is to allow
the control of the performances of an analytical procedure showing an alarm as
soon as the trial doesn't r
On 12/25/2018 7:45 AM, אורי wrote:
Why does this not work:
class User(ValidateUserPasswordMixin, PermissionsMixin, Entity,
AbstractBaseUser):
GENDER_UNKNOWN = 0
> ...
Indent needed here. I presume you used tabs, which disappeared in
transmission, but I cannot cut and paste to run this.
-
>> And as far as I know pkg-config is used by python's configure script
>> so everything should be fine. I also set
>> LD_LIBRARY_PATH=/home/fetch/opt/lib:/home/fetch/opt/lib64 and also
>> C_INCLUDE_PATH=/home/fetch/opt/include
>
> I looked into this a little. I found that setting C_INCLUDE_PATH as
Why does this not work:
class User(ValidateUserPasswordMixin, PermissionsMixin, Entity,
AbstractBaseUser):
GENDER_UNKNOWN = 0
GENDER_FEMALE = 1
GENDER_MALE = 2
GENDER_OTHER = 3
GENDER_MAX_VALUE_PLUS_ONE = 4
GENDER_FEMALE_STRING = 'female'
GENDER_MALE_STRING = 'male'
GENDER_OTHER_STRING = 'other'