| | |
Saving input data to a .txt file
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2008
Posts: 18
Reputation:
Solved Threads: 0
well, after the help i have had already tonight, i thought i might come ask another issue i am having with saving the file with the .txt extention.
i can save each file as the car model first name for each entry, however it wont put the .txt extention on the end. it just saves it as the file name and i have to choose to open with notepad.
my code is
thanks for the help!!
i can save each file as the car model first name for each entry, however it wont put the .txt extention on the end. it just saves it as the file name and i have to choose to open with notepad.
my code is
Python Syntax (Toggle Plain Text)
text_file = open(car_model, "w")
thanks for the help!!
Last edited by JA5ONS; Jun 4th, 2008 at 11:33 am.
![]() |
Similar Threads
- data c++ (C++)
- dynamically update pages (HTML and CSS)
- problem in javascript coding in asp page (ASP)
- can anyone of u help me for this program (C++)
- Noob : Input Stream Trouble (Java)
- Bubble sort & File output jibrish errors??? (C)
- Having problems saving objects into an array, then accessing the data later for repo (Java)
- Perl/CGI (Saving Data) Part III (Computer Science)
- How to delete a data structure in Builder 6.0? (C++)
Other Threads in the Python Forum
- Previous Thread: font properties in python
- Next Thread: Total newbie, please help with python classes
| Thread Tools | Search this Thread |
Tag cloud for Python
ansi assignment avogadro backend beginner binary bluetooth character cmd code copy customdialog cx-freeze data decimals dictionary directory drive dynamic error examples excel exe file float format function gnu graphics gui heads homework http ideas import input java leftmouse line linux list lists logging loop module mouse number numbers output parsing path pointer port prime program programming progressbar projects push py2exe pygame pyglet pyqt python random recursion refresh schedule script scrolledtext sqlite statistics stdout string strings sudokusolver sum table terminal text thread threading time tkinter tlapse tricks tuple tutorial ubuntu unicode update urllib urllib2 variable ventrilo wikipedia windows write wxpython xlib






