Issue 29118: Randit - Python tracker

Created on 2016-12-31 03:45 by Spacemage 33, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Screenshot_4.png Spacemage 33, 2016-12-31 03:45
Messages (4)
msg284358 - (view) Author: Spacemage 33 (Spacemage 33) Date: 2016-12-31 03:45
I have a book with i can learn phyton but in the first Little game there is "from random import randit" and the book is for Phyton3 now it do not work im realy said about this please fix that
msg284361 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-12-31 04:42
This issue has nothing to do with IDLE.  There is also no bug here.  Python's random module has a randint function that works fine.  Either you or the book have misspelled 'randint' as 'randit' or the book is using its own random module and not the stdlib version.  Please post on python-list if you think you have found a bug.
msg284362 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-12-31 04:43
Also, wherever you post, copy and paste the traceback instead of adding a link to an image.
msg284901 - (view) Author: Spacemage 33 (Spacemage 33) Date: 2017-01-07 08:44
Thank you very much.

Now it works fine!

2016-12-31 5:42 GMT+01:00 Terry J. Reedy <report@bugs.python.org>:

>
> Terry J. Reedy added the comment:
>
> This issue has nothing to do with IDLE.  There is also no bug here.
> Python's random module has a randint function that works fine.  Either you
> or the book have misspelled 'randint' as 'randit' or the book is using its
> own random module and not the stdlib version.  Please post on python-list
> if you think you have found a bug.
>
> ----------
> resolution:  -> not a bug
> stage:  -> resolved
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue29118>
> _______________________________________
>
History
Date User Action Args
2022-04-11 14:58:41adminsetgithub: 73304
2017-01-07 08:44:03Spacemage 33setmessages: + msg284901
2016-12-31 04:43:51terry.reedysetmessages: + msg284362
2016-12-31 04:42:39terry.reedysetstatus: open -> closed
resolution: not a bug
messages: + msg284361

stage: resolved

2016-12-31 03:45:01Spacemage 33create