~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to file-tools/cat-from.py

  • Committer: Matt Giuca
  • Date: 2009-04-22 03:46:05 UTC
  • Revision ID: matt.giuca@gmail.com-20090422034605-eirkdfz2g1dkl1xr
setup/install.py: Now compute python site-packages path using
    distutils.sysconfig.get_python_lib instead of doing it by hand.
    (More reliable as there is OS and distribution-specific code in there to
    calculate the path for us).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
 
import sys
4
 
 
5
 
if __name__ == "__main__":
6
 
    inf = open(sys.argv[1], "rb")
7
 
    sys.stdout.write(inf.read())
8
 
    inf.close()