S
S
Sasha Tsikhun2021-01-06 22:13:32
Python
Sasha Tsikhun, 2021-01-06 22:13:32

How not to read information from QlineEdit that starts with space(s)?

The problem is that I can enter spaces in the field, but logically, this should not be so: I have
5ff60b78f33ba580100894.png
already set that empty lines cannot be entered ... I still have to deal with spaces .. (isdigit() does not work ..)
5ff60ac9643e1170470158.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wispik, 2021-01-06
@realalex

strip()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question