Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

101 bytes added, 06:49, 5 September 2017
PART 2 - Writing To Files
There is a danger involved in this next section, when opening files for writing, Python assumes content in the file is no longer wanted and it's immediately deleted. If the file contents are important, append to the file instead.
:'''Perform the Following Steps:'''
 
<blockquote style="margin-left:35px;">{{Admon/caution|style="padding-left:25px"|x|Ex}}</blockquote>
::#To start, open the ipython3 shell:<source lang="python">
ipython3
13,420
edits