Am 07.11.23 um 20:10 schrieb MRAB via Python-list:
On 2023-11-07 18:30, dn via Python-list wrote:
On 08/11/2023 06.47, Egon Frerich via Python-list wrote:
I've no idea why this happens. In a module there are lists and
definitions:
...
["%s%s%s " % (i[fCONV_AUSRICHTG],
I've no idea why this happens. In a module there are lists and definitions:
Felder = [
# Name lg1 lg2 typ Ausrichtung Holen Prüfen Prüfvorg
["Jahr", 4, 5, "u", "", "right", "center"],
["Monat", 2, 5, "u", "", "right", "center"],
["Tag", 2, 3, "u", "",
tkinter is part of python
e.
Am 01.04.23 um 13:59 schrieb Jim Schwartz:
I have another question. I have an app written in python, but I want to add
a windows GUI front end to it. Can this be done in python? What packages
would allow me to do that?
Thanks.
--
https://mail.python.org/m
The class Betragswert is used for numerical values as string or integer
and for additions and subtraction.
If on the left side is '0' the result of a subtraction is wrong.
* b1 = Betragswert(500)
b2 = 0 + b1
b3 = 0 - b1
b4 = 5 + b1
b5 = 5 - b1*
print(b1, b2, b3, b4, b5) show
I have a string like
'"ab,c" , def'
and need to separate it into
"ab,c" and "def".
split separates at the first ',':
>>> bl
'"a,bc", def'
>>> bl.split(',')
['"a', 'bc"', ' def']
Egon
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python
Am 24.06.2014 10:21, schrieb haiz...@gmail.com:
> Good day,
>
> I'm starting a new project from scratch so I think its finally a time to
> switch to the latest and greatest Python 3.4.
>
> But I'm puzzled with MySQL support for Python 3. So far the only stable
> library I've found it pymysql.
>
Am 19.04.2014 14:33, schrieb bob gailer:
> On 4/16/2014 6:38 AM, Egon Frerich wrote:
>> If I use the interpreter I get:
>>
>> Python 3.3.5 (default, Apr 12 2014, 23:34:20)
>> [GCC 4.6.3] on linux
>> Type "help", "copyright", "credits"
Am 18.04.2014 13:48, schrieb Peter Otten:
> Egon Frerich wrote:
>
>
> Basically Python 3 allows for packages to omit the __init__.py
>
> $ mkdir aaa
> $ python3 -c'import aaa; print(aaa)'
>
> $ touch aaa/__init__.py
> $ python3 -c'import aaa
Am 18.04.2014 21:18, schrieb Dave Angel:
> Egon Frerich Wrote in message:
>> I have a problem with a namespace.
>>
>
> So you started 4 separate threads to complain about it? Keep any
> further remarks on the thread where you got a useful response.
>
>
>
I have a problem with a namespace. There is a module mptt (actally from
Django). If I import this module with the interpreter it tells me the
namespace:
Python 3.3.5 (default, Apr 12 2014, 23:34:20)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> imp
If I use the interpreter I get:
Python 3.3.5 (default, Apr 12 2014, 23:34:20)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mptt
>>> print(mptt)
>>>
But if I import mptt in my program the print-statement gives
What is the meaning? When
If I use the interpreter I get:
Python 3.3.5 (default, Apr 12 2014, 23:34:20)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mptt
>>> print(mptt)
>>>
But if I import mptt in my program the print-statement gives
What is the meaning? When
I have a problem with a namespace. There is a module mptt (actally from
Django). If I import this module with the interpreter it tells me the
namespace:
Python 3.3.5 (default, Apr 12 2014, 23:34:20)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to format values to the german form eg. 1.034,56 but
locale.format() doesn't work for me.
Here is a little test program:
import decimal, locale
print locale.getdefaultlocale()
print locale.localeconv()
locale.setlocale(locale.LC_ALL, ('de_DE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The documentation is here:
http://www.wxpython.org/onlinedocs.php
In "Alphabetical class reference" you can find for example wxButton with
its methods. Yes - there is no function 'SetBackgroundColour'. But there
is a list with classes from which wxB
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brentt schrieb:
| Hi, I know this is a terribly simple question, but the docs seem to be
| designed for people who probably find a the answer to this question
| terribly obvious. But its not at all obvious to me.
|
| I can't figure out why when I defi
Steve Phillips schrieb:
Hi All,
I am just wondering what seems to be the most popular IDE. The reason
I ask is I am currently at war with myself when it comes to IDE's. It
seems like every one I find and try out has something in it that
others don't and viceversa. I am in search for the perfect I
eloi-ribeiro.blogspot.com schrieb:
> Hi everyone,
>
> I would like to use a python script to export (save as...) all my
> contacts in Evolution to VCard format (.vcf). I am a beginner so I
> don't knock how to use evolution-python module. The second part of the
> script would be to make inserts to
Sean Tierney schrieb:
>>From Twisted's website "Twisted is a networking engine written in
> Python, supporting numerous protocols. It contains a web server,
> numerous chat clients, chat servers, mail servers, and more.
>
> Given that Zope is also a written in python, supports numerous
> protocols
Chris Brat schrieb:
> I've seen a few posts, columns and articles which state that one of the
> advantages of Python is that code can be developed x times faster than
> languages such as <>.
>
> Does anyone have any comments on that statement from personal
> experience?
> How is this comparison mea
which is the workflow. At
> the same time, I have to implement/enforce some form of Access control for
> the users, so they don't screw up with files that they shouldn't touch...
>
> If there's anyone on this list that I could talk to, I'd appreciate it..
>
> Tha
f the documents
> I've seen are apparently geared towards Zope 2.X. Where are the Zope3
> docs?
For example:
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage/Zope3Book
>
> Thanks.
>
--
Egon Frerich, Freudenbergstr. 16, 28213 Bremen
E-Mail: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
how to build
>> bridges so everyone can benefit without being full-time Zope masters.
>>
>> Toward that end, I wrote a little quick start guide that might help the
>> OP: http://www.benjiyork.com/quick_start
>
>
--
Egon Frerich, Freudenbergstr. 16, 28213 Bremen
E-Mail: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
objects
> would work with any object implementing this interface.
>
> How would I approach this problem in Python? I think I would use an
> abstract class instead of an interface for IFixable, since Python
> supports multiple inheritance, but I'm not sure this is correct.
&g
or: PyShell instance has no attribute 'encoding'
>>
>> This same code works if I just double-click it (run it in the windows
>> console) instead of using IDLE.
>>
>> I'm using Python 2.4.3 and IDLE 1.1.3.
>
> FWIW all of the abov
25 matches
Mail list logo