欧美三区_成人在线免费观看视频_欧美极品少妇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 | 播放一级黄色片 | 最新国产网址 | 免费成人高清 | 国产精品久久久一区二区三区 | 久久久国产视频 | 久久只有这里有精品 | 成人午夜毛片 | 国产成人18黄网站免费网站 | 日韩三级在线播放 | 美女吊逼| 在线播放一区二区三区 | 爱爱综合网 | 色五月婷婷成人网 | 亚洲国产天堂久久综合9999 | 日韩影院在线观看 | 久久99国产精一区二区三区 | 国产 欧美 日本 | 欧美电影网站在线观看影片 | 国产精品久久久久久吹潮 | 韩国精品videosex性韩国 | 成人欧美日韩视频一区 | 最近最新中文字幕 | 婷婷综合网站 | 中文字幕乱码一区二区三区 | 午夜社区 | 久久精品二区亚洲w码 | 亚洲欧洲日本无在线码天堂 | 麻豆高清免费国产一区 | 国产又黄又猛又粗又爽的A片动漫 | 欧美三级 在线播放 | 欧美一级黄视频 | 欧美黑人性暴力猛交免费看 | 精品一区二区三区视频 | 亚洲一区二区三区在线免费观看 | 中文字幕无线码一区二区三区 | 欧美激情一区二区三区中文字幕 | 亚洲精品一区国产 | 成人午夜毛片在线看 | 国产精品污污视频 | 国产精品毛片久久久久久久 |