python-idle Questions
2
To be able to use idle with my virtualenv python, I created an idle script
#!/myvirtualenv/python
from idlelib.PyShell import main
if __name__ == '__main__':
main()
in the bin/ of my virtualen...
Undemonstrative asked 3/5, 2011 at 17:22
3
Solved
Is there a way, within IDLE, to run the PyUnit (unittest module) unit tests directly?
I ask because I have a short test module and when I run it with python mymodule.py from the Cygwin shell I get...
Handmaiden asked 16/3, 2010 at 18:30
1
Solved
I need to use idle listener to listen the user is using the application or idle when the activity is alive.
I need to do something when the user is not using the application more than ten seconds.
...
Merited asked 2/12, 2011 at 7:2
2
Solved
I am trying to shell out to a non-python subprocess and allow it to inherit the stdin and stdout from python. - i am using subprocess.Popen
This would probably work if I am calling from a console,...
Intergrade asked 1/12, 2011 at 5:36
1
Solved
I'm currently using Notepad++ to edit my python script, and I would like to be able to use a shortcut to make my script run in IDLE. Currently, I have:
cd C:\Python32
pythonw.exe Lib\idlelib\idle....
Valeta asked 6/7, 2011 at 14:52
1
I'm new to python and I'm using Python's IDLE. Using numpy, I created a 24 x 24 matrix. I simply want to look at the matrix. I've maximized the shell on my monitor, so there's plenty of room to pri...
Chiang asked 14/10, 2011 at 16:24
1
Solved
For a standard Python Console window, you can remove the last line with for example sys.stdout.write('\r'+' '*len(line)) as I explained here.
But for editors like SciTe, Idle or Eclipse (with PyDe...
Pisarik asked 24/7, 2011 at 2:0
1
Solved
In an iOS enterprise app i need to implement an idle timeout. The application's idleTimerDisabled property is set to yes, that's not what I want.
It's a journal type of application for an e...
Gantz asked 29/8, 2011 at 16:34
1
I'm having one hell of a time with SWIG, due in part to the lack of good C++ examples to learn from. I finally got my first program to compile with SWIG, but am having troubles running it. Let me j...
Oller asked 5/8, 2011 at 17:45
1
Solved
I just installed python 2.6 on Mac OS X (Snow Leopard) and when I start IDLE it keeps quitting!
I removed all the installations of python by:
rm -rf /Library/Frameworks/Python.Framework
and then...
Amatol asked 21/7, 2011 at 19:24
2
Solved
KeyboardInterrupts in Idle work for me 90% of the time, but I was wondering why they don't always work. In Idle, if I do
import time
time.sleep(10)
and then attempt a KeyboardInterrupt using Ctr...
Noseband asked 6/7, 2011 at 15:28
1
Solved
Windows 7
As I'm learning Python (3.2) I prefer using IDLE than CMD.
In order to change the path where I can import scripts of my own, I use a little trick that I found in this site: I go FIL...
Hills asked 22/5, 2011 at 10:43
5
Solved
I would like to write a script to do an heavy network upload, in the background.
However, I would like it to pause when I am using my computer (either by detecting network activity or keyboard acti...
Unsay asked 6/5, 2011 at 16:40
2
Solved
I have downloaded a python file xxxxxx.py that is supposed to run on the command line by
typing: python xxxxxx.py filename1 filename2
and that should take these two files as arguments.
I was...
Observer asked 2/2, 2011 at 0:16
1
Solved
If I edit two modules, eggs and ham, and module eggs imports ham, how do I run module eggs such that IDLE stops at breakpoints set in ham? So far, I have only been able to get IDLE to recognize bre...
Shout asked 21/7, 2010 at 14:59
5
Is there any existing web app that lets multiple users work with an interactive IDLE type session at once?
Something like:
IDLE 2.6.4
Morgan: >>> letters = list("abcdefg")
Morgan: >&g...
Betrothal asked 23/5, 2010 at 20:51
2
Solved
I am trying to write a program that monitors an IMAP mailbox and automatically copies every new incoming message into an "Archive" folder. I'm using imaplib2 which implements the IDLE command. Here...
Confirmatory asked 12/1, 2010 at 6:12
2
Solved
IDLE is my favorite Python editor. It offers very nice and intuitive Python shell which is extremely useful for unit-testing and debugging, and a neat debugger.
However, code executed under IDLE is...
Revolutionize asked 6/2, 2010 at 9:58
2
Solved
I currently have a very simple app for which the only interaction is shaking the iPhone. However eventually the screen dims and auto-locks since the iPhone is not getting any touch events. I was wo...
Landseer asked 21/6, 2009 at 5:18
3
Solved
I know one can set the session timeout. But, if the application itself has received no requests for a given period of time, IIS shuts down the application.
This behavior is configurable in the IIS...
Untouchable asked 9/3, 2009 at 9:57
© 2022 - 2024 — McMap. All rights reserved.