Re: [Python-Dev] How to read fonts in python

2008-11-17 Thread Amaury Forgeot d'Arc
Hello,

On Mon, Nov 17, 2008 at 08:17, ganesh gajre <[EMAIL PROTECTED]> wrote:
> Hello to all,
> I am writing a program in python to convert Indic true type fonts in
> Unicode. I like to know is there any way to read the fonts and on the basis
> of that i can use map file to convert the font in unicode.
>
> Please help me.

The python-dev mailing list is for the development *of* python, not
for development *with* python.

Please direct your question to the comp.lang.python newsgroup (or the
python-list at python dot org mailing list)
I am sure you will quickly get a response there.

-- 
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] How to read fonts in python

2008-11-17 Thread Nick Coghlan
ganesh gajre wrote:
> Hello to all,
> I am writing a program in python to convert Indic true type fonts in
> Unicode. I like to know is there any way to read the fonts and on the
> basis of that i can use map file to convert the font in unicode.

The python-dev list is for the development *of* Python, not development
*with* Python.

This question would be better directed to the comp.lang.python newsgroup
(also available as [EMAIL PROTECTED])

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] How to read fonts in python

2008-11-17 Thread ganesh gajre
Hello,
Thanks for guiding me.

Ginovation

On Mon, Nov 17, 2008 at 2:49 PM, Nick Coghlan <[EMAIL PROTECTED]> wrote:

> ganesh gajre wrote:
> > Hello to all,
> > I am writing a program in python to convert Indic true type fonts in
> > Unicode. I like to know is there any way to read the fonts and on the
> > basis of that i can use map file to convert the font in unicode.
>
> The python-dev list is for the development *of* Python, not development
> *with* Python.
>
> This question would be better directed to the comp.lang.python newsgroup
> (also available as [EMAIL PROTECTED])
>
> Cheers,
> Nick.
>
> --
> Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
> ---
>
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] datetime and timedelta enhancement

2008-11-17 Thread M.-A. Lemburg
On 2008-11-16 02:14, Nick Coghlan wrote:
> M.-A. Lemburg wrote:
>> Guess I could add a .weeks attribute to mxDateTime, but no one ever
>> asked for that so far.
> 
> Given that there are at least 3 different ways to define the number of
> "weeks" between two dates, it may be something best left to applications
> to worry about.

I'd just use the term "weeks" as meaning 7 full days and then
return a float value for fractions. That's the same convention used
for .days. Anything more complicated would need to use DateTime
values (see below).

> OOo implements 2 of them [1] for its WEEKS() function, and there's then
> a fairly obvious 3rd variant based on a Sunday to Saturday week.
> 
> Cheers,
> Nick.
> 
> [1]
> http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_WEEKS_function

If you need ISO week counting or any other date based counting
mechanism, you need to know the two DateTime values you're dealing
with and possibly the calendar you're using.

mxDateTime has an .iso_week attribute to help with this, e.g.

>>> Date(2008,11,17).iso_week
(2008, 47, 1)

http://en.wikipedia.org/wiki/ISO_week

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 17 2008)
>>> Python/Zope Consulting and Support ...http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/

2008-11-12: Released mxODBC.Connect 0.9.3  http://python.egenix.com/

 Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! 


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
   Registered at Amtsgericht Duesseldorf: HRB 46611
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] 2.6.1 and 3.0

2008-11-17 Thread Barry Warsaw

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin suggests, and I agree, that we should release Python 3.0 final  
and 2.6.1 at the same time.  Makes sense to me.  That would mean that  
Python 2.6.1 should be ready on 03-Dec (well, if Python 3.0 is ready  
then!).


I'm still planning the last Python 3.0 release candidate for this  
Wednesday.


- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSSIgu3EjvBPtnXfVAQKzGgP/XH2szIZdG9nvZTI2M9iWXuz/tBwH6ncd
Kv70ATpttQEg/bmuRp5nSmg1p7hxSmTqu9waq4qdc07IPa+ofTngbunUKkTrbZoo
E/r72dGw29pou7B6NVh/g5Db8Tl0yNJBd6vmpEUbCvUDBpljqgxCdj0uw/RiDluj
5Ek2biim7ww=
=twyi
-END PGP SIGNATURE-
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com