| TenOfTen | sorry, cant help then |
| JD-Multi | hehe, |
| hydan | anyone from alabama? |
| ivan` | JD-Multi: pyopengl 3 doesn't need a binary just setup.py install |
| _andy_at_work | hi, all. How to compare unicode string in right wway? x == y crashes python when strings isn't ascii/ |
| sonmez | _andy_at_work: did you look at unicode methods? i have never worked with unicodes but it should support it.. |
| luks | _andy_at_work: if it raises an unicode error, then one of the strings isn't unicode |
| lesshaste | is there any work on getting jython for mobile phones? or python in general on non-python phones I mean non-symbian phones |
| _andy_at_work | luks, ok. How to compare their in this case? Unfortunaly, I don't know what the string isn't unicode. |
| Yhg1s | _andy_at_work: then you'll have to fix that. _andy_at_work: mixing unicode and non-unicode strings is a bad thing _andy_at_work: because you cannot compare them sensibly. |
| _andy_at_work | I try to use repr - this works fine |
| Yhg1s | _andy_at_work: so, find out what the type of each is -- by asking whoever gave them to you what type they are. 'fine' how? |
| _andy_at_work | it really compares their |
| Yhg1s | the repr() of a unicode string will show u'...', whereas the repr of a bytestring will just show '...'. you can't really compare them that way, they'll always be different. |
| _andy_at_work | Ah, thanks. |
| Yhg1s | of course, if you don't really *want* them to ever compare equal, that's fine, but I doubt that's what you really want. |
| _andy_at_work | Yes, it's my wrong thanks for explanation how to check is the string unicode or not? |
| Yhg1s | _andy_at_work: the question is, why don't you know? You would know if it was an int instead of a unicode string, wouldn't you? strings and unicode are distinct types. there should never be confusing about what the type is. |
| deitarion | Does python stdlib include a function for paging console output? (similar to piping something through the `more` command) |
| Yhg1s | deitarion: the 'pydoc' module has a 'pager' function. |
| deitarion | Thanks. |
| kushal | Can I take screenshot using python ? |
| dave_v | Hi, using MySQLdb for Python does anyone know a way to make it treat warnings as errors? or to raise an exception when getting a MySQL warning rather than just putting it to stdout? |
| kushal | in GNU/Linux ? |
| TFKyle | kushal: probably, I've no idea how though |
| kushal | TFKyle, ok |
| moldy | kushal: i am sure there are some libraries that have support for it, but i don't know any details either kushal: i'd look at some X libraries |
| kushal | moldy, ok |
| nuloop | hello. what's the best way to check that a char is in a dict of allowable characters ? |
| TFKyle | nuloop: char in d? |