Commit Graph

12 Commits

Author SHA1 Message Date
Andrew Murray
269b50e7a8 Fixed bug where player script was skipping the first image 2017-09-17 13:36:32 +10:00
Andrew Murray
8cd70e74cc Set executable flag on scripts with shebang line 2017-03-31 19:43:19 +11:00
Andrew Murray
51f5a0123c Fixed scripts import of tkinter/Tkinter 2017-03-24 19:42:58 +11:00
Andrew Murray
f9a99652e4 Replaced KeyError catch with dictionary get method 2017-02-25 13:49:05 +11:00
Antony Lee
4e754e9c55 Use logging instead of print.
cf. #1191.

Only TiffImagePlugin and OLEFileIO still rely on (their own) DEBUG flag.
I left TiffImagePlugin as it is because I hope #1059 gets merged in
first, and OLEFileIO because it uses its own logic.

Untested, as usual.
2015-06-29 12:39:50 -07:00
Andrew Murray
86be744d1f Various Flake8 Scripts fixes 2015-04-24 09:41:33 +10:00
hugovk
c261674980 Remove obsolete Animated Raster Graphics support 2014-06-27 15:58:12 +03:00
Michał Górny
1a977c859a Add proper shebangs to all Python scripts. 2013-04-21 08:38:36 +02:00
Brian Crowell
31c454b925 py3k: 2to3's "idiom" filter
This is, I guess, a few things the Python devs were just fed up with.

* "while 1" is now "while True"
* Types are compared with isinstance instead of ==
* Sort a list in one go with sorted()

My own twist is to also replace type('') with str, type(()) with tuple,
type([]) with list, type(1) with int, and type(5000.0) with float.
2013-01-10 08:46:53 -06:00
Brian Crowell
dda0e9a3ed py3k: Tkinter module is now tkinter 2013-01-10 08:46:51 -06:00
Brian Crowell
5076c35cc5 py3k: print is a function
Seriously, if you didn't know that, you've been in a freaking cave, man.
2013-01-10 08:46:46 -06:00
Alex Clark
9a640e3157 Forking PIL 2010-07-30 22:52:47 -04:00