python-idle Questions
11
Solved
Does anyone know where or how to set the default path/directory on saving python scripts prior to running?
On a Mac it wants to save them in the top level ~/Documents directory. I would like to s...
Agitator asked 14/9, 2009 at 23:28
7
Solved
In the main shell of IDLE, errors always return a line number but the development environment doesn't even have line numbers. Is there anyway to turn on line numbers?
Fleurdelis asked 14/9, 2013 at 18:45
8
If you want to indent several lines in Python IDLE you just mark the lines and hit Tab. But what if you want to remove the indent from several lines? Shift+Tab does not work for that in IDLE.
Pitanga asked 26/4, 2009 at 11:53
9
Is there a configuration file where I can set its default working directory? It currently defaults to my home directory, but I want to set it to another directory when it starts. I know I can do "i...
Stilliform asked 12/3, 2013 at 17:11
9
Solved
I am new to PyCharm. I have been using IDLE for a long time.
It is very convenient to use Python objects after script execution in IDLE. Is there any way to use script objects after its execution w...
Genotype asked 12/10, 2013 at 1:49
2
Solved
I'm looking for the .idlerc folder containing the definitions for IDLE.
My setup is Python 2.7.8 + Windows 8.1
This folder contains the "config-highlight.cfg" file, crucial to apply new custom them...
Policewoman asked 12/4, 2015 at 15:14
0
With Python 3.7.1 (installed with Homebrew) on macOS Mojave 10.14.1, whenever I scroll using the trackpad while using IDLE for python scripting, the IDLE window crashes. So much as moving along the...
Mediatorial asked 30/11, 2018 at 0:27
2
Solved
I am a fresh python programmer. I started using VS Code because of its built-in terminal. (Before that I was using IDLE as an editor.)
My problem is, when I writing the code below in IDLE, all I n...
Portamento asked 22/5, 2018 at 22:3
2
Solved
I tried to launch IDLE from cygwin and I got the below error:
Traceback (most recent call last):
File "/usr/bin/idle", line 5, in <module>
main()
File "/usr/lib/python2.7/idlelib/PyShell....
Sakhuja asked 24/10, 2014 at 19:44
1
Solved
I want to run two or more different python scripts simultaneously in IDLE. I want to use IDLE directly, not terminal. I want to use all of them with Python 3.6. I'm on Mac 10.12. Can I do this?
Th...
Gensmer asked 17/9, 2018 at 16:54
10
Solved
I used to use Python 2.7 and then IDLE was working. I uninstalled it and installed Python 3.1.
Right now Idle cannot launch. What should i do to get it running?
NOTE:
I tried c:\Python31\pythonw.e...
Lushy asked 15/8, 2010 at 16:41
5
Solved
On bash or Window's Command Prompt, we can press the up arrow on keyboard to get the last command, and edit it, and press ENTER again to see the result.
But in Python's IDLE 2.6.5 or 3.1.2, it see...
Publication asked 28/6, 2010 at 12:20
6
Solved
I initially had Python 2.7, which often comes bundled with the OS (currently using Linux Mint 12). I wanted to try Python 3, so I installed it alongside Python 2. All is fine there, and I can run b...
Unplug asked 8/8, 2012 at 2:20
3
Solved
I have installed the Enthought Python distribution on my computer, but I don't have any idea how to use it. I have PyLab and IDLE but I want to run .py files by typing the following command:
pyt...
Cuyp asked 13/10, 2012 at 13:26
5
Solved
IDLE is being very dodgy as to when it will actually show an Auto-complete menu. As of late it hasn't been working at all, or, more specifically, only works during an interactive session.
I've be...
Dyslalia asked 1/2, 2012 at 1:22
3
Solved
I know that spaces are preferred over tabs in Python, so is there a way to easily convert tabs to spaces in IDLE or does it automatically do that?
Rohr asked 14/5, 2013 at 15:34
3
I am receiving the error
TypeError: 'filter' object is not subscriptable
When trying to run the following block of code
bonds_unique = {}
for bond in bonds_new:
if bond[0] < 0:
ghost_atom...
Forsooth asked 8/4, 2013 at 9:57
3
I have three .py files saved in the python shell/IDLE. I would like to commit and push them to my GitHub account/repo. Is this possible? and if so how?
Coercion asked 9/10, 2015 at 14:18
8
Solved
I have installed ActiveTcl8.6.1.1.297588-macosx10.5-i386-x86_64-threaded on my OS X 10.9.1 . However, when I launch IDLE by running idle3 from the terminal, the following warning shows in the IDLE ...
Valise asked 15/1, 2014 at 5:4
5
Solved
Just as the title says. I want to write a script that behaves differently depending on whether it's running inside a console window or in IDLE. Is there an object that exists only when running in I...
Logarithm asked 7/8, 2010 at 18:13
9
Solved
Python for Windows by default comes with IDLE, which is the barest-bones IDE I've ever encountered. For editing files, I'll stick to emacs, thank you very much.
However, I want to run programs in ...
Marthamarthe asked 15/1, 2009 at 4:1
11
Resolved April 15, 2013.
In windows 7 (64bit) windows explorer when I right clicked a Python file and selected "edit with IDLE" the editor opens properly but when I run (or f5) the Python 3.3.1 pr...
Beshrew asked 8/4, 2013 at 20:19
4
Solved
We are stuck in a situation where one of our processes is taking 3 hours of computing without touching the database. The connection that was taken before calling the process gets closed by the Orac...
Scudder asked 27/12, 2009 at 15:57
2
I am using Python for my Linear Algebra course for programming. For the tools we need, I am trying to install NumPy. I used this website to guide me through the installation process.
I started fro...
Celery asked 9/2, 2013 at 20:39
7
I'm in IDLE:
>>> import mymodule
>>> # ???
After importing a module with:
if __name__ == '__main__':
doStuff()
How do I actually call main from IDLE?
Romanist asked 29/5, 2010 at 16:52
© 2022 - 2024 — McMap. All rights reserved.