os.path.join and lists

Uwe Schmitt uwe at rocksport.de
Wed Oct 17 17:33:04 EDT 2001


Fredrik Lundh <fredrik at pythonware.com> wrote:

| how about

|     bar = [ "fred", "barney", "froo" ]
|     baz = bar + [ "bob" ]
|     foo = os.path.join(*baz)

hi, whats the meaning of "*baz" ?? i've never seen this before....

uwe.



-- 
Uwe.Schmitt at num.uni-sb.de      Universität des Saarlandes
phone: +49 (0)681/302-2468     Geb. 36.1, Zi. 4.17, PF 151150
                               D-66041  Saarbrücken
http://www.rocksport.de        http://www.rocksport.de/first_ride.mp3




More information about the Python-list mailing list