Results 1 to 2 of 2

Thread: ถ้าจะให้ python เรียก application ขึ้นมาทำยังไง

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    5


    จะต้องเขียนยังไงให้มันสามารถเรียก application ขึ้นมาได้อ่ะคะ อ่าสมมติว่าเราขียน x.py เราทำให้มันเป็น x.exe ด้วย py2exe แล้วพอเราเขียน y.py ขึ้นมาอีกอันหนึ่งต้องการให้เมื่อรัน จะต้องเรียก x.exe หรือ อะไรก็แล้วแต่ขึ้นมาร่วมด้วย ต้องเขียนยังไงอ่ะคะ

  2. #2
    Junior Member
    Join Date
    Apr 2006
    Location
    Thailand
    Posts
    15


    ถ้าเป็น code .py นะครับ ใช้ >>>execfile("c:\\temp\\mycode.py") ครับ เคยลองแล้วครับแต่ถ้าเป็นพวก .exe นี้ไม่แน่ใจครับ(อ้างอิงจากหนังสือของคุณ nprotech ครับ)

Similar Threads

  1. Replies: 0
    Last Post: 03-11-2009, 01:50 PM
  2. suse เรียก YaST โดยไม่ต้องแปลงเป็น root
    By sniperthai.ubuntu in forum Linux, Unix , Window เกี่ยวกับ OS ต่างๆ
    Replies: 0
    Last Post: 19-08-2009, 12:47 AM
  3. Replies: 0
    Last Post: 11-04-2008, 02:01 AM
  4. Replies: 5
    Last Post: 16-03-2007, 04:22 AM
  5. SSL Application with VC++
    By newsbot in forum C/C++,C#,VC++,MFC,Win32
    Replies: 1
    Last Post: 26-11-2004, 01:38 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •