From a6eeff930f436d499c7ff64e784896383e2203cc Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Thu, 26 May 2022 13:46:49 -0500 Subject: [PATCH] update execfile to py3 in tutorial --- docs/tutorial/ATutRunningRealtime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/ATutRunningRealtime.md b/docs/tutorial/ATutRunningRealtime.md index 89cc9453..3e58960b 100644 --- a/docs/tutorial/ATutRunningRealtime.md +++ b/docs/tutorial/ATutRunningRealtime.md @@ -62,8 +62,8 @@ The `realtime.py` file must be included in the RUN_test/input.py file. When finished, the latest version of the input file should look like the following: ```python -execfile("Modified_data/realtime.py") -execfile("Modified_data/cannon.dr") +exec(open("Modified_data/realtime.py").read()) +exec(open("Modified_data/cannon.dr").read()) trick.stop(5.2) ```