python-idle Questions
2
Solved
I am using Python 3.3 through the IDLE. While running a code that looks like:
raise KeyError('This is a \n Line break')
it outputs:
Traceback (most recent call last):
File "test.py", line 4, i...
Widely asked 23/10, 2017 at 14:47
4
Solved
Is there a way to paste a block of code into IDLE? Pasting line by line works, but sometimes I'd like to paste many lines at once. When I try, IDLE reads the first line and ignores the rest.
>&g...
Cassiopeia asked 23/10, 2009 at 19:15
9
I am trying to import pyodbc module on a windows computer. It works in the terminal, but not the IDLE. The error message in IDLE is:
Traceback (most recent call last):
File "FilePath/Filename.py...
Teddie asked 27/7, 2015 at 19:31
2
I can't seem to figure out how to zoom in or anything, and the font is so small. Thank you for your help. I'm using a mac if that helps
Insulin asked 14/4, 2016 at 7:42
4
Solved
Is there a way to change background color of python-3.5 IDLE under windows 10?
I've tried google and reading docs, but i can't find the answer. I'm not sure it's even possible...
Antonia asked 11/10, 2015 at 11:25
9
Solved
I have a package that I installed from a virtual environment. If I just launch the python interpreter, that package can be imported just fine. However, if I launch Idle, that package cannot be impo...
Lacerated asked 7/2, 2011 at 17:1
2
Solved
I recently spent couple hours making tkinter and IDLE work on my pyenv Python installation (macOS).
Why you are here?
You manage Python versions with pyenv on macOS and
( You want IDLE - t...
Compensate asked 18/5, 2020 at 13:28
12
Solved
I am new to programming and i decided to learn Python first, so;
I installed Python, latest version 3.4. and I am trying to open Python IDLE(GUI) mode, so when I open I get message "IDLE's subproc...
Torry asked 10/4, 2015 at 17:10
6
I have the code below in a file called code.py. I am using IDLE to edit the file. When I click Run>Run Module I get the error:
"IDLE's subprocess didn't make connection. Either IDLE can't st...
Alkyne asked 20/6, 2014 at 11:30
12
Solved
I'm testing some python code that parses command line input. Is there a way to pass this input in through IDLE? Currently I'm saving in the IDLE editor and running from a command prompt.
I'm runni...
Phototube asked 27/1, 2010 at 17:33
6
I have searched for an answer to this but the related solutions seem to concern 'print'ing in the interpreter.
I am wondering if it is possible to print (physically on paper) python code in color ...
Westfalen asked 30/5, 2013 at 10:5
5
Solved
Using Python, I have to:
Divide a Test_Image and Reference_image into 5x5 blocks,
Compute a histogram for each block, and compare it with the same block in the other image.
For Example: image1(...
Chalcanthite asked 27/3, 2014 at 10:47
5
I am curious about running pip.
Everytime I ran pip in command shell in windows like that
c:\python27\script>pip install numpy
But, I wondered if I can run it in python idle.
import pip
pip....
Anstus asked 25/1, 2016 at 9:58
1
Solved
Edit : adding "import io" in iomenu.py fixed the problem indeed. Thanks a lot Terry!
Original:
Like the title said : I'm using IDLE (Windows) to write scripts in python, but it won't save...
Subaudition asked 20/7, 2020 at 16:57
4
Solved
Say that in the python shell (IDLE) I have defined some classes, functions, variables. Also created objects of the classes. Then I deleted some of the objects and created some others. At a later po...
Pulpboard asked 16/12, 2010 at 8:24
5
This is very easily a duplicate question--because it is. However, there are very many inadequate answers to this (e.g. try curses! -- pointing to a 26 page documentation).
I just want to print tex...
Nerissa asked 26/2, 2017 at 19:14
6
Solved
I have Python 2.x and 3.x on my machine (Mac OS X 10.6).
For some things I want to use ver 2, but for others I want ver 3. I like the IDLE software for editing/running, but it always uses version ...
Allegorical asked 23/1, 2011 at 20:39
2
Solved
I'm using multiple instances (idle/shell) of python and they both have the same title ('Python 3.8.1 Shell'). How I can change it directly from python shell?
Os Windows.
I tried, but this is not he...
Adalai asked 3/7, 2020 at 6:8
15
How do I run a python script from within the IDLE interactive shell?
The following throws an error:
>>> python helloworld.py
SyntaxError: invalid syntax
Frohman asked 22/6, 2013 at 5:3
11
A question from a beginner just starting with Tkinter. I downloaded it and wrote the tutorial Hello World program, and it ran fine in IDLE. However, when I saved the program and ran it using ...
Corundum asked 26/11, 2011 at 2:16
26
Solved
How do I repeat the last command? The usual keys: Up, Ctrl+Up, Alt-p don't work. They produce nonsensical characters.
(ve)[kakarukeys@localhost ve]$ python
Python 2.6.6 (r266:84292, Nov 15 2010, 2...
Slosh asked 27/11, 2010 at 3:9
3
I want to use numpy for a program I have to run and I want to do it in the IDLE IDE. I have installed the numpy binary from online, but when I try running "import numpy" and then some numpy command...
Manifestation asked 1/4, 2016 at 1:33
6
I have a tkinter script, which runs just fine in IDLE. However, when I double click the .py-file from Windows Explorer, the console window flashes half a second and then it exits.
I was able to sc...
Allure asked 29/11, 2011 at 23:5
3
I have been trying to use the cv2 library in python (in IDLE on raspberry pi 3) but I can't manage to import it successfully.
when I type import cv2, I get this:
Traceback (most recent call last)...
Dekaliter asked 4/11, 2018 at 2:14
2
Solved
When I run IDLE (python 3.8) :
>>> import os
>>> os.system("ls")
0
>>> os.system('echo "test"')
0
>>> os.system("users")
0
>>>
But if i do :
os.sy...
Bumboat asked 22/11, 2019 at 2:2
© 2022 - 2024 — McMap. All rights reserved.