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 November 18th, 2004, 04:46 AM
ah new ah new is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 40 ah new User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 h 1 m 21 sec
Reputation Power: 5
running .exe in py IDE

hello guys..
i been convert a file (test.py) to exe file (test.exe) by using py2exe..
i know i can run / call the exe file from command prompt, but i wish to run it in python IDE..
can anyone give me some ideas?

i'm using win XP Pro + PythonWin 2.3

thanks...

Reply With Quote
  #2  
Old November 18th, 2004, 09:17 AM
MBirchmeier's Avatar
MBirchmeier MBirchmeier is offline
I <3 ASCII
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Wishing i was still at... The Ohio State University
Posts: 2,272 MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level)MBirchmeier User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 4 h 12 m 48 sec
Reputation Power: 838
Send a message via AIM to MBirchmeier Send a message via Yahoo to MBirchmeier
Are you sure you can run the .exe in the IDE and not just the python code that created the exe?

-MBirchmeier
__________________
My blog on programming related things. Hopefully I won't bog it down with details on my life

Apparently even computers have freudian slips.

0x4279 7465 204D 6521

Reply With Quote
  #3  
Old November 18th, 2004, 06:11 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,536 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 11 m 13 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
Hate to say it, but other than invoking exe form command line using the system() or popen() functions you can't; IDLE just doesn't offer you that feature as far as I'm aware .
__________________
programming language development: www.netytan.com Hula


Reply With Quote
  #4  
Old November 18th, 2004, 08:52 PM
ah new ah new is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 40 ah new User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 h 1 m 21 sec
Reputation Power: 5
it means that the only thiog i can do is call the .exe in py code?

Reply With Quote
  #5  
Old November 18th, 2004, 08:53 PM
ah new ah new is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 40 ah new User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 h 1 m 21 sec
Reputation Power: 5
it means that the only thing i can do is call the .exe in py code?

Reply With Quote
  #6  
Old November 19th, 2004, 03:45 AM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,536 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 11 m 13 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
Yes, since the IDLE GUI doesn't offer a way of starting exes the only way to invoke one is though the Python shell which IDLE wraps itself around. If you want to run the exe then just launch the command line/shell/terminal and type the path to the exe. Or, double click the exe if your using a windows machine.

Reply With Quote
  #7  
Old November 21st, 2004, 08:01 PM
ah new ah new is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 40 ah new User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 h 1 m 21 sec
Reputation Power: 5
thank you...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > running .exe in py IDE


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 5 hosted by Hostway
Stay green...Green IT