Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialakshaan Mazumdar
997 Pointsi get an attribute error whenever i use import random. it say random.randint is not an attribute of module 'random'
cannot import random library in workspaces... HELP
1 Answer
Kenneth Love
Treehouse Guest TeacherDo you have a file named random.py
?
akshaan Mazumdar
997 PointsYes I had . deleted it. Its working now. Thank you
Mike Wagner
23,559 PointsMike Wagner
23,559 Pointscan you please edit your question to share your code or a link to a fork of your Workspace?