using interrupt and the pull up resistor on the same pin

Can I use the internal pull-up resistor with an attachInterrupt at the same time on the same pin?

attachInterrupt(0, CountPulse, RISING);//turn on interrupt for flow sensor on pin 2
digitalWrite(2, HIGH);  //turn on pull up resistor for flow sensor on pin 2

Will this do away with the need of the 10K resistor in the example for this sensor: http://www.seeedstudio.com/forum/viewtopic.php?f=4&t=989&start=0 thanks!

Yes. Maybe do away. Internal may not have enough oomph to pull up by itself.

The internal pull-ups are spec'd as being 20K to 50K, so maybe typically 35K? Not exactly the same as 10K. It might work, as CrossRoads said.