专科AB班 (广州商学院)

  • 班级所有博文发布时间分布(24小时制):
  • 期末综合大作业:词频统计

    #1, FFile = open('F.txt','r') FTest = FFile.read() FFile.close() print(FTest) #2, print(FTest.replace(',',' ')) print(FTest.replace("'",' ')) print(FT
    傅忻   2018-06-20 22:38   0   132
  • asdasf

    bigFile = open('big.txt',mode='r',encoding='utf-8') bigText = bigFile.read() bigFile.close() print(bigText) replaceList=[',','.',"'",'\n'] for c in replaceList: bigText = bigText.replace(c,'') ...
    庞伟豪   2018-06-20 21:54   0   192
  • 期末综合大作业:词频统计

    #1 small = open('Just A Girl.txt',mode='r',encoding='utf-8') smallText = small.read() small.close() print(smallText) #2 replaceList =['?','!',',','.',
    三米巨人   2018-06-20 21:46   0   105
  • 6.20

    qFile = open("q.txt",mode="r",encoding='utf-8') qText = qFile.read() qFile.close() print(qText) replaceList = [',','.',"'",'\n'] for c in replaceList: qText = qText.replace(c,' ') print(qText) ...
    伍浩源   2018-06-20 21:44   0   145
  • 4染发放g

    #1. theFile = open('the.txt',mode='r',encoding='utf-8') theText = theFile.read() # 从文件里读出全部文本,字符串 theFile.close() print(theText) #2. replaceList = [',','.',"'",'\n'] for c in replaceList: theTe...
    AmberGCC   2018-06-20 21:40   0   112
  • 期末综合大作业:词频统计

    #1 f = open('Les Miserables悲惨世界.txt',mode='r',encoding='utf-8') fText = f.read()#从文件里独处全部文本,字符串 print(fText) #2 replacelist = ['?','.',',',':','"',"'"] for c in replacelist: fText = fText.replac...
    梁梓蕙   2018-06-20 21:38   0   90
  • 期末综合大作业:词频统计

    #1. theFile = open('the.txt',mode="r",encoding='utf-8') theText = theFile.read() theFile.close() print(theText) #2. replaceList = [',','.',"'",'\n'] for c in replaceList: theText = theText.repl...
    lulululululululu   2018-06-20 21:37   0   158
  • 期末综合大作业:词频统计

    #1, letFile = open('let.txt','r') letTest = letFile.read() letFile.close() print(letTest) #2, print(letTest.replace(',',' ')) print(letTest.replace("'
    王滢   2018-06-20 21:35   0   138
  • 期末综合大作业:词频统计

    #1. bigFile = open('big.txt',mode='r',encoding='utf-8') bigText=bigFile.read() bigFile.close() print(bigText) #2. replaceList=[',','.',"'",'\n'] for c
    朱靖萍   2018-06-20 21:34   0   73
  • 期末综合大作业:词频统计

    f = open('Farmer.txt',mode='r',encoding='utf-8') fText = f.read() f.close() replacelist = ['.', ',', "'", '"', '?','\n','\ufeffChapter'] for c in repl
    黄嘉欣   2018-06-20 21:32   0   84