Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41523
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-03-19 08:26 -0700 |
| References | <c447cffe-964f-4f8e-9931-0c3b5ff9bf6d@googlegroups.com> <729b7df7-d1b5-4397-b659-fdab25f10dd2@googlegroups.com> |
| Message-ID | <9bb3bf94-5e26-4c97-af10-7650f110e0f1@googlegroups.com> (permalink) |
| Subject | Re: Problem this random seed() |
| From | NZach <nickzacharatos@gmail.com> |
Τη Τρίτη, 19 Μαρτίου 2013 5:23:47 μ.μ. UTC+2, ο χρήστης NZach έγραψε: > Τη Τρίτη, 19 Μαρτίου 2013 3:57:30 π.μ. UTC+2, ο χρήστης NZach έγραψε: > > > Hello everyone, > > > > > > > > > > > > i am using the MMK.py example from a SimPy tutorial, which can be found here: http://heather.cs.ucdavis.edu/~matloff/156/PLN/DESimIntro.pdf > > > > > > > > > > > > I have made very little changes to the code and i have upload it here: > > > > > > http://codeviewer.org/view/code:30d3 > > > > > > > > > > > > The problem is that i am executing the main() function in lines 83 and 90, but > > > > > > i do not receive the same result, although the random seed is used in the G > > > > > > class. > > > > > > > > > > > > Any idea please, how can i solve it ? > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Nicholas. > > > > Yes, sorry, I meant @sven not @Stev. > > > > The problem with the random number is solved. Thank you very much for the replies. I will check what the now() prints and probably if i wont find any solution i will create new topic.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-18 18:57 -0700
Re: Problem this random seed() eli m <techgeek201@gmail.com> - 2013-03-18 19:36 -0700
Re: Problem this random seed() alex23 <wuwei23@gmail.com> - 2013-03-18 19:51 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 03:52 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 03:54 -0700
Re: Problem this random seed() Sven <svenito@gmail.com> - 2013-03-19 11:59 +0000
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 05:27 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 05:27 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 06:50 -0700
Re: Problem this random seed() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-19 14:18 +0000
Re: Problem this random seed() Sven <svenito@gmail.com> - 2013-03-19 14:19 +0000
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 07:44 -0700
Re: Problem this random seed() Sven <svenito@gmail.com> - 2013-03-19 15:05 +0000
Re: Problem this random seed() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-19 15:09 +0000
Re: Problem this random seed() Sven <svenito@gmail.com> - 2013-03-19 15:19 +0000
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 07:44 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 06:50 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 07:18 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 08:23 -0700
Re: Problem this random seed() NZach <nickzacharatos@gmail.com> - 2013-03-19 08:26 -0700
csiph-web