Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Input box
Post: RE: Input box

Finally! After several days of frustrarion and trials, I finally got it to work. Not real proud of the code, however, it works.
Jpen10 GUI 7 5,041 Jan-27-2020, 04:02 PM
    Thread: Input box
Post: RE: Input box

Still can't get the 11 digits to run in the code. If I add a string of 11 numbers in line 23;"UPCNUM='96325932563' it works fine. And the 11 digits show If I enter 11 in the input box and press the "U...
Jpen10 GUI 7 5,041 Jan-01-2020, 05:37 PM
    Thread: Input box
Post: RE: Input box

I realize there is no input. That is the problem. The "while" on line 12 is commented out so the code runs. As of now, I enter the string on line 9. I would like a imput box to enter the 11 digits. Th...
Jpen10 GUI 7 5,041 Dec-30-2019, 09:56 PM
    Thread: Input box
Post: RE: Input box

The range 0 to 9 is to limit input to numbers and 11 digits. Since it is a string I have it as a comment. If I use =input () I get AN EOF Error. If I trap for the error I get the nontsubscritable erro...
Jpen10 GUI 7 5,041 Dec-29-2019, 08:43 PM
    Thread: Input box
Post: Input box

I'm not very good at programming with tkinter and kivy. To set on the old Basic, Q basic, GWBasic and VBasic for Excel and MSAccess. I've tried numerous times to make a input box for the 11 digit UPC ...
Jpen10 GUI 7 5,041 Dec-29-2019, 05:13 PM
    Thread: Meaning
Post: RE: Meaning

Thanks for the info. I've come to the conclusion that since I'm using Pydroid3 on my android tablet, much of the code I try doesn't execute correctly. I have Anaconda/Spyder on my windows 10 and have ...
Jpen10 GUI 2 27,472 Dec-23-2019, 08:05 PM
    Thread: Meaning
Post: Meaning

Since python is very confusing and much of the syntax is kicking my butt, what does "import tkinter as tk" and "root= tk.Tk()" mean?
Jpen10 GUI 2 27,472 Dec-23-2019, 03:43 PM
    Thread: Select single letters from string based on separate string
Post: RE: Select single letters from string based on sep...

Ibreeden, A couple of days ago I finally achieved a scanner readable label with win10,Spyder,Tkinter.
Jpen10 General Coding Help 3 2,674 Dec-15-2019, 01:21 PM
    Thread: Select single letters from string based on separate string
Post: RE: Select single letters from string based on sep...

I Breeden, Thank you very much. I have a font that is specific to UPCA. the bars are set for consecutive letters and a couple of symbols. The solution you provided gave me the necessary code to equate...
Jpen10 General Coding Help 3 2,674 Dec-11-2019, 01:04 AM
    Thread: Select single letters from string based on separate string
Post: Select single letters from string based on separat...

I've done this in Excel using the =Lookup({}) function, but have no clue how to in Python. String 1 (12 digits): 085236752048. String 2 (10 letters): @ABCDEFGHI. I need to select 5 letters from string...
Jpen10 General Coding Help 3 2,674 Dec-10-2019, 03:10 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020