Your email dated 24-Jun-2019 04:17 PM with Subject= "[wxPython-users] Digest for [hidden email] - 1
update in 1 topic" had a bad keyword (No keywords found; must have one of odict_keys(['Member', 'Employee', 'Vendor'])) in the Subject so cannot be processed by the Club MasterList system at the CCoSHA gatehouse, if that was your intent.
[This message was generated automatically by software. Do not reply to this message.]
I am moving on.
I cut away the dlg part and replaced it with some fixed values.
Everything works fine except that the bar code has been read 248 times and
there is no loop in the codes. It was entered only once. What went wrong?
On Thursday, 30 May 2019 17:01:31 UTC+8, d chung wrote:
> I cut away the dlg part and replaced it with some fixed values.
> Everything works fine except that the bar code has been read 248 times and there is no loop in the codes. It was entered only once. What went wrong?
You haven't shown us anything about a bar code, so we can't possibly address that. You did
I do want to point out that this line will never succeed:
if self.input != 0 and not self.input:
That says "if input 2 is not 0 and input 2 is 0." It can never be both. I can't guess what you really intended there.
I'm also concerned about these linesL
self.m1, self.t1 = '', ''
Is the "self.Language()" call going to modify the values of self.m1 and self.t1? If so, that's a very poor design, because you're relying on side effects. A person looking at your code would have no way to know that the function call is modifying other variables. If that's looking up a language translation, it would be much better to pass them as parameters:
m1, t1 = self.Language( '', '' )
Now it's absolutely clear what goes in, and what comes out.
Tim Roberts, [hidden email]
Providenza & Boekelheide, Inc.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].