If I want to open a html-page from Python code I can say:
import webbrowser
webbrowser.open('index.html')
Is there a standard way to init an email in users preferred email client
like Thubderbird, Evolution etc.?
Tuomas Vesterinen
--
http://mail.python.org/mailman/listinfo/python-list
Mike Driscoll wrote:
On Dec 4, 5:28 am, Tuomas Vesterinen tuomas.vesteri...@iki.fi wrote:
If I want to open a html-page from Python code I can say:
import webbrowser
webbrowser.open('index.html')
Is there a standard way to init an email in users preferred email client
like Thubderbird
Tinybooker 0.2.2 released at http://tinybooker.org/
Tinybooker is an accounting program offering the dual accounting
core functionality for moderate size accountings:
* Assisted establishing new accountings
* Localized scheme templates
* Easy entering and saving new entries
*
.py, line
22, in ?
from glib._glib import *
ImportError: /usr/lib/libpyglib-2.0-python.so.0: undefined symbol:
_PyObject_CallFunction_SizeT
What I should say more to get access to the GTK?
Tuomas Vesterinen
--
http://mail.python.org/mailman/listinfo/python-list
On 05/16/2010 05:04 PM, Dave Angel wrote:
(You forgot to include the python-list in your response. So it only
went to me. Normally, you just do reply-all to the message)
mannu jha wrote:
On Sun, 16 May 2010 13:52:31 +0530 wrote
mannu jha wrote:
Hi,
I have few files like this:
file1:
On 05/16/2010 02:38 PM, Alister wrote:
On Sun, 16 May 2010 12:07:08 +0300, Tuomas Vesterinen wrote:
I am testing an application GUI with Python 2.4, 2.5 and 2.6. The native
Python (in Fedora 12) is 2.6. Versions 2.4 and 2.5 are alt-installed.
Aplication GUI uses:
import pygtk
pygtk.require
in format '%a %e. %Bta %Y %T'
strftime('%d.%m.%Y')='09.05.2009'
strptime('09.05.2009','%d.%m.%Y')=
2009-05-09 00:00:00
strftime('%T')='11:26:12'
strptime('11:26:12','%T')=
'T' is a bad directive in format '%T'
What to do.
Tuomas Vesterinen
--
http://mail.python.org/mailman/listinfo
Nick Craig-Wood wrote:
Tuomas Vesterinen tuomas.vesteri...@iki.fi wrote:
I hoped that I could get rid of my special module _strptime2 when
porting to Python 3.0. But testing is a disappointment.
[snip]
C :
strftime('%a %b %e %H:%M:%S %Y')='Sat May 9 11:26:12 2009'
strptime('Sat
.
import locale
locale.setlocale(locale.LC_COLLATE, 'en_US.utf8')
'en_US.utf8'
key1=locale.strxfrm('maupassant guy')
for i in range(10):
... print(locale.strxfrm('maupassant guy')==key1)
...
False
True
False
False
False
False
False
False
False
False
Tuomas Vesterinen
--
http://mail.python.org
Thanks. Bug report done, issue 6093.
Tuomas Vesterinen
Gabriel Genellina wrote:
En Fri, 22 May 2009 06:32:40 -0300, Tuomas Vesterinen
tuomas.vesteri...@iki.fi escribió:
This was fixed once in Python 2.5, but in Python 3.0 the bug
celebrates its comeback. The tail of the strxfrm result
')
#endif
end code
results:
cpp -E -Dpython2 test_cpp.py
...
print u'foo', u'bar'
Any other suggestions?
Tuomas Vesterinen
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
Tuomas Vesterinen wrote:
I am developing a Python application as a Python2.x and Python3.0
version. A common code base would make the work easier. So I thought to
try a preprosessor. GNU cpp handles this kind of code correct:
Any other suggestions?
http
Kless wrote:
Is there any way of to get the class name to avoid to have that write
it?
---
class Foo:
super(Foo, self)
---
* Using Py 2.6.2
class Foo(object):
... def cls(self):
... return self.__class__
...
Foo().cls()
class '__main__.Foo'
--
R. David Murray wrote:
Tuomas Vesterinen tuomas.vesteri...@iki.fi wrote:
I am developing a Python application as a Python2.x and Python3.0
version. A common code base would make the work easier. So I thought to
try a preprosessor. GNU cpp handles this kind of code correct:
test_cpp.py
#ifdef
Roger Binns wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tuomas Vesterinen wrote:
I am intensively using 2to3.py. So I have 2 codebase: one in py2 and the
other in py3.
The expectation would be that you only maintain the py2 code and
automatically generate the py3 code on demand
New submission from Tuomas Vesterinen tuomas.vesteri...@iki.fi:
This was fixed once in Python 2.5, but in Python 3.0 the bug celebrates
its comeback. The tail of the strxfrm result is ambiguous.
Python 3.0.1 (r301:69556, Apr 14 2009, 14:30:31)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2
16 matches
Mail list logo