free software resistance
the cost of computing freedom is eternal vigilance
### quietpygame.fig
*original date:* dec 2018
*originally posted:* oct 2024
quietpygame.fig:
```
#### license: creative commons cc0 1.0 (public domain)
#### http://creativecommons.org/publicdomain/zero/1.0/
proginf = "quiet the noisy pygame init 0.1, dec 2018 mn"
progdesc = "comments the two print(' strings in pygames __init__.py"
osname ""
python
osname = figosname
fig
ifequal osname "nt"
sep 92 chr "/"
filelist "dir c:" plus sep plus "__init__.py /b /a /s" arrshell
forin p filelist
pl p lcase
filepath sep plus "pygame" plus sep plus "__init__.py"
fw arr mid 1 0 plus "python2" plus "site-packages" plus filepath
count 0
forin each fw
now instr pl each sgn plus count
count now
next
ifmore count 2
try
contents arropen p
src p open "w"
forin each contents
tr each left 7
ifequal tr "print('"
now "#" plus each fprint p print
else
now each fprint p print
fig
next
now p close
except
p = ""
resume
fig
next
else
now "sed -i 's/^print(/\#print(/g' /usr/lib/python2.7/site-packages/pygame/__init__.py 2> /dev/null" shell
now "sed -i 's/^print(/\#print(/g' /lib/python2.7/site-packages/pygame/__init__.py 2> /dev/null" shell
fig
```
license: 0-clause bsd
```
# 2018 mn
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
```
=> https://freesoftwareresistance.neocities.org