Python3 exec open (#907)

* update .gitignore

* #906 change all python execfile() to exec(open().read())
This commit is contained in:
Scott Fennell 2019-11-14 13:35:57 -06:00 committed by GitHub
parent 0b4806dfb1
commit 0d5aa45c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
100 changed files with 176 additions and 175 deletions

1
test/.gitignore vendored
View File

@ -23,3 +23,4 @@ T_main_*
trick trick
jitlib jitlib
build build
S_sie.json

View File

@ -1,5 +1,5 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,4 +1,4 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,5 +1,5 @@
execfile("Modified_data/group1.dr") exec(open("Modified_data/group1.dr").read())
execfile("Modified_data/group2.dr") exec(open("Modified_data/group2.dr").read())
execfile("Modified_data/group3.dr") exec(open("Modified_data/group3.dr").read())
execfile("Modified_data/group4.dr") exec(open("Modified_data/group4.dr").read())

View File

@ -1,5 +1,5 @@
execfile("Modified_data/data_record.py") exec(open("Modified_data/data_record.py").read())
trick.sim_services.exec_set_terminate_time(10.0) trick.sim_services.exec_set_terminate_time(10.0)

View File

@ -1,5 +1,5 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,7 +1,7 @@
execfile("Modified_data/dr_typesASCII.dr") exec(open("Modified_data/dr_typesASCII.dr").read())
execfile("Modified_data/dr_typesBINARY.dr") exec(open("Modified_data/dr_typesBINARY.dr").read())
execfile("Modified_data/dr_bitfASCII.dr") exec(open("Modified_data/dr_bitfASCII.dr").read())
execfile("Modified_data/dr_bitfBINARY.dr") exec(open("Modified_data/dr_bitfBINARY.dr").read())
trick_utest.unit_tests.enable() ; trick_utest.unit_tests.enable() ;
trick_utest.unit_tests.set_file_name( os.getenv("TRICK_HOME") + "/trick_test/SIM_test_dr.xml" ) ; trick_utest.unit_tests.set_file_name( os.getenv("TRICK_HOME") + "/trick_test/SIM_test_dr.xml" ) ;

View File

@ -1,2 +1,2 @@
execfile("Modified_data/next_level.py") exec(open("Modified_data/next_level.py").read())

View File

@ -1,6 +1,6 @@
#execfile("Modified_data/data_record.dr") #exec(open("Modified_data/data_record.dr").read())
#execfile("Modified_data/realtime.py") #exec(open("Modified_data/realtime.py").read())
my_integ_loop.getIntegrator(trick.Runge_Kutta_4, 2) my_integ_loop.getIntegrator(trick.Runge_Kutta_4, 2)
trick.sim_services.exec_set_terminate_time(300.0) trick.sim_services.exec_set_terminate_time(300.0)

View File

@ -1,5 +1,5 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
print '\nFinding number of CPUs...' print '\nFinding number of CPUs...'
os.system('cat /proc/cpuinfo | grep processor') os.system('cat /proc/cpuinfo | grep processor')

View File

@ -1,5 +1,5 @@
execfile("RUN_test/overrun.py") exec(open("RUN_test/overrun.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
#my_integ_loop.integ_sched.integ_ptr = trick.getIntegrator( trick.Runge_Kutta_2, 4, 1.0); #my_integ_loop.integ_sched.integ_ptr = trick.getIntegrator( trick.Runge_Kutta_2, 4, 1.0);
my_integ_loop.getIntegrator(trick.Runge_Kutta_2, 4) my_integ_loop.getIntegrator(trick.Runge_Kutta_2, 4)

View File

@ -1,5 +1,5 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,5 +1,5 @@
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
trick.sim_services.exec_set_terminate_time(300.0) trick.sim_services.exec_set_terminate_time(300.0)

View File

@ -1,7 +1,7 @@
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
execfile("Modified_data/graphics.py") exec(open("Modified_data/graphics.py").read())
trick.sim_services.exec_set_terminate_time(300.0) trick.sim_services.exec_set_terminate_time(300.0)

View File

@ -1,5 +1,5 @@
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
trick.sim_services.exec_set_terminate_time(300.0) trick.sim_services.exec_set_terminate_time(300.0)

View File

@ -1,5 +1,5 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,5 +1,5 @@
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
ball2.state.input.mass = trick.sim_services.attach_units("kg" , 10.0) ball2.state.input.mass = trick.sim_services.attach_units("kg" , 10.0)

View File

@ -1,5 +1,5 @@
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
execfile("Modified_data/graphics.py") exec(open("Modified_data/graphics.py").read())

View File

@ -1,6 +1,6 @@
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
ball.altimeter.input.add_noise = False ball.altimeter.input.add_noise = False
ball2.altimeter.input.add_noise = False ball2.altimeter.input.add_noise = False

View File

@ -1,4 +1,4 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,6 +1,6 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
execfile("Modified_data/amoeba.py") exec(open("Modified_data/amoeba.py").read())
trick.mc_set_enabled(1) trick.mc_set_enabled(1)
trick.mc_set_num_runs(70) trick.mc_set_num_runs(70)

View File

@ -6,7 +6,7 @@ if trick.mc_get_slave_id() == 0:
trick_utest.unit_tests.enable(); trick_utest.unit_tests.enable();
trick_utest.unit_tests.set_file_name( os.getenv("TRICK_HOME") + "/trick_test/SIM_amoeba.xml" ) trick_utest.unit_tests.set_file_name( os.getenv("TRICK_HOME") + "/trick_test/SIM_amoeba.xml" )
execfile("Modified_data/amoeba.py") exec(open("Modified_data/amoeba.py").read())
trick.mc_set_enabled(1) trick.mc_set_enabled(1)
#trick.mc_set_dry_run(1) #trick.mc_set_dry_run(1)

View File

@ -1,4 +1,4 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
dyn.baseball.pos[0] = 16.0 dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1 dyn.baseball.pos[1] = 0.1

View File

@ -1,4 +1,4 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
dyn.baseball.pos[0] = 16.0 dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1 dyn.baseball.pos[1] = 0.1

View File

@ -1,4 +1,4 @@
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
#========================================== #==========================================
# Start the display VarServer Client # Start the display VarServer Client

View File

@ -1,5 +1,5 @@
execfile("Modified_data/cannon.dr") exec(open("Modified_data/cannon.dr").read())
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
trick.exec_set_terminate_time(5.2) trick.exec_set_terminate_time(5.2)

View File

@ -1,5 +1,5 @@
execfile("Modified_data/cannon.dr") exec(open("Modified_data/cannon.dr").read())
dyn_integloop.getIntegrator(trick.Euler_Cromer, 4) dyn_integloop.getIntegrator(trick.Euler_Cromer, 4)
dyn_integloop.integ_sched.set_verbosity( 1) dyn_integloop.integ_sched.set_verbosity( 1)
trick.exec_set_terminate_time(5.2) trick.exec_set_terminate_time(5.2)

View File

@ -1,5 +1,5 @@
execfile("Modified_data/cannon.dr") exec(open("Modified_data/cannon.dr").read())
dyn_integloop.getIntegrator(trick.Euler_Cromer, 4) dyn_integloop.getIntegrator(trick.Euler_Cromer, 4)
#dyn.my_integ.set_verbosity( 1) #dyn.my_integ.set_verbosity( 1)
trick.exec_set_terminate_time(5.2) trick.exec_set_terminate_time(5.2)

View File

@ -1,4 +1,4 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
dyn.baseball.pos[0] = 16.0 dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1 dyn.baseball.pos[1] = 0.1

View File

@ -1,4 +1,4 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
dyn.baseball.pos[0] = 16.0 dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1 dyn.baseball.pos[1] = 0.1

View File

@ -1,4 +1,4 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
dyn.baseball.pos[0] = 16.0 dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1 dyn.baseball.pos[1] = 0.1

View File

@ -1,4 +1,4 @@
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
#========================================== #==========================================
# Start the Cannonball Graphics Client # Start the Cannonball Graphics Client

View File

@ -1,2 +1,2 @@
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
execfile("Modified_data/cannon.dr") exec(open("Modified_data/cannon.dr").read())

View File

@ -1,5 +1,5 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)

View File

@ -1,5 +1,5 @@
execfile("Modified_data/cannon_aero.dr") exec(open("Modified_data/cannon_aero.dr").read())
trick.mc_set_enabled(1) trick.mc_set_enabled(1)
#trick.mc_set_dry_run(1) #trick.mc_set_dry_run(1)

View File

@ -1,5 +1,5 @@
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
dyn.msd.b = 2*(2**(0.5)) dyn.msd.b = 2*(2**(0.5))

View File

@ -1,5 +1,5 @@
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
dyn.msd.b = 0 dyn.msd.b = 0

View File

@ -1,5 +1,5 @@
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
dyn.msd.b = 4*(2**(0.5)) - 1/2 dyn.msd.b = 4*(2**(0.5)) - 1/2

View File

@ -1,6 +1,6 @@
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
trick.var_debug(3) trick.var_debug(3)
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
#========================================== #==========================================
# Start the display VarServer Client # Start the display VarServer Client

View File

@ -1,5 +1,5 @@
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
dyn.msd.b = 0.5 dyn.msd.b = 0.5

View File

@ -1,5 +1,5 @@
execfile("Modified_data/parachutist.dr") exec(open("Modified_data/parachutist.dr").read())
trick.TMM_reduced_checkpoint(0) trick.TMM_reduced_checkpoint(0)
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 2) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 2)

