[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
AI Challenge Forums • View topic - What is the command to run Python MyBot?

It is currently Thu Jan 18, 2018 7:38 pm Advanced search

What is the command to run Python MyBot?

Code won't compile? Found a bug? Post here!

What is the command to run Python MyBot?

Postby mitchb » Tue Sep 07, 2010 2:18 pm

What is the command to run the Python MyBot.py in the Python starter pack instead of the Java one?

This runs the Java MyBot:

java -jar tools/PlayGame.jar maps/map7.txt 1000 1000 log.txt "java
MyBot" "java -jar example_bots/RandomBot.jar" | java -jar tools/ShowGame.jar
mitchb
Cadet
 
Posts: 2
Joined: Tue Sep 07, 2010 2:14 pm

Re: What is the command to run Python MyBot?

Postby vikhyat » Tue Sep 07, 2010 2:28 pm

User avatar
vikhyat
Cadet
 
Posts: 9
Joined: Tue Feb 09, 2010 10:57 am

Re: What is the command to run Python MyBot?

Postby mitchb » Tue Sep 07, 2010 2:35 pm

Yes, it does. Thanks. I had tried "python MyBot" instead of "python MyBot.py".
mitchb
Cadet
 
Posts: 2
Joined: Tue Sep 07, 2010 2:14 pm


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron