Jump to content

Python make.py command problem


Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Try this:

 

#!/usr/local/bin/python
import os
os.system('rm -rf object')
for line in file('quest_list'):
	if os.system('./qc ' + line):
		print 'Error occured on compile ' + line
		import sys
		sys.exit(-1)

for line in file('quest_list'):

If you have not quest_list, like locale_list, hongkong_list, so edit what you have.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.