© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
Random user generator
File ID: 64059
Random user generator
|User Rating:|| (2 ratings)|
Random user generator Description
Description: I've worked on a random user generator in C a long time ago, so I thought I'd make an advanced version of it in Python(3.2). I'll have you know, I am an amateur in Python and even programming for that matter so I'd really appreciate some criticism on my code and what more can be added.
About the program - I've added a default list of users, you can modify the list to your convenience and for data persistence, I made use of the pickle module. The random module plays the pivotal role generating the output making use of the choice method. Those along with the os module if the program is being run for the first time on a pc, it will create a data file with the default list.After some digging around, I managed to find os.getlogin() from the python library which was exactly what I was looking for (to get the computer's name making sure it can get the data file to the correct directory). I'm a little skeptical about that part, wondering whether or not it will work on every pc.
Related: Generator, pickle, python3, Random
|More Similar Code|
Random License Generator allows you to create registration numbers of any specified length and format, as well as tools for connecting and working with a database of existing registration numbers.
If you wish to use this script in conjunction with a MySQL database for logging registration numbers and ensuring that the same number is not re-used, you must perform the corresponding tables setup.
The script is very easy to...
Implements a complementary-multiply-with-carry psuedo-random-number-generator. Period is 3636507990 * 2 ** 43487 (approximately 10 ** 13101).
MVG is a multivariate Gaussian (normal) random number generator. A user can generate a vector from the multivariate normal distribution of any dimension by specifying a mean vector and symmetric positive-definite covariance matrix. A linear...
A very simple random integer generator using rand().
[just for educational purpose ;) !!]
Random Password Generator is a simple and effective online randomizer capable of generating arbitrary passwords. This program is simple and creates each and every password according to the supplied data. This is an useful PHP application for...
Super Random Link Generator can be used by the webmasters to provide visitors a facility to visit their desired page instantly. It is possible when the web owners insert / this program on any page of their website and also add the links to that...
Generation Of Solid Shapes Using Random Number Generator.
The Solid Shapes included are:
4) Conical Frustum
6) Pyramidal Frustum
Take it as...
This is a Random Sequence generator used in Cryptography, Spread Spectrum, Information Security
The function TRUERAND returns truly random integers using random.org's Random Integer Generator. According to random.org, the numbers are generated based on atmospheric noise and skew-corrected to generate uniform numbers. The generated numbers...
This is a pseudo-random number generator test.
(There are many known tests for pseudo-random generators
but I came up w/ this one on my own. I don't know
if it is an already known method or not.)
Idea is this:
|User Review for Random user generator
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.