Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: GTK WebView, failed to load shared libraries.
Post: GTK WebView, failed to load shared libraries.

Hey there, troubling with the the WebView from WebKitGTK. Created a large project using the WebView at some points. On my old OS (Linux Mint 19) all worked well, but after setting up my new notebook w...
TimeMen GUI 0 2,216 Nov-07-2018, 12:55 PM
    Thread: .remove() method in for-loop
Post: RE: .remove() method in for-loop

Why not doing like this? >>> sw = ['go', 'bo', 'bo', 'bo', 'bo'] >>> for i in range(0, sw.count("bo")): ... sw.remove("bo") ... >>> sw ['go']Well, ichabod was faster an...
TimeMen Homework 7 4,403 Oct-08-2018, 08:30 PM
    Thread: Gtk.EntryCompletion, get all suggestions, not only beginning with entered string.
Post: Gtk.EntryCompletion, get all suggestions, not only...

Hey there, Have a Gtk.EntryCompletion connected to a textbox like this: liststore = Gtk.ListStore(str) f = open("vogelarten_dt.info", 'r').readlines() for item in f: liststore.append([item[:-1]])...
TimeMen GUI 0 2,059 Oct-08-2018, 06:44 PM
    Thread: Gtk3, grab output of python into dialogue?
Post: Gtk3, grab output of python into dialogue?

Hey there, not sure if i post at the right place. I use google_images_download (available via pip) to get images from Google. I wanna put the output into a Gtk3+ dialogue or better something like a p...
TimeMen Networking 0 1,925 Sep-16-2018, 08:07 PM
    Thread: Update Gtk.Label in for-loop
Post: RE: Update Gtk.Label in for-loop

for zahl in range(start, end+1): function(self, zahl, steps, counter, prim_counter) counter +=1 if not numlist: if not divlist: ...
TimeMen GUI 3 6,012 Jun-07-2018, 07:46 PM
    Thread: Update Gtk.Label in for-loop
Post: Update Gtk.Label in for-loop

How can I update a Gtk.Label in a foor loop? It's not updating via .set_text("bbb"). Is there any trick to do this? Greetings TimeMen
TimeMen GUI 3 6,012 Jun-07-2018, 04:29 PM
    Thread: Periodic Fractions with Fraction or float_to_ratio?
Post: RE: Periodic Fractions with Fraction or float_to_r...

@volcano63 I know about using .limit_denominator(), but how do I have to choose it's argument? If I use Fraction(1.4236111111111112).limit_denominator(200) I get the right result. But what if I don't ...
TimeMen Homework 3 2,971 May-20-2018, 10:12 AM
    Thread: Periodic Fractions with Fraction or float_to_ratio?
Post: Periodic Fractions with Fraction or float_to_ratio...

Hey there, having little trouble with some numbers. Wanna convert 205/144 (which is as float: 1.4236111111...) into its fraction 205/144. This is possible with Fraction or float_to_ratio, like its men...
TimeMen Homework 3 2,971 May-19-2018, 08:01 PM
    Thread: Split string at specific number
Post: RE: Split string at specific number

Uh, yes. Here it is. for i in range(0, len(pi)): x = int(pi[i]) if 0 < x < 3: y = int(pi[i+1]) if x == 1: char = int(pi[i] + pi[i+1]) + 65 chars.append(chr(char)) if x == 2 and y...
TimeMen General Coding Help 6 4,031 Apr-29-2018, 07:13 AM
    Thread: Split string at specific number
Post: Split string at specific number

Hey there, at first, excuse my bad English. It's not my mother tongue. Now to my question: Through some experiments I got some random strings containing only numbers looking like that: "0258730498671...
TimeMen General Coding Help 6 4,031 Apr-28-2018, 08:47 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020