python-idle tag

7 questions


2 answers
392 views
0
SyntaxError Occurs in the Program as Written in the Book

I've read it over and over again, but I can't help but get an error even though they're all the same programs.import pygame aspg,syspg.init()screen=pg.display.set_mode(800,600))while True: screen.fill...

2 years ago

1 answers
498 views
0
Python IDLE cannot save

Python cannot save.I can't do the save command even if I do save and save as on the IDLE screen.There are no error messages.Is there any reason?I've been fighting for more than 10 hours without knowin...

2 years ago

1 answers
91 views
0
I don't know which blank is wrong.

This screen is the Python 3 interaction shell screen, but when I try to break the line after typing else: at the bottom, I get an image-like error for some reason.What's wrong?SyntaxError: inconsisten...

2 years ago

1 answers
78 views
0
Understanding the Differences Between VScode and IDLE Editing Methods

This is my first time to ask you a question because I have never experienced programming or this site.I'm sorry if there is any rude way or content in the writing.Questions to ask: Programming languag...


1 answers
81 views
0
BeautifulSoup4 Cannot Import

If you enter the following code in IDLE, an error? will be displayed.Could you tell me the solution? from bs4 import BeautifulSoupsoup = BeautifulSoup(html.centent, html.parser)Error?Traceback (most r...


2 answers
87 views
0
Running Run Module on Python IDLE results in invalid synctax

This is a rudimentary question.When you first type Hello World! and run the module, it becomes invalid syntax, and then the middle 7 of 3.7.3 is painted red.How can I solve this?I can't move on.Supple...

2 years ago

1 answers
155 views
0
Unable to import BeautifulSoup4.

from bs4 import BeautifulSoup running on IDLE(3.7.0)shell displays the following error:Traceback (most recent call last): File C:\Users\Desktop\python Script\test\scraper.py, line 2, in <module>...


© 2024 OneMinuteCode. All rights reserved.