This process will take nCol data and create the *Vertices and *Edges Pajek sections. Pulled all the nCol data from the database and saved as links.txt, which reads: I pulled all the user names from the database and saved in a temporary file, usrTemp.txt. Removed all duplicates with the terminal and saved the file as […]
So much easier on the terminal
Another useless bit of code If you answer “jose” or “Jose”, you get But if you enter anything else, you get this…
Obsolete stuff that will tell you if there is a “Next” page by looking for the string “next” in the HTML. A pretty useless loop… Finally, just a simple “If it’s there then we cool”
This is the original text And this is what you get after deleting everything except digits. More info on Python regular expressions.