Avoid Duplicates when Creating Text File - Python for Integrated Circuits - - An Online Book - |
||||||||
Python for Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= Avoid duplicates when creating text file: ============================================ Appends a string to the end of a file only if it's not already a line in the file. Code:
============================================
|
||||||||
================================================================================= | ||||||||
|
||||||||