Advertisement

物理化学实验1:恒温槽的装配与性能测定

阅读量:
复制代码
 #作者:王日睿

    
 #中国科学技术大学生命科学学院
    
 #2021.11.3
    
 #物理化学实验:恒温槽的装配与性能测定
    
  
    
 import numpy as np
    
 import matplotlib.pyplot as plt
    
 import os
    
  
    
 def readfile(filename):
    
     x, y = [], [] 
    
     file = open(filename, 'r')
    
     count = 0
    
     for line in file.readlines():
    
     count = count + 1
    
     if count >= 4:
    
         x.append(int(line[0:4]))
    
         y.append(float(line[7:len(line)]))
    
     return x, y
    
  
    
  
    
 FILE_PATH = "C:\ Users\ 29070\ Desktop\ 我的笔记\ 物化实验\ 恒温槽的装配与性能测定\ wangrirui-shiyang1\ wang

全部评论 (0)

还没有任何评论哟~