cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-466112%22%20slang%3D%22zh-CN%22%20mode%3D%22NONE%22%3E%C2%BFC%C3%B3mo%20obtener%20el%20n%C3%BAmero%20total%20de%20l%C3%ADneas%20de%20varios%20archivos%20de%20texto%20en%20la%20misma%20carpeta%20con%20un%20script%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-466112%22%20slang%3D%22zh-CN%22%20mode%3D%22NONE%22%3E%3CP%3E%C2%A1Hola%2C%20todos!%3C%2FP%3E%3CP%3EM%C3%BAltiples%20archivos%20en%20formato%20de%20texto%20en%20la%20ruta%20especificada%20son%20todos%20datos%20en%20formato%20digital.%20configurar%3CSPAN%3E%20Hay%20cuatro%20columnas%20con%20diferente%20n%C3%BAmero%20de%20l%C3%ADneas%2C%20todas%20separadas%20por%20tabulaciones.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%C2%BFC%C3%B3mo%20puedo%20obtener%20el%20n%C3%BAmero%20total%20de%20l%C3%ADneas%20de%20estos%20archivos%20de%20texto%20con%20un%20script%3F%20%C2%A1Gracias!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-466112%22%20slang%3D%22zh-CN%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3Esecuencias%20de%20comandos%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eventanas%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-466118%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3ERespuesta%3A%20%C2%BFC%C3%B3mo%20obtener%20el%20n%C3%BAmero%20total%20de%20l%C3%ADneas%20de%20varios%20archivos%20de%20texto%20en%20la%20misma%20carpeta%20usando%20un%20script%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-466118%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3ES%C3%B3lo%20puede%20abrir%20el%20archivo%2C%20obtener%20el%20n%C3%BAmero%20de%20l%C3%ADneas%20y%20cerrarlo.%20%C2%BFAbrir%20otro%20archivo%20y%20%3CSPAN%3Esumarlos%20uno%20por%20uno%20as%C3%AD%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
lala
Level IX

如何用脚本获取同一个文件夹中多个文本文件的行数合计?

大家好!

指定路径中多个文本格式的文件、都是数字格式的数据。设定有不同行数、都有制表符间隔的三列。

 

如何用脚本获取这些文本文件的行数合计?谢谢!

 

2 REPLIES 2
lala
Level IX

回复: 如何用脚本获取同一个文件夹中多个文本文件的行数合计?

*.txt

2022-03-02_17-03-45.png

lala
Level IX

回复: 如何用脚本获取同一个文件夹中多个文本文件的行数合计?

只能打开文件、获取行数、关闭。再打开一个文件、这样逐渐逐个合计吗?

Recommended Articles