Popular recipes by Yaşar Arabacı http://code.activestate.com/recipes/users/4178739/2012-02-29T17:04:40-08:00ActiveState Code RecipesMersenne twister (Python)
2012-02-29T17:04:40-08:00Yaşar Arabacıhttp://code.activestate.com/recipes/users/4178739/http://code.activestate.com/recipes/578056-mersenne-twister/
<p style="color: grey">
Python
recipe 578056
by <a href="/recipes/users/4178739/">Yaşar Arabacı</a>
.
</p>
<p>Mersenne twister algorithm implemented in Python. Based on the pseudocode in here: <a href="https://en.wikipedia.org/wiki/Mersenne_Twister" rel="nofollow">https://en.wikipedia.org/wiki/Mersenne_Twister</a></p>
Method access counter proxy (Python)
2011-09-18T12:49:15-07:00Yaşar Arabacıhttp://code.activestate.com/recipes/users/4178739/http://code.activestate.com/recipes/577869-method-access-counter-proxy/
<p style="color: grey">
Python
recipe 577869
by <a href="/recipes/users/4178739/">Yaşar Arabacı</a>
(<a href="/recipes/tags/proxy/">proxy</a>).
Revision 4.
</p>
<p>This function creates a proxy for a class so that you can count how many times each method called. It only works for mutable types.</p>
Multiplatform compability (Python)
2011-07-24T05:10:04-07:00Yaşar Arabacıhttp://code.activestate.com/recipes/users/4178739/http://code.activestate.com/recipes/577804-multiplatform-compability/
<p style="color: grey">
Python
recipe 577804
by <a href="/recipes/users/4178739/">Yaşar Arabacı</a>
.
</p>
<p>I use this small code close to the head of section of my codes if I'm going to use range function to make it behave same in both python 3 and python 2</p>