欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

[Tutor] how to change the current working di

系統 1929 0

[Tutor] how to change the current working directory path in ipython.

[Tutor] how to change the current working directory path in ipython.

Joel Goldstick joel.goldstick at gmail.com
Wed Feb 8 15:33:01 CET 2012

?


      On Wed, Feb 8, 2012 at 9:24 AM, Debashish Saha <
      
        silideba at gmail.com
      
      > wrote:
>
      
         how to change ?the current working directory path in ipython.

      
      >
      
      
      >
      
         my current directory path is

      
      >
      
         ? ? ? ? ? ? ? ? ? ? ? pwd

      
      >
      
         ? ? ? ? ? ? ? Out[2]: u'C:\\Users\\as'

      
      >
      
      
      >
      
         now if i want to take the path to a subfolder of above

      
      >
      
         'C:\\Users\\as', what do i have to do?

      
      >
      
         _______________________________________________

      
      >
      
         Tutor maillist ?- ?
        
          Tutor at python.org
        
      
      >
      
         To unsubscribe or change subscription options:

      
      >
      
        
          http://mail.python.org/mailman/listinfo/tutor
        
      
      

Try looking here:

      
        http://docs.python.org/tutorial/stdlib.html#operating-system-interface
      
      

There is a module in python called os

Here is an example from the documentation

>>>
      
         import os

      
      >>>
      
         os.getcwd()      # Return the current working directory

      
      'C:\\Python26'
>>>
      
         os.chdir('/server/accesslogs')   # Change current working directory

      
      >>>
      
         os.system('mkdir today')   # Run the command mkdir in the system shell

      
      0

-- 
Joel Goldstick
    

[Tutor] how to change the current working directory path in ipython.


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 91五月天 | 国产69精品久久久久999小说 | 亚洲美女亚洲精品久久久久 | 色欧美片视频在线观看 | 亚洲AV国产成人精品区三上 | 中文字幕高清 | 国产中文一区 | 午夜免费视频 | 欧美视频精品一区二区三区 | 夜色成人网 | 日本黄色免费网址 | 国产精品成人自拍 | 操操日 | 成人无码T髙潮喷水A片小说 | 久久久久毛片成人精品 | 91精品久久久久久久久网影视 | 97视频免费播放观看在线视频 | 亚洲一区二区av | 国产高清免费 | 日韩精品一区二区三区 | 日本三级2018亚洲视频 | 拍拍拍无挡免费视频网站 | 中文字幕日韩精品在线 | www.99精品视频在线播放 | 亚洲av一级毛片特黄大片 | 中文字幕人成乱码在线观看 | 久久视频精品53在线观看 | 日韩国产三级 | 亚洲成人一区二区 | 桃色网站入口 | 久草精品在线 | WWW国产亚洲精品久久久 | 亚洲国产精品无码AV久久久 | 亚洲一区二区久久 | 国产精品久久婷婷六月丁香 | 午夜影音 | 国产精品久久久久久久四虎电影 | 密室逃脱第一季免费观看完整在线 | 天天舔天天射天天操 | 九九热在线免费视频 | 精品国产青草久久久久福利 |