Articles by Jeff Trawick

  1. Today’s Python homework

    The card I gave myself today says “Read Python language docs until I have written down 10 new things.” Why? Somebody pointed out that var = val or '-' was cleaner than the mess I used instead, and I realized that much more effort is required. (Were it Perl, I’d probably …

  2. Google App Engine: skipping complete directory via skip_files

    I forgot all about the skip_files in app.yaml and asked my favorite search engine what to do. A number of the top pages returned made it unnecessarily complicated. Just do this to skip directories (.idea and tools in this example):

    ...
    skip_files:
    - ^(.*/)?#.*#$
    - ^(.*/)?.*~$
    - ^(.*/)?.*\.py[co]$
    - ^(.*/)?.*/RCS/.*$
    - ^(.*/)?\..*$
    - ^\.idea$
    - ^tools$
    ...
    

    (These are top-level …

Page 4 / 19