Did but sameRight Click the file
select Openwith
then Select python IDLE
What happens when you open the Python IDLE first and then open the file with the IDLE? (Without double clicking the file)Did but same
IDLE ekakk daganin yko! ub hithuwada computers kalu sinhalayo wage kammali un kiylI saved my python project as a py file. When i trying to open if flashes then disappear. How to fix
I use PyCharm and Sublime TextIDLE ekakk daganin yko! ub hithuwada computers kalu sinhalayo wage kammali un kiyl
send the code
------ Post added on May 8, 2023 at 1:59 PMāļ⎠āļ¸āˇāļ§āˇāļ§āˇ āļāˇāļŠāˇ āļāļ
āļāˇāļŠāˇ āļāļ āļąāˇāļāˇāˇ āļ āļ´āˇ āļāˇāˇāˇāļ¸āļ¯ āļŠāˇāļļāļ⎠āļāļģāļąāˇāļąāˇ
bit strange,Something like this
I saved it on Desktop as 88.py
it opened then asked me to Enter something. But after entering some text it suddenly disappeared without printing the text that I entered
user_input = input("Enter something: ")
print("You entered:", user_input)
------ Post added on May 8, 2023 at 1:59 PM
Windows 10bit strange,
what is the OS ?
user_input = input("Enter something: ")
print("You entered:", user_input)
user_input = input("Enter something: ")
print("You entered:", user_input)
input()
It works. Thank you so muchāļ¸āļ¸ āļ´āļēāˇāļāļąāˇ āļāļģāļŊ⎠āļąāˇ āļ¸āļ§ āˇāˇāļāˇāļą āˇāˇāļ¯āˇāļēāļ§ āļāļāļą āˇāˇāļąāˇāˇ āļāļāˇāļ⎠output āļāļ āļ´āˇâāļģāˇāļąāˇāļ§āˇ āļāļģāļ´āˇ āļāļ¸āļąāˇāļ¸ āˇāˇāļąāˇāļŠāˇ āļāļ āļāˇāļŊāˇāˇāˇ āˇāˇāļąāˇāˇ. āļāˇāļŠāˇ āļāļ⎠āļ āļąāˇāļāˇāļ¸āļ§ input() āļ¯āˇāļŊ⎠āļļāļŊāļąāˇāļą:
Python:user_input = input("Enter something: ") print("You entered:", user_input) input()
https://stackoverflow.com/questions/1000900/how-to-keep-a-python-script-output-window-open