Although Im not familiar with python, in Java you would do this:
Code:
distance = Ultrasonic.getRangeInches();
SmartDashboard.putNumber("UltraSonic Distance", distance);
however you might be better off (if you can) making to have some LED's turn a certain colour on your robot when you are on target. Perhaps red for really far, yellow for partially on target and green for on target. This would allow the driver to keep his eyes on the robot apposed to him having to look down at the driver station constantly to see how far he is from the tote.