I installed.
I just ran
> import threading
from jython console and it worked.
I guess my problem is that I am executing my jython scripts through Grinder. Am I supposed to put Lib folder in addition to jython.jar on the classpath? What other resources should go on the classpath?

Thanks.

Leo User <leouser126@yahoo.com> wrote:
hmm, this is weird. I can:
import threading

just fine. Did you unjar the jar or did you execute
it and install the code?

leouser


--- Alec Lebedev wrote:

> When I do "import threading" jython throws an error
> that threading module does not exist. Isn't
> threading.py or threading.class supposed to be
> included in jython.jar?
>
> Leo User wrote: Where is it
> crashing for you? Im able to import it
> from the latest snapshot. Have you tried removing
> it
> and then working with it?
>
> leouser
>
>
> --- Alec Lebedev wrote:
>
> > I am new to Jython and can't figure out how to
> > import the threading module.
> > I downloaded the latest development snapshot and
> can
> > see threading.py in the Lib folder, but it is not
> > included in jython.jar.
> > I copied threading.py in my working directory, but
> > of course I started getting missing dependencies
> > errors.
> > How do I import threading module in my jython
> > script?
> >
> > Thanks.
> >
> > Alec
> >
> >
> > ---------------------------------
> > Want to start your own business? Learn how on
> Yahoo!
> > Small Business.>
>
-------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of
> IT
> > Join SourceForge.net's Techsay panel and you'll
> get
> > the chance to share your
> > opinions on IT & business topics through brief
> > surveys - and earn cash
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> > Jython-users mailing list
> > Jython-users@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/jython-users
> >
>
>
>
>
>
____________________________________________________________________________________
> Need a quick answer? Get one in minutes from people
> who know.
> Ask your question on www.Answers.yahoo.com
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jython-users mailing list
> Jython-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/jython-users
>
>
>
> ---------------------------------
> Cheap Talk? Check out Yahoo! Messenger's low
> PC-to-Phone call rates.>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
_______________________________________________
> Jython-users mailing list
> Jython-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/jython-users
>




____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users


Have a burning question? Go to Yahoo! Answers and get answers from real people who know.