Python Forum
how can I generate a password in hashlib
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I generate a password in hashlib
#18
when using with context manager, you don't need to call close(), i.e. you don't need output_handler.close()

And please, stop this nonsense about the extra empty line. You must understand that every line end s with new line character. So what you see as elham,9770 is in fact elham,9770\n. That's the correct thing to have. As a result there is what you see as empty line. THAT IS NORMAL. In your other thread https://python-forum.io/Thread-Avoiding-...s-csv-file perfringo asked you some question trying to explain this to you. Think what will happen if you don't have new line char at the end of last line with data and you or some one else want to append new data. You will append on the last line, not as a new line. Line ALWAYS end with newline character
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: how can I generate a password in hashlib - by buran - May-18-2019, 04:35 PM
writing on csv file problem, python - by go127a - May-14-2019, 12:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] How to crack hash with hashlib Milan 0 1,454 Mar-09-2023, 08:25 PM
Last Post: Milan
  Python3 hashlib ogautier 1 1,586 Mar-28-2022, 04:42 AM
Last Post: snippsat
  Confusion about Hashlib Vysero 2 3,031 Jun-25-2018, 04:05 PM
Last Post: DeaD_EyE
  Using SHA3 (keccak) from Hashlib CryptoFlo 0 7,783 Mar-14-2018, 10:56 AM
Last Post: CryptoFlo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020