Quotes help make search much faster. Example: "Practice Makes Perfect"

Monday, October 28, 2013

#Python #Codecademy File Input/Output The open() Function


# Sample Solution

my_file = open("output.txt","r+")

2 comments:

  1. Traceback (most recent call last):
    File "python", line 1, in
    IOError: [Errno 2] No such file or directory: 'output.txt'

    ReplyDelete
  2. my_file = open('output.txt', "r+") should work just fine

    ReplyDelete


This is an example of scrolling text using Javascript.

Popular Posts