View File

@ -1,4 +1,4 @@
execfile("Modified_data/Rocket.dr") exec(open("Modified_data/Rocket.dr").read())
#execfile("Modified_data/realtime.py") #exec(open("Modified_data/realtime.py").read())
trick.exec_set_terminate_time(20.0) trick.exec_set_terminate_time(20.0)

View File

@ -1,5 +1,5 @@
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
execfile("Modified_data/satellite.dr") exec(open("Modified_data/satellite.dr").read())
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)

View File

@ -1,7 +1,7 @@
import os import os
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
#execfile("Modified_data/Satellite.dr") #exec(open("Modified_data/Satellite.dr").read())
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 18) dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 18)

View File

@ -6,15 +6,15 @@ trick.add_external_application(simControlPanel)
RECORD_DATA = True RECORD_DATA = True
if RECORD_DATA: if RECORD_DATA:
execfile("Modified_data/helios.dr") exec(open("Modified_data/helios.dr").read())
REALTIME = False REALTIME = False
if REALTIME: if REALTIME:
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
JAPANESE = False JAPANESE = False
if JAPANESE: if JAPANESE:
execfile("Modified_data/Japanese_labels_alt.py") exec(open("Modified_data/Japanese_labels_alt.py").read())
STRIPCHART = False STRIPCHART = False
if STRIPCHART: if STRIPCHART:

