From: Anthony Papillion on 7 Jun 2010 04:00 On Jun 6, 10:16 pm, Ben Finney <ben+pyt...(a)benfinney.id.au> wrote: > Anthony Papillion <papill...(a)gmail.com> writes: > > import os > > > os.path.append('$HOME/gsutils/boto') > > > thinking I could then successfully do the import boto statement. > > Nope. > > You'll need to give the literal path. Substitution of environment > variables isn't performed implicitly in strings. > > -- > \ When we pray to God we must be seeking nothing nothing. | > `\ Saint Francis of Assisi | > _o__) | > Ben Finney Hi Ben, Thanks for the help! I'd misread the thread and thanked Chris while ignoring you. Much thanks to you for the help. Worked like a charm.
First
|
Prev
|
Pages: 1 2 Prev: Drop Table w/ MySQLdb? Next: RE - Parsing ipconfig /all output - question |