User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start [2020/01/22 07:27]
rlunaro
start [2020/02/11 17:06]
rlunaro
Line 1: Line 1:
  
-<​code>​ 
-import hashlib 
-import sys 
  
-with open(sys.argv[1],​ "​rb"​) as f: 
-    file_hash = hashlib.md5() 
-    while chunk := f.read(8192):​ 
-        file_hash.update(chunk) 
- 
-print(file_hash.hexdigest()) ​ # to get a printable str instead of bytes 
-</​code>​ 
  
 These pages are a notepad with notes about technology and other stuff. ​ These pages are a notepad with notes about technology and other stuff. ​
Line 39: Line 29:
   * [[Privado:​index|Area restringida]]   * [[Privado:​index|Area restringida]]
   * http://​www.seewald.at/​en/​2014/​10/​toycollect   * http://​www.seewald.at/​en/​2014/​10/​toycollect
 +
  
 ---- ----
start.txt ยท Last modified: 2020/02/11 17:06 by rlunaro