On 20.12.2012, at 12:57, iMath wrote:
> how to detect the encoding used for a specific text data ?
http://pypi.python.org/pypi?%3Aaction=search&term=detect+encoding
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org/mailman/listinfo/python-list
t invalidation anyway in order to write tests. I decided to
expose the mechanism to keep users from having to invent their own SHOULD the
need arise. I was not advocating invalidation in any way with my reply. All I
wanted was to confirm the "least bad" solution. ;-)
Stefan
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org/mailman/listinfo/python-list
bility. Putting it on
PyPI alone does not cut it, apparently.
Stefan
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org/mailman/listinfo/python-list
http://lazy.readthedocs.org/en/latest/
Stefan
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org/mailman/listinfo/python-list
stdlib's readline bindings.
There is a more complete implementation of the GNU Readline APIs at
http://pypi.python.org/pypi/rl. With rl you can fix the prompt by calling
rl.readline.redisplay(force=True) after the hook has returned.
Hope this helps,
Stefan
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org/mailman/listinfo/python-list
direction as well. [2]
(Not trying to plug the ZTK here, it just happens to be a large,
namespace-using library I know.)
Hope this helps,
Stefan
[1] http://docs.zope.org/zopetoolkit/
[2] http://pypi.python.org/pypi/zope.deferredimport
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org
gt; is not going to change.
> I was trying to generalize it in a @lazy_property but my attempts so far
> failed, any help on how I could do that?
There is a ready made and well tested lazy decorator at
http://pypi.python.org/pypi/lazy
Stefan
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org/mailman/listinfo/python-list
On 01.11.2012, at 09:55, inshu chauhan wrote:
> How to load a yml file in python and work with it ??
>
Try one of these:
http://pypi.python.org/pypi?%3Aaction=search&term=yaml&submit=search
--
Stefan H. Holek
ste...@epy.co.at
--
http://mail.python.org/mailman/listinfo/python-list
On 24.06.2012, at 03:58, Josh English wrote:
> I'm creating a cmd.Cmd class, and I have developed a helper method to easily
> handle help_xxx methods.
When I need custom help processing I tend to simply override do_help().
Stefan
http://pypi.python.org/pypi/kmd
--
Stefan H