File: filebug.py

package info (click to toggle)
pydb 1.19-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,952 kB
  • ctags: 1,412
  • sloc: python: 3,065; perl: 2,479; sh: 586; makefile: 555; lisp: 265; ansic: 16
file content (6 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
#!/usr/bin/python
import os
# Make sure __file__ is defined
# http://groups.google.com/group/comp.lang.python/browse_frm/thread/cf2a718a50f9bb52/fb754e84298513db
print "__file__: %s" % os.path.basename(__file__)