PyScripter v5.2.3 released

66 views
Skip to first unread message

PyScripter

unread,
May 10, 2025, 8:13:39 AM5/10/25
to PyScripter
See the blog post.

jf...@ms4.hinet.net

unread,
May 11, 2025, 7:25:14 PM5/11/25
to PyScripter
I tried a script in PyScripter-5.2.3-x86.zip and got strange dot displayed in input field when enter characters. Also tried in version 4.11, the same result.
My environment is Windows 10, Python 3.8 32bit.
pythoninput.PNG

PyScripter 在 2025年5月11日 星期日凌晨12:13:39 [UTC+12] 的信中寫道:
See the blog post.

PyScripter

unread,
May 11, 2025, 7:33:16 PM5/11/25
to PyScripter
I cannot reproduce it here:


Screenshot 2025-05-12 022823.png

What is your input command?

If the first character of a prompt has a value less than 32, the input will be masked.  For example with:

input("\tPlease Enter your name:")

the input will be masked.

jf...@ms4.hinet.net

unread,
May 11, 2025, 7:47:42 PM5/11/25
to PyScripter
The input command is "go".

PyScripter 在 2025年5月12日 星期一上午11:33:16 [UTC+12] 的信中寫道:

PyScripter

unread,
May 11, 2025, 7:52:46 PM5/11/25
to PyScripter
I don't understand.

if say in the Python interpreter you enter:

>>> input("go") go

you get:

Screenshot 2025-05-12 025052.png

not what you showed in your picture.  What is the python command that produces the dialog with masked input?

jf...@ms4.hinet.net

unread,
May 11, 2025, 8:13:06 PM5/11/25
to PyScripter
This command is for my script. Although I can't see it, but actually the script receives and responds correctly

PyScripter 在 2025年5月12日 星期一上午11:52:46 [UTC+12] 的信中寫道:

PyScripter

unread,
May 11, 2025, 8:15:29 PM5/11/25
to PyScripter
Yes it is in your script.   But what is this command that produces the masked dialog you showed.  Can't you show it here?

PyScripter

unread,
May 11, 2025, 8:19:46 PM5/11/25
to PyScripter
As I said earlier:
input(">")  should work as expected but
input("\t>") would mask the characters (you can use this for password entry)

jf...@ms4.hinet.net

unread,
May 11, 2025, 11:09:17 PM5/11/25
to PyScripter
It's my fault. I use "\n>" as the prompt, so masking the characters.
Now the problem was solved. Thank you.

PyScripter 在 2025年5月12日 星期一中午12:19:46 [UTC+12] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages