Fwd: problem...

0 views
Skip to first unread message

lerosua

unread,
Apr 23, 2009, 8:34:56 PM4/23/09
to gmbo...@googlegroups.com
转到邮件列表里讨论


---------- Forwarded message ----------
From: 崔贵林 <amo...@gmail.com>
Date: 2009/4/23
Subject: Re: problem...
To: lerosua <ler...@gmail.com>


现在可以了!但为什么一直卡那里呢?你看截图!

2009/4/23 崔贵林 <amo...@gmail.com>
>
> if os.name=='nt':
>     player="mpxplay.exe"
>     userhome = 'C:'
>     musicdir=userhome+'\Music\google_music\op100'
>     gmbox_home=userhome+'\.gmbox'
> if os.path.exists(musicdir)==0:
>     os.mkdir(musicdir)
> if os.path.exists(gmbox_home)==0:
>     os.mkdir(gmbox_home)
>
> 下面写了,如果目录不存在,就创建啊。找到原因了:mkdir不行,用makedirs就好了!
> 2009/4/23 lerosua <ler...@gmail.com>
>>
>> hi:
>> 跟你说了,没有那个目录会报错,其实我运行也报错,因为我也没建那个目录
>>
>> On Thu, Apr 23, 2009 at 10:10:28PM +0800, 崔贵林 wrote:
>>>
>>> 你看windows下的错误。。。为什么啊?
>>> --
>>> 崔贵林 csip
>>> E-mail:  amo...@gmail.com
>>> MSN :  amo...@msn.cn
>>>  Cell  :  13260179436
>>
>>
>>
>
>
>
> --
> 崔贵林 csip
> E-mail:  amo...@gmail.com
> MSN :  amo...@msn.cn
>   Cell  :  13260179436

--
崔贵林 csip
E-mail:  amo...@gmail.com
MSN :  amo...@msn.cn
  Cell  :  13260179436

--
Only a nation of educated people could remain free. (Thomas Jefferson,
American president)

2009-04-23-224844_796x596_scrot.png
Reply all
Reply to author
Forward
0 new messages