Hey, I have one question though, how do you write on a txt file???

never mind I figured it out

s = """Sign in an Irish pub:
We are open from 10 a.m. until 11 p.m. 
and if you haven't had enough to drink 
at that hour the management feels that 
you haven't really been trying."""

fh = open("IrishSign.txt", "w")
fh.write(s)
fh.close()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.