Is there a way to "nice" a method of a Python script

view story

http://stackoverflow.com – My scripts have multiple components, and only some pieces need to be "nice"-d. i.e., run in low priority. Is there a way to "nice" only one method of python, or I need to break it down into several processes? I am using Linux, if that matters. Thanks! (HowTos)