TkInter Scrolled Listbox class?

2024-11-04 Thread Ulrich Goebel via Python-list
problem which I can't handle is to handle the Frame which seems to be needed to place the Scrollbar somewhere. Best regards Ulrich -- Ulrich Goebel -- https://mail.python.org/mailman/listinfo/python-list

Best Practice Virtual Environment

2024-10-05 Thread Ulrich Goebel via Python-list
) doesn't allow to pip install required packages system wide, so I have to use virtual environments even there. But is it right, that I have to do that for every single user? Can someone give me a hint to find an howto for that? Best regards Ulrich -- Ulrich Goebel -- https://mail.pytho

Python 3.8 or later on Debian?

2024-09-18 Thread Ulrich Goebel via Python-list
? I'm not a friend of things so deep in the system... Greetings Ulrich -- Ulrich Goebel -- https://mail.python.org/mailman/listinfo/python-list

Difference method vs attribut = function

2024-06-29 Thread Ulrich Goebel via Python-list
unctions to different instances of MyClass. It is in the context of a database app where I build Getters for database data and pass one Getter per instance. Thanks for hints Ulrich -- Ulrich Goebel -- https://mail.python.org/mailman/listinfo/python-list

Re: strptime for different languages

2019-12-17 Thread Ulrich Goebel
użytkownik Ulrich Goebel napisał: 13. Januar 1965 13. January 1965 13.01.1965 1965-01-13 02.03.2000 Is it Mar, 2nd 2000 or Feb, 3rd 2000? -- Ulrich Goebel Am Büchel 57, 53173 Bonn -- https://mail.python.org/mailman/listinfo/python-list

Re: strptime for different languages

2019-12-17 Thread Ulrich Goebel
That's absolutely great, thank You! Am 17.12.19 um 11:53 schrieb Jon Ribbens via Python-list: On 2019-12-17, Ulrich Goebel wrote: I need to interpret a date string to get a datetime object. That should be done with strptime from the module datetime. But I don't know enough about

strptime for different languages

2019-12-17 Thread Ulrich Goebel
e possible languages.) Best regards Ulrich -- Ulrich Goebel Am Büchel 57, 53173 Bonn -- https://mail.python.org/mailman/listinfo/python-list

Re: os.system vs subrocess.call

2019-11-28 Thread Ulrich Goebel
Sorry for the wrong spelling. In fact subprocess.call('./Test.py') works. The raising error was my error too, using ['./', 'Test.py'] instead of './Test.py' Sorry... Am 28.11.19 um 11:05 schrieb Ulrich Goebel: Hi, I have to call commands fro

os.system vs subrocess.call

2019-11-28 Thread Ulrich Goebel
session) File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg) PermissionError: [Errno 13] Permission denied Using subprocess.call(['./', 'Test.py'], shell=True) I get Test.py: 1: Test.py: ./: Permission d

Function to call a extern command as a filter

2019-09-25 Thread Ulrich Goebel
read the outputfile into the string l return (l) What would be nice: I would like to avoid the extra steps writing an reading extern files. Can anybody help me? Thanks Ulrich -- Ulrich Goebel Am Büchel 57, 53173 Bonn -- https://mail.python.org/mailman/listinfo/python-list

Escape-Sequenzen in einem String identifizieren

2017-10-01 Thread Ulrich Goebel
herauszufinden, suche ich eine Funktion zeige_escape(string), die mir liefert: s = 'Hallo\nNeue Zeile' zeige_escape(s) Hallo\nNeue Zeile print hilft nicht, denn print(s) Hallo Neue Zeile Hat jemand eine Idee? Dank und Gruß Ulrich -- Ulrich Goebel Am Büchel 57, 53173 Bon

Re: Making Labels from python

2014-03-09 Thread Ulrich Goebel
Many thanks for the moment. I will try reportlab the next days. Am 09.03.2014 22:29, schrieb Ulrich Goebel: Hallo, has anybody an idea how to make small formated documents redy to print with python? I would like to print address labels as firstname lastname street and number cip

Making Labels from python

2014-03-09 Thread Ulrich Goebel
pagesize (labelsize) and a minimum format (boldface). But may be there is another light-weight-format besides PDF? Any idea? Ulrich -- Ulrich Goebel Paracelsusstr. 120, 53177 Bonn -- https://mail.python.org/mailman/listinfo/python-list

Trouble with utf-8 values

2013-11-04 Thread Ulrich Goebel
e byte 0xc3 in position 6: ordinal not in range(128) The "position 6" is exactly the position of the special character, ß in this case. What to do? Ulrich -- Ulrich Goebel Paracelsusstr. 120, 53177 Bonn -- https://mail.python.org/mailman/listinfo/python-list

Re: "Backward"-Iterator - Beginners question

2013-11-01 Thread Ulrich Goebel
Hi Am 31.10.2013 23:35, schrieb Terry Reedy: On 10/31/2013 5:29 PM, Ulrich Goebel wrote: I'm locking for an "iterator" type with not only the .next() method, but with a .previous(), .first() and .last() method, so that I can through it from the beginning or from the e

"Backward"-Iterator - Beginners question

2013-10-31 Thread Ulrich Goebel
ward, two steps forward). Any help will be wellcome! Ulrich -- Ulrich Goebel Paracelsusstr. 120, 53177 Bonn -- https://mail.python.org/mailman/listinfo/python-list

Re: sorting german characters äöü... solved

2013-10-30 Thread Ulrich Goebel
idecode does - and what it doesn't. There is also a rather long-ish recent topic on a similar topic that might be worth scanning as well. Sorry, I didn't find that. I've no direct/recent experience with this topic. I'm just an interested bystander. But even a helpful bys

sorting german characters äöü...

2013-10-30 Thread Ulrich Goebel
return r def compare (a, b): aa = normal(a) bb = normal(b) if aa < bb: return -1 elif aa == bb: return 0 else: return 1 That works, but my be there is a more intelligent way? Especially there could be much more r.replace to handle all the accents as ^ ° ´ ` and so on.