| | |
Adress book
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
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 |
alarm assignment avogadro beginner bluetooth character cmd code customdialog cx-freeze data decimals dictionary directory dynamic error examples excel exe file float font format function generator gnu graphics gui halp homework http ideas import input itunes java leftmouse line linux list lists logging loop maintain maze module mouse number numbers output parsing path port prime programming projects push py2exe pygame pyglet pyqt python queue random recursion schedule screensaverloopinactive script scrolledtext slicenotation sqlite ssh stdout string strings sudokusolver table terminal text thread threading time tkinter tlapse tuple tutorial ubuntu unicode urllib urllib2 variable ventrilo verify vigenere web webservice wikipedia windows wxpython xlib