View File

@ -6,15 +6,15 @@ trick.add_external_application(simControlPanel)
RECORD_DATA = True RECORD_DATA = True
if RECORD_DATA: if RECORD_DATA:
execfile("Modified_data/helios.dr") exec(open("Modified_data/helios.dr").read())
REALTIME = False REALTIME = False
if REALTIME: if REALTIME:
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
JAPANESE = False JAPANESE = False
if JAPANESE: if JAPANESE:
execfile("Modified_data/Japanese_labels_alt.py") exec(open("Modified_data/Japanese_labels_alt.py").read())
STRIPCHART = False STRIPCHART = False
if STRIPCHART: if STRIPCHART:

View File

@ -7,15 +7,15 @@ trick.add_external_application(simControlPanel)
RECORD_DATA = True RECORD_DATA = True
if RECORD_DATA: if RECORD_DATA:
execfile("Modified_data/helios.dr") exec(open("Modified_data/helios.dr").read())
REALTIME = True REALTIME = True
if REALTIME: if REALTIME:
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
JAPANESE = False JAPANESE = False
if JAPANESE: if JAPANESE:
execfile("Modified_data/Japanese_labels_alt.py") exec(open("Modified_data/Japanese_labels_alt.py").read())
STRIPCHART = False STRIPCHART = False
if STRIPCHART: if STRIPCHART:

View File

@ -1,4 +1,4 @@
execfile("RUN_test/input.py") exec(open("RUN_test/input.py").read())
# Disable real-time (if applicable) # Disable real-time (if applicable)
trick.real_time_disable() trick.real_time_disable()

View File

@ -1,5 +1,5 @@
execfile("Modified_data/realtime.py") exec(open("Modified_data/realtime.py").read())
execfile("Modified_data/vehicleState.dr") exec(open("Modified_data/vehicleState.dr").read())
trick.TMM_reduced_checkpoint(0) trick.TMM_reduced_checkpoint(0)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)

View File

@ -1,7 +1,7 @@
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
# execfile("Modified_data/auto_test.dr") # exec(open("Modified_data/auto_test.dr").read())
# execfile("Modified_data/data_record.dr") # exec(open("Modified_data/data_record.dr").read())
ball.state.input.print_off = 1 ball.state.input.print_off = 1

View File

@ -2,8 +2,8 @@
# $Id: input.py 1973 2011-10-11 15:11:16Z lin $ # $Id: input.py 1973 2011-10-11 15:11:16Z lin $
# This one of several ways to include files from the input file # This one of several ways to include files from the input file
execfile("Modified_data/auto_test.dr") exec(open("Modified_data/auto_test.dr").read())
execfile("Modified_data/data_record.dr") exec(open("Modified_data/data_record.dr").read())
# Set the freeze frame rate # Set the freeze frame rate
trick.exec_set_freeze_frame(0.10) trick.exec_set_freeze_frame(0.10)