via Flickr http://flic.kr/p/dWJiHs
via Flickr http://flic.kr/p/dWJiHs
via Flickr http://flic.kr/p/dWCEqc
via Flickr http://flic.kr/p/dWCEjB
Seagull on post at Asilomar Beach, Pacific Grove, CA
via Flickr http://flic.kr/p/dWCEez
Well, I’ve not be too idle on this. In real world time I’ve been poking at these scripts for a while, but just now been getting around to posting them.
So this is version 02 of the timer script. I have been messing with making the timer a function so that I can call it separately. Hopefully this will allow me to eventually make it easier to add a GUI and make it loop until all of the tests are done.
-edit- a few minor changes that made sense after I read the code again.
# a simple countdown timer in python # learning by doing - eh # time.sleep and import time - http://stackoverflow.com/questions/3309664/python-timer-countdown #while loop info from - http://thenewboston.org/watch.php?cat=36&number=25 # conditional and function info from http://openbookproject.net/thinkcs/python/english2e import time #adds the time lib from python def testTimer(): #function that is the timer t = input ("How long is the test? ") #var that sets the timer length in seconds station = raw_input ("Which test station is running? ") #var that sets which test station is running while t >0: #simple "while" loop that will check the amount of time left, it checks once a second print t, "seconds left" t -=1 time.sleep(1) print "Test on", station, "complete." def again(): # ideally a way to make the timer run again w/o leaving the script rerun = raw_input ("Would you like to re-run this timer? Y or N ") if rerun =="Y" or "y": testTimer() else: print "Great! Test on ", station, "is complete! Check the results and move on!" testTimer() again()
Not very complex and it currently only runs in the command line. My next goal is to make it store the inputs so that it can re run the timer with only one command. I’m thinking maybe some futzing with conditionals and functions will get me closer.
To assist myself at work I wrote a little Python script to run as a timer. This is a two fold thing, 1. I’m learning Python, 2. I needed a timer to help track the tests I run at work.
After some hunting and kvetching on Twitter I was guided to some useful resources and came up with the following.
# a simple countdown timer in python # learning by doing - eh # time.sleep and import time - http://stackoverflow.com/questions/3309664/python-timer-countdown #while loop info from - http://thenewboston.org/watch.php?cat=36&number=25 import time t = input ("How long is the test: ") station = raw_input ("Which test station is running? ") while t >0: print t, "seconds left" t -=1 time.sleep(1) print "Test on", station, "complete."
Not very complex and it currently only runs in the command line. My next goal is to make it store the inputs so that it can re run the timer with only one command.
So producing a “full fledged” piece of artwork a day was a bit over ambitious on my part. But I really enjoyed working on the images. And having a daily habit of drawing is important. So I’m taking a new spin on this daily idea.
Through LifeHacker I found out about the Hipster Habit App. A paper based “app” that help you form a new habit. I’m going to use this system to help me do a sketch a day. It will be a general sketch, no solid parameters other than I want to finish it in about 5 minutes. I will be starting this on June 1st, and continuing till I stop, which ideally will be when I can’t hold a pencil anymore. I’m not planning on posting them everyday, but I’m thinking I can put up a “digest” of a week’s worth on Saturday.
Why do I think this will be more successful than my other attempts? For starters it’s just a sketch. My past ideas led towards more finished artwork, which is more difficult and time consuming. A five minute sketch is just that, it’s by definition not fully realized or fleshed out. Which means producing it will be much less effort and I won’t get as bogged down in making it “good”. Well … that’s the idea anyway.
Thanks in advance to all of you who have supported my hair brained art schemes in the past, and look forward to them in the future.
For those who’ve been paying attention. You’ll notice that there are only nine days posted for this experiment. I didn’t give up, and still haven’t. I have produced more than nine pieces. And I’ll still put them up. I have all of the phrases that I want to make written and they will all be done.
I, as I often am, was a bit over ambitious with this project. I didn’t quite realize how challenging it can be to make hand drawn type. Besides I have a standard of quality that I try to hold myself to. Also as I went along I got more ambitious with the layouts and type styling. So I guess the real question I have to evaluate is, what part of my goal is most important.
I think the completion of the project is the big one. I want to have completed thirty pieces of artwork. I will have thirty pieces done! They will be posted and I’ll have a nice gallery of them to call my own.
So stay tuned true believers, there is more to come.