| | |
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 |
Tag cloud for Python
abrupt ansi anti approximation assignment avogadro backend basic beginner binary bluetooth calculator character code customdialog decimals dictionaries dictionary drive dynamic examples excel exe file float format ftp function gnu graphics gui heads homework http ideas import input java launcher leftmouse line linux list lists loop module mouse number numbers output parsing path pointer port prime program programming progressbar projects py2exe pygame pyqt python random recursion recursive refresh schedule scrolledtext sqlite ssh statistics stdout string strings sudokusolver sum table terminal text thread threading time tkinter tlapse tricks tuple tutorial twoup ubuntu unicode update urllib urllib2 variable wikipedia windows write wxpython xlib






