Question
Hello World Become familiar with RePy. This assignment is meant to help you become familiar with RePy, how to run RePy programs and understand the
"Hello World"
Become familiar with RePy.
This assignment is meant to help you become familiar with RePy, how to run RePy programs and understand the basic functionality of RePy. This will be helpful for when you start Part 1 and 2 of the main lab assignments.
In this assignment we are going to work with an existing text file that contains Sarah Josepha Hale's poem 'Mary had a little lamb'. We will be reading the file, outputting specific characters from the file, changing a word in the file, and appending to the file.
Open up the ISBUbuntu VM and navigate to the RUNNABLE folder within repy_v2 (awesomestudent@awesomestudent-ISP:~/repy_v2/RUNNABLE$ ). There is a file there called story.txt, open it and take a read. When done, close the file.
aw Recent Starred Home Desktop Documents Downloads Music Pictures B Videos Trash + Other Locations Name Home Desktop story.txt e strace.py etab_completer.py tcprelayaffix.r2py tcp_relay_common_lib.r2py tcp_time.r2py testfile.txt testfile.txt.b e testportfiller.py e textops.py time.r2py time_interface.r2py e tracebackrepy.py =udpcentralizedadvertise.r2py uniqueid.r2py urllib.r2py urlparse.r2py e virtual_namespace.py win_cpu_nanny.py RUNNABLE e windows_api.py Open 1 Mary had a little lamb, 2 Its fleece was white as snow; 3 And everywhere that Mary went story.txt -/Desktop/RUNNABLE 4 The lamb was sure to go. 5 It followed her to school one day, 6 which was against the rule; 7 It made the children laugh and play 8 To see a lamb at school. 9 And so the teacher turned it out, 10 But still it lingered near, 11 And watted patiently about 12 Till Mary did appear. 13 Why does the lamb love Mary so? 14 The eager children cry; 15 Why, Mary loves the lamb, you know, 16 The teacher did reply. Plain Text - a Tab Width: 8 88 Size 7.6 kB 9.4 kB Save = Modified Star 22 Sep 2020 22 Sep 2020 Ln 9, Col 34 INS "story.txt" selected (459 bytes)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Sure lets walk through filling in the placeholders and understanding the functionality of the given script 1 Open the file The placeholder P should be ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started