Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 13th, 2004, 11:42 PM
WheresTheAnyKey WheresTheAnyKey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 17 WheresTheAnyKey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IDLE problem

My IDLE wont work. I went to the folder the actual IDLE program is stored, not the shortcut. And in the "file type" column for IDLE it says "Python File (no console)". I reinstalled Python, but IDLE still doesn't work. So I was wondering how to make IDLE have a console.

Reply With Quote
  #2  
Old August 14th, 2004, 04:20 AM
DevCoach DevCoach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: London, England
Posts: 1,224 DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 23 h 4 m 39 sec
Reputation Power: 263
Do you mean you tried running it and it didn't start, so you need a console to see any error messages?

The file that the shortcut runs is "idle.pyw". The .pyw extension means run without opening a command console. There is also an "idle.py" file in the same directory which should do what you want.
However I suggest that you open a command console in the directory and run either file from that - if you double click it then it will open the console, print the error message and then close it again before you can read it.

Dave - The Developers' Coach

Reply With Quote
  #3  
Old August 14th, 2004, 10:27 AM
WheresTheAnyKey WheresTheAnyKey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 17 WheresTheAnyKey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I mean that when I click IDLE.pyw it doesn't run. In the "File Type" column of "C:\Python23\Lib\idlelib" for Python.pyw it says "Python File (no console)". So I was wondering what it means by the Python File having "no console" and how i can fix this problem.

Reply With Quote
  #4  
Old August 14th, 2004, 01:35 PM
DevCoach DevCoach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2004
Location: London, England
Posts: 1,224 DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level)DevCoach User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 23 h 4 m 39 sec
Reputation Power: 263
The reason it says "Python File (no console)" is because it is a file with a .pyw extension. this is not normally a problem, since usually you do not want Idle to have a console. However if it is not starting up then you need to see the exceptions.

Please read my previous post again, it tells you how to run Idle with a console, so you can find out what exception is being thrown.

Dave - The Developers' Coach

Last edited by DevCoach : August 14th, 2004 at 01:37 PM.

Reply With Quote
  #5  
Old August 15th, 2004, 03:09 PM
WheresTheAnyKey WheresTheAnyKey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 17 WheresTheAnyKey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Command Prompt says that idle.py and idle.pyw aren't win32 applications, so I can't open it with that. So I right clicked idle.pyw and choose to open it with pythonw and it worked fine. And now when i open it normally it works. I don't know what happened becuase idle.pyw has always been set to open with pythonw. Thanks for your help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > IDLE problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT