Credit to bones7456.
Change values in settings.py
, place it in the same directory as fileserver.py
then run python2 fileserver.py
#!/bin/sh | |
# Show list of todos before commit | |
SOURCE_CODE_GLOB='*.py' | |
find -name $SOURCE_CODE_GLOB -exec grep TODO {} /dev/null \; | sed -e 's/\t//g;s/.py:/.py: \t/g;s/.py:.*#/\t/g' |
import sys | |
while True: | |
# code here | |
print('Do you want to start the program again? (Y/N)') | |
response = input('> ').strip().upper() | |
if response == 'Y': | |
pass | |
else: |
�PNG | |