| | |
Adress book
![]() |
well the simplest version for unique is to use a set where you would incorporate both of them in a set making sure the new information is first like:
although having thought of that it would be better to use
so that you will overwrite it, but you can still read it
python Syntax (Toggle Plain Text)
mydata = ['hello', 'test', 'change'] mynewdata = ['hello', 'test', 'change'] myset = set(mynewdata, mydata)
python Syntax (Toggle Plain Text)
file = open('filename', 'r+')
don't judge me because I'm a year 8!
'it is better to fight for something than to live for nothing'General George S Patton
'it is better to fight for something than to live for nothing'General George S Patton
![]() |
Similar Threads
- ideas for project.. (C)
- Virtual Address Book Help (Python)
- address book won't open (OS X)
- writitng data from php to mysql (PHP)
- Beginner.........Books (MySQL)
- IE6 has been constantly hijacked by .... (Viruses, Spyware and other Nasties)
- Motorola T720 synching phone book (Cellphones, PDAs and Handheld Devices)
- Book Reviews (Geeks' Lounge)
- Error in Wrox Book (Perl)
Other Threads in the Python Forum
- Previous Thread: wxPython Error
- Next Thread: Help updating images and texts
| Thread Tools | Search this Thread |
abrupt accessdenied advanced ansi anti apache application approximation argv array backend beginner binary builtin calculator change command converter countpasswordentry csv curved dan08 def dictionary edit event file float format function google heads homework inches input jaunty java keyboard lapse library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric obexftp output parameters parsing path phonebook pointer prime programming py2exe pygame pyopengl python random recursion redirect remote return reverse scrolledtext session software sprite statictext statistics string strings syntax terminal text thread threading time tlapse tuple twoup ubuntu unicode unit urllib urllib2 variable voip wordgame write wxpython






