A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://stackoverflow.com/questions/tagged/python-idle below:

Newest 'python-idle' Questions - Stack Overflow

Why does sklearn GaussianMixtures spawn a cmd window when run from IDLE?

When I run this code using IDLE in windows, it spawns a temporary cmd window that disappears shortly thereafter. import numpy as np import matplotlib.pyplot as plt from sklearn.mixture import ...

asked Jun 7 at 17:22

0 votes

2 answers

41 views

python -m idlelib Switch to specific py version

MultiProcessing doesn't correctly show results in IDLE's output window, but it does show in IntelliJ / commandPrompt's Output window. I'm trying to run: python -m idlelib But my environment variable ...

asked Feb 25 at 5:17

-1 votes

4 answers

131 views

Different outputs depending on different IDE used? [duplicate]

So I'm learning Python in a Coursera Google course, which provides instructional code inside a Jupyter notebook page. But in addition to the Jupyter page, I primarily use the IDLE Shell and scratchpad ...

asked Dec 4, 2024 at 20:35

0 votes

2 answers

43 views

VS code for Python does not show the contents of the variable after the codes are executed

I have a simple Python code written in VS code to print an array: import numpy as np # Importing the NumPy library # Creating a 1D array array_1d = np.array([1, 2, 3, 4, 5]) print("1D Array:&...

asked Dec 4, 2024 at 12:10

-1 votes

1 answer

1k views

restart:shell as output when trying to connect mysql with python [duplicate]

import mysql.connector mydb = mysql.connector.connect(host="localhost", user="root", password="123456") if mysql.connector.is_connected(): print("connected")...

asked Nov 10, 2024 at 19:40

1 vote

0 answers

106 views

Tkinter by python doesn't work in Visual Studio Code, only in IDLE

I am a beginner developer and I've been trying to code some basic tkinter shapes. When I run it in the pyhon-mage ide called IDLE, there is no problem. However, when I try to run it in Visual Studio ...

asked Jun 14, 2024 at 17:41

0 votes

0 answers

152 views

IDLE/Tkinter Error: no display name and no $DISPLAY environment variable

Traceback (most recent call last): File "/usr/bin/idle", line 5, in \<module\> main() File "/usr/lib/python3.10/idlelib/pyshell.py", line 1617, in main root = Tk(...

asked May 10, 2024 at 14:10

0 votes

1 answer

60 views

Why is code copied from IDLE always rejected?

I am unable to persuade this system to accept my question because it tells me that I should indent my code by 4 spaces. As far as I can tell it is all properly indented, as it runs properly within ...

asked May 6, 2024 at 8:15

0 votes

2 answers

173 views

Using cmd to run IDLE

I an unable to run Python IDLE using command prompt on windows 10 OS. C:\Windows\System32>IDLE 'IDLE' is not recognized as an internal or external command, operable program or batch file. C:\...

asked May 5, 2024 at 5:41

0 votes

1 answer

72 views

Import pandas not working, showing "RESTART: shell"

whenever im using import pandas as pd it isn't working other than that anything like import math module is working. it shows "RESTART: shell". i am unable to install any other IDE so i am ...

asked Apr 21, 2024 at 7:01

1 vote

0 answers

43 views

python code not working properly in python terminal but working in idle editor

I am using python to encrypt and decrypt stream ciphers. It works perfectly fine on the idle editor shell when I run it but I get messed up outputs when I try to run the code with the python terminal (...

asked Apr 15, 2024 at 9:01

0 votes

0 answers

241 views

Infinite Loops, Ctrl + C, and Python IDLE Shell

I'm very new to programming and am learning Python through Automate the Boring Stuff. I'm looking at While Loops and put the following into the file editor window: name = '' while name != 'your name': ...

asked Apr 9, 2024 at 5:28

0 votes

3 answers

419 views

How to change the menu font size in IDLE?

While I'm using Python's IDLE, the font size of menus and submenus is very small. In the editor window the font size is 14. On a large 4K monitor, working with files is fine but sometimes if I need to ...

asked Apr 1, 2024 at 17:15

1 vote

1 answer

621 views

Cannot wrap text in the new Python IDLE 3.12.2 on Windows

I am unable to wrap text in the script window in Python IDLE 3.12.2 . I saw the previous solutions of clicking on Configure IDLE and then clicking on the General Tab, but this does not exist anymore. ...

asked Mar 7, 2024 at 7:32

-2 votes

1 answer

407 views

idle won't start on macOS 11.7, python 3.12. says macOS 11 (1107) or later required, have instead 11 (1106)

The title says it: I did pip install idle, after upgrading pip. Now I get this: % idle macOS 11 (1107) or later required, have instead 11 (1106) ! zsh: abort idle My Mac About says: BigSur 11.7 ...

asked Feb 20, 2024 at 20:40

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4