Jump to content
Sign in to follow this  

Python Module import problem?? Python panel

Recommended Posts

Hi people.

Just wondering if anyone is having this same problem.

I am fairly new to python and I am following along with Mix training video on youtube about python panels.


and for some reason, I am stumbling at the first hurdle. 

When trying to import the OS module for python in the python panel window. its does not seem to work.

Now if I go in and 'import os' via the python shell it works.


Can anyone shed some light on this? or has anyone had this issue before?


on 17.5





Share this post

Link to post
Share on other sites

Do you get any specific error message?


import os
print os.name

I tried the above code in a python panel and get a output.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this