Setting environment variables for tcsh session

2005-07-21 Thread David Durkee
Hi, I'm trying to write a script I can run from tcsh in Terminal (on Mac OS X) that will set environment variables that can be accessed by subsequent commands I execute in that session. Not having any luck so far. Here's what I've tried: #!/usr/bin/python import sys import commands

Re: Setting environment variables for tcsh session

2005-07-22 Thread David Durkee
I didn't get much from the discussion of Command Substitution. Any tips on how to do that? David On Jul 21, 2005, at 10:12 PM, Dan Sommers wrote: > On Thu, 21 Jul 2005 21:39:01 -0500, > David Durkee <[EMAIL PROTECTED]> wrote: > > > > >> I'm trying

Re: Brute force sudoku cracker

2005-09-17 Thread David Durkee
Hi Bas, I came across Soduko puzzles recently too and had the same reaction: why waste my time solving the things when it would be much more fun to write a Python program to do so? #!/usr/bin/python import sys import copy import EasyDialogs # Solve functions return these result codes: k