View Single Post
Old 2020-10-23, 00:34   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·3·19·31 Posts
Default

Learn to program. Get yourself an elementary book on Python.

I do not know Python. It does have set membership and arrays. I guess Python, like may other languages, requires you to open the file and the loop over the stream until the end of the file and then close it. So you could open the file and read in the vector. Whether you can take a "%" over a vector I am not sure.

Somebody else who is knowledgeable about this language will jump in and put you right.

Last fiddled with by paulunderwood on 2020-10-23 at 00:38
paulunderwood is offline