Severity: Warning
Message: fopen(/tmp/ci_sessionetaqno0dckb90liah9jakof6786e9qjs): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
By Md Omer
A project to generate a random password according to the length chosen by the user using Python.
A project to generate a random password with the help of random and string modules. The user is asked about the length of the password and according to the user's choice, a random password is generated by the system.
A function named generate_random_password is created and functions like random.shuffle from the random module as well as functions like string.ascii_letters and string. digits from the string module are used.
In the end, the join() method is used for generating a random password.
The Output Screen Looks like this:
-1638894871-953.jpg)
Submitted by Md Omer (omerl23l0)
Download packets of source code on Coders Packet
Comments