Skip to content

Instantly share code, notes, and snippets.

@Nalisarc
Created October 17, 2012 05:02
Show Gist options
  • Save Nalisarc/3903792 to your computer and use it in GitHub Desktop.
Save Nalisarc/3903792 to your computer and use it in GitHub Desktop.
Import Function\Input Output tests
import inputfun
import outputfun
outputfun.writeot()
inputfun.readin()
def readin():
io = open("outputtest.txt","r")
read = io.read()
print read
def writeot():
io = open("outputtest.txt", "a")
write = raw_input('Input Random Text Here: ')
s = str(write + '\n')
io.write(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment