Code:
x = open("file.txt", "w")
y = raw_input()
x.write(y)
x.close
x = open("file.txt", "r")
x.read
Python: Making a txt File And Adding Text To It
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Python: Making a txt File And Adding Text To It - by nevets04 - 10-15-2009, 08:47 PM
RE: Python: Making a txt File And Adding Text To It - by chinaman7x7 - 10-15-2009, 10:25 PM
RE: Python: Making a txt File And Adding Text To It - by Yoshi - 10-29-2009, 02:19 AM
RE: Python: Making a txt File And Adding Text To It - by Fallen - 10-31-2009, 08:27 AM
RE: Python: Making a txt File And Adding Text To It - by Nyx- - 11-04-2009, 11:50 PM
RE: Python: Making a txt File And Adding Text To It - by Elektrisk - 11-05-2009, 02:06 AM
RE: Python: Making a txt File And Adding Text To It - by nevets04 - 11-14-2009, 11:31 PM
RE: Python: Making a txt File And Adding Text To It - by Fallen - 11-16-2009, 03:43 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Python Help | Dεlluzion | 3 | 1,803 |
09-30-2019, 12:59 AM Last Post: samsmith001 |
|
Python to parse text file and get the count of items | magicjack89 | 0 | 653 |
06-28-2012, 10:01 AM Last Post: magicjack89 |
|
Simple Python Python Compiler | Canoris | 21 | 8,509 |
06-01-2011, 06:30 PM Last Post: Filefinder |
|
Python 2 vs 3? | Jake | 8 | 2,303 |
12-11-2010, 04:13 PM Last Post: Bursihido |
|
Any ebooks for Web Python like making BOF etc? | C!RCU!T tr0jAn ☠ | 4 | 1,277 |
05-12-2010, 02:11 PM Last Post: Julie |