Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个远程文件及其网址。我想从中读取一行,使用指向该行第一个字符的指针,而不下载它。如果文件是本地文件,我会file.seek(pointer)用来设置文件指针并使用file.readline().
file.seek(pointer)
file.readline()
当文件是远程的时我该怎么做?