472,374 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 software developers and data experts.

Re: IDLE issue

En Wed, 20 Aug 2008 04:56:32 -0300, aditya shukla
<ad**************@gmail.comescribi�:
I found something interesting while working in idle.I have windows vista
and
python2.5

if i do
import subprocess
proc
=subprocess.Popen('cmd.exe',stdin=subprocess.PIPE, stdout=subprocess.PIPE)
output = proc.communicate('dir\n')[0]
print repr(output)

This dosen't work in idle
Works fine for me, using Windows XP
If you're pasting those lines directly over the shell window, beware of
this bug: http://bugs.python.org/issue3559

--
Gabriel Genellina

Aug 20 '08 #1
0 762

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: M Wells | last post by:
Hi all, I recently downloaded and installed Python 2.3 for Windows (on XP professional) and I don't seem to be able to run IDLE from my start menu? It seems something happens when I click on it...
0
by: Paul M | last post by:
Pythoneers, IDLE doesn't use the ps2 prompt ("..." in the command line interpreter) because it supports multiline editing. This issue has been discussed before, for example see Guido's...
2
by: george | last post by:
Newbie question. Installed Python 2.4 successfully. However, double clicking on the IDLE icon activates the hour glass cursor and then dies. The IDLE window does not come up. I am sure it is...
3
by: p.kosina | last post by:
Can I somehow in config-main.cfg set how big shall (and where) open the IDLE window? Cause in my w98 it is always opening so that I can not see the bottom line.... Thank you Pavel
8
by: Jonathan Polley | last post by:
I have one account on a WindowsXP machine that refuses to run IDLE (or any other python script that uses Tk). Other people can login to that PC and IDLE runs just fine, so it is not an...
6
by: MrBlueSky | last post by:
Hi, I'm trying to use IDLE to develop My First Python App and my head hurts... I've a file called spalvi.py with this in it: from Test import * firstTest("Mike") And a file called Test.py...
3
by: James Stroud | last post by:
Hello, I decided that the ultimate python IDE would basically be a vim editor with a hotkey or button that ran the currently edited module as "__main__", allowing gui (tkinter, wx) windows to...
3
by: writser | last post by:
hey all, For my study I'm writing a simple threaded webcrawler and I am trying to do this in python. But somehow, using threads causes IDLE to crash on Windows XP (with the latest python...
3
by: rocco.rossi | last post by:
I'm using IDLE for my Python programming. I can't seem to solve one issue though. Whenever I try to indent a region of code, I simply select it and hit the tab key, as I usually do in most...
2
by: v4vijayakumar | last post by:
When you press 'home' button cursor goes before >>prompt. This is little uncomfortable. I am using Idle 1.2.2. (python 2.5.2.)
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.