Skip to content

Commit e8798bc

Browse files
authored
removing conflicts
1 parent e950f97 commit e8798bc

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

source/ch8_filehandling.ptx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,7 @@
489489
<p>
490490
And that's it! We will add our code to the foundational code for a complete program. First, an example of equivalent Python code:
491491
</p>
492-
<<<<<<< HEAD
493492
<datafile label="my-file-8-4-4" filename="myfile.txt" xml:id= "my-file-8-4-4" editable="yes">
494-
=======
495-
<datafile label="my-file-8-4-4" filename="newfile.txt" xml:id= "my-file-8-4-4" editable="yes" include-source="yes">
496-
>>>>>>> 0633649 (fixes file not found errors in 8.4)
497493
<pre>
498494

499495
</pre>
@@ -514,16 +510,12 @@
514510
<p>
515511
The completed Java code:
516512
</p>
517-
<<<<<<< HEAD
518513
<datafile label="my-file-8-4-5" filename="myfile.txt" xml:id= "my-file-8-4-5" editable="yes">
519514
<pre>
520515

521516
</pre>
522517
</datafile>
523518
<program xml:id="file-write-exp5" interactive="activecode" language="java" add-files = "my-file-8-4-5">
524-
=======
525-
<program interactive="activecode" language="java">
526-
>>>>>>> 0633649 (fixes file not found errors in 8.4)
527519
<code>
528520
import java.io.FileWriter;
529521
import java.io.IOException;
@@ -565,17 +557,12 @@
565557
<p>
566558
Now, when we use <c>write()</c> method like before, the text will be appended if there is already text in the document. If we were to update our code to include the boolean argument:
567559
</p>
568-
<<<<<<< HEAD
569560
<datafile label="my-file-8-4-6" filename="myfile.txt" xml:id= "my-file-8-4-6" editable="yes">
570561
<pre>
571562

572563
</pre>
573564
</datafile>
574565
<program xml:id="file-write-exp6" interactive="activecode" language="java" add-files = "my-file-8-4-6">
575-
=======
576-
577-
<program interactive="activecode" language="java">
578-
>>>>>>> 0633649 (fixes file not found errors in 8.4)
579566
<code>
580567
import java.io.FileWriter;
581568
import java.io.IOException;
@@ -801,4 +788,4 @@
801788
</reading-questions>
802789
</section>
803790

804-
</chapter>
791+
</chapter>

0 commit comments

Comments
 (0)