Andrea,
Also, could it be that when you do the following:
sheet.Range("A1:A10").Value = therand
you actually initialize all 10 cells to the first
element of the array? Try to iterate and initialize
every cell separately.
Michael
--- Andrea Gavana <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I
"Andrea Gavana" <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>I am having some problems in running a very simple python script,
> which prints some numbers in an Excel spreadsheet. The numbers are
> stored in a list. I know that the numbers are different (random
> generated), but when I open the Exce
Hi Michael,
> First of all you should call the random.seed()
> function. That was at least what I´ve always done.
> seed([x])
Thanks for your suggestion, but it doesn't matter whether you call
seed() or not. The random number generator can *not* return 10 equal
values if called 10 times, irrespec
First of all you should call the random.seed()
function. That was at least what I´ve always done.
seed([x])
Initialize the basic random number generator.
Second of all, calling random.random() will give you
this:
random()
Return the next random floating point number in
the range [0.0, 1.0
Hi All,
I am having some problems in running a very simple python script,
which prints some numbers in an Excel spreadsheet. The numbers are
stored in a list. I know that the numbers are different (random
generated), but when I open the Excel file I get a column of data with
all the numbers eq