Axaptapedia is now maintained by AgileCadence For more information please click here.

Export All Sources

From Axaptapedia
Jump to: navigation, search

download (17K)

This is a small project to export all sources to the directory in file system for later search.

For example, you can use Google Desktop Search for fast search through sources

Here is an example of results:


Gds.png


I am using the following python script to rename xpos to .txt

 import os
 for root, dirs, files in os.walk(r'D:\0\sources'):
     for f in (f for f in files if f.endswith('.xpo')):
         print f
         os.rename(os.path.join(root, f), os.path.join(root, f+'.txt'))