![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Aug 2007
Posts: 11
Rep Power: 0
![]() |
Problem with file input
Well, I recently got back into Yu-Gi-Oh cards (the show sucks, but the game is actually fun) as just another way to pass time. Anyway, it gave me the idea to write a Yu-Gi-Oh TCG game in Python. Just command line to start with, maybe with graphics later. My problem is, I want to use text files as databases to hold card information so that I can easily add new cards, but I can't think of a good way to input the file in Python and then make it so that each card adheres to a certain class, and is treated a a separate instance (unless there is a better way). How would I go about doing this?
Many thanks in advance. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem processing file into a char array | csrocker101 | C++ | 1 | May 8th, 2007 11:50 PM |
| OnlineTextEditor.Com! | Sane | Show Off Your Open Source Projects | 43 | Jun 16th, 2006 8:55 AM |
| Problem read'ing from file and user input | jmsilver | Bash / Shell Scripting | 3 | May 20th, 2005 2:35 PM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 9:04 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |