u'\N{dollar sign}'

2009-05-20 Thread belred
i can't for the life of me figure out where the unicode \N specifier is located in the python documentation (2.6). can anyone point me to the page in the docs? thanks, bryan -- http://mail.python.org/mailman/listinfo/python-list

document/image viewer

2008-11-16 Thread belred
does anyone know of any document/image viewers? i would like to create an app that can display (read-only) many types of documents such as .doc, .xls, .tiff, .pdf, etc. it would be great if i can do this using python. looks like i might be able to create something with PIL, but i'm coming up em

how many objects are loaded for hello world?

2008-09-16 Thread belred
i just read this blog about how many objects (types) are loaded for a hello world program in C#. http://blogs.msdn.com/abhinaba/archive/2008/09/15/how-many-types-are-loaded-for-hello-world.aspx how can you find out how many are loaded for a python program: print 'hello' -- http://mail.python

dynamically getting loggers

2008-08-14 Thread belred
is there a way to dynamically get all the active loggers? i currently have code like this in different areas of the program: import logging log = logging.getLogger('foo') i would like to write a function that dynamically get a list of all the logger names such as 'foo'. or get a list of the lo

Re: dependency order

2008-02-09 Thread belred
On Feb 9, 11:10 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > i'm having trouble trying to figure this out... it's part of a build > > system i'm writing in python. maybe someone has a good simple way to > > solve this. i'm trying to create a dependency orde

dependency order

2008-02-09 Thread belred
i'm having trouble trying to figure this out... it's part of a build system i'm writing in python. maybe someone has a good simple way to solve this. i'm trying to create a dependency order out of multiple lists. list1: B C list2: A B list3: A C i want the end result to be the list: A B C i'm v

JSON

2007-12-06 Thread belred
i tried a couple python json libraries. i used simplejson on the server and was using cjson on the client, but i ran into this issue. i'm now using simplejson on both sides, but i'm still interested in this issue. did i do something wrong? is there a bug in one of the libraries? or something i don

count pages in a pdf

2007-11-27 Thread belred
is it possible to parse a pdf file in python? for starters, i would like to count the number of pages in a pdf file. i see there is a project called ReportLab, but it seems to be a pdf generator... i can't tell if i would be able to parse a pdf file programmically. thanks for any recommendations

ironpython with nosetest

2007-09-24 Thread belred
has anyone tried nosetest with ironpython? i installed IPCE-r6, copied the nose directory below the .egg directory from my cpython directory and copied to IPCE-r6/lib. i then created a file called n.py which contained two lines: import nose none.run() i was then able to run it against a test fi