I've found a great python tip that I couldn't find on stackoverflow with google (I got the tip on freenode). Is it possible to share it on stackoverflow, so that other people can benefit?
I suggest two alternatives, although I am sure there are more ...
1- Create a question, include the tip, and ask the community for feedback on the tip and to suggest alternatives. If someone suggests a better alternative, accept it!
2- Ask the question, then add an answer with the tip. Some might interpret this as trolling for rep; I am on the fence.
As others have said, think Jeopardy.
Additionally, the typical way to do this is that you do not mark your answer as the accepted answer unless it also gets the most votes, and mark your answer (but not the question) as community wiki to avoid the appearance of begging rep and still allow others who contribute to earn it for their answers (and you can still get rep for the question itself).
Ask it like on Jeopardy.