random.seed(42) makes the (pseudo)-randomness behave the same way every time you call the script. The number 42 is (almost [1]) arbitrary. See https://docs.python.org/2/library/random.html#random.seed regards, Jakob
[1] http://en.wikipedia.org/wiki/42_%28number%29 2014-06-28 19:42 GMT+02:00 shrinivas savanur <[email protected]>: > Hi sir ............ > > In runner.py program random.seep(42) what it exactly does??? > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
