renamed: python2 -> python.

pull/1/head
Yusuke Shinyama 2013-10-17 23:05:27 +09:00
parent 6ad82e355c
commit 0ea08890d4
34 changed files with 34 additions and 34 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
__version__ = '20110515'
if __name__ == '__main__': print __version__

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
""" Python implementation of Arcfour encryption algorithm.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
""" Python implementation of ASCII85/ASCIIHex decoder (Adobe version).

2
pdfminer/ccitt.py Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# CCITT Fax decoder
#
# Bugs: uncompressed mode untested.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
""" Adobe character mapping (CMap) support.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
from pdfdevice import PDFDevice, PDFTextDevice
from pdffont import PDFUnicodeNotDefined

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import re
from psparser import PSLiteral

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
""" Font metrics for the Adobe core 14 fonts.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
""" Mappings from Adobe glyph names to Unicode characters.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import cStringIO
import logging
import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
""" Standard encoding tables used in PDF.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
from utils import INF, Plane, get_bound, uniq, csort, fsplit
from utils import bbox2str, matrix2str, apply_matrix_pt

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
try:
from cStringIO import StringIO

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
from psparser import LIT

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
from utils import mult_matrix, translate_matrix
from utils import enc, bbox2str

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import re
import struct

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import struct
try:

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import re
try:

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
from psparser import LIT, KWD, STRICT
from pdftypes import PDFObjectNotFound

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
try:
from cStringIO import StringIO

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import zlib
from lzw import lzwdecode

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import re
from utils import choplist

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
""" Python implementation of Rijndael encryption algorithm.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#
# RunLength decoder (Adobe version) implementation based on PDF Reference
# version 1.4 section 3.3.4.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
"""
Miscellaneous Routines.
"""

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
from distutils.core import setup
from pdfminer import __version__

2
tools/conv_afm.py Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import fileinput

2
tools/conv_cmap.py Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import cPickle as pickle

2
tools/conv_glyphlist.py Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
import fileinput

2
tools/dumppdf.py Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#
# dumppdf.py - dump pdf contents in XML format.
#

2
tools/latin2ascii.py Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#
# latin2ascii.py - converts latin1 characters into ascii.
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
from pdfminer.pdfdocument import PDFDocument
from pdfminer.pdfparser import PDFParser

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import sys
def prof_main(argv):

2
tools/runapp.py Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
##
## WebApp class runner
##