Thread: threading

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    10
    Rep Power
    0

    threading


    Can someone show me the basics on how python implements threading through the thread module? Tutorials are scarce to find.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    383
    Rep Power
    13
    http://python.org/doc/current/lib/thread-objects.html

    Basically, just create a new Thread, by passing a function and it's arguments to the constructor as per the docs in the above URL. Fairly simple (imagine that )
    Debian - because life's too short for worrying.
    Best. (Python.) IRC bot. ever.

IMN logo majestic logo threadwatch logo seochat tools logo