Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [Solved] unkown (to me) function def parm "name1:name2" syntax.
Post: RE: unkown (to me) function def parm "name1:name2"...

After reading up on type annotations. I think I get the basics of it. Additional type-check info/syntax for (in this case) the main Java-application that is processing these user script. Thanks [SOLV...
MvGulik General Coding Help 5 987 Nov-11-2022, 11:21 AM
    Thread: [Solved] unkown (to me) function def parm "name1:name2" syntax.
Post: RE: unkown (to me) function def parm "name1:name2"...

(Nov-11-2022, 10:34 AM)buran Wrote: That's also a type, i.e. custom type :-) Right. Not sure in that case what else it could have been. **huh**
MvGulik General Coding Help 5 987 Nov-11-2022, 10:44 AM
    Thread: [Solved] unkown (to me) function def parm "name1:name2" syntax.
Post: RE: unkown (to me) function def parm "name1:name2"...

(Nov-11-2022, 10:16 AM)buran Wrote: Is name2 a type, like int or str?No, its some custom class provided by the main application. (Nov-11-2022, 10:16 AM)buran Wrote: This looks like type annotatio...
MvGulik General Coding Help 5 987 Nov-11-2022, 10:32 AM
    Thread: [Solved] unkown (to me) function def parm "name1:name2" syntax.
Post: [Solved] unkown (to me) function def parm "name1:n...

I came across a function definition (inside a class) which has a "name1: name2" part. def func(self, name1: name2):Has that "name1: name2" syntax a name? (general searching is a bit tricky on this one...
MvGulik General Coding Help 5 987 Nov-11-2022, 09:49 AM
    Thread: Looking for data/info on a perticular data-proccesing problem.
Post: RE: Looking for data/info on a perticular data-pro...

(Apr-29-2021, 06:50 PM)MvGulik Wrote: ... with the help of 'toposort'.toposort => "Implements a topological sort algorithm"
MvGulik General Coding Help 9 3,780 May-01-2021, 07:43 AM
    Thread: New Theme for all users
Post: RE: New Theme for all users

I find the [email, Find, rate ...] bar deceptively close to the next poster post (if there is one of course). Almost 'rated', and even after that almost also 'liked', the wrong poster/post. Or to pu...
MvGulik Board 14 15,174 Apr-29-2021, 06:53 PM
    Thread: Looking for data/info on a perticular data-proccesing problem.
Post: RE: Looking for data/info on a perticular data-pro...

After some reading, thinking and coding. I managed to reduce my source records by 90% with the help of 'toposort'. **smile** Thanks Again.
MvGulik General Coding Help 9 3,780 Apr-29-2021, 06:27 PM
    Thread: Looking for data/info on a perticular data-proccesing problem.
Post: RE: Looking for data/info on a perticular data-pro...

(Apr-28-2021, 04:37 PM)bowlofred Wrote: Looks like you're looking for topological sorting.As first glance that seems to be related yes. Although I'm not well versed in that area, I'll give it my bes...
MvGulik General Coding Help 9 3,780 Apr-28-2021, 05:52 PM
    Thread: Looking for data/info on a perticular data-proccesing problem.
Post: RE: Looking for data/info on a perticular data-pro...

But that's not what I'm trying to do. In this case: ['bats','eagles','aligators'] (moved 'aligators' from begin to end) ['bats','cats','eagles'] ['cats','dogs','eagles'] It should return: ['bats', '...
MvGulik General Coding Help 9 3,780 Apr-28-2021, 03:39 PM
    Thread: Looking for data/info on a perticular data-proccesing problem.
Post: Looking for data/info on a perticular data-procces...

Doing some, to me tricky, data processing. And I'm wondering if it might be related to some general (math, logic, science, ...) problem. And if anyone might know some helpfull search words, or even po...
MvGulik General Coding Help 9 3,780 Apr-28-2021, 06:12 AM
    Thread: console progressbars
Post: RE: console progressbars

A little simple pure text based progress bar. In my case the output pane will not do a true carriage return(\r), but will do an additional line feed (\r => \r\n). (The picked Pbar characters are ...
MvGulik Code sharing 8 6,801 Apr-21-2021, 07:01 AM
    Thread: Stumped by my own code (ratio & epoch-time calculation).
Post: RE: Stumped by my own code (ratio & epoch-time cal...

After reading that, and a bit of thinking (with some math chalking on a blackboard help) I now realize why it works. (real seconds elapsed) / (real seconds per game year) = int(number of full game-ye...
MvGulik General Coding Help 2 2,090 Dec-30-2020, 12:04 AM
    Thread: Stumped by my own code (ratio & epoch-time calculation).
Post: Stumped by my own code (ratio & epoch-time calcula...

How to explain this ... In a nutshell. I have done something weird in my code/calculations. And now, a few days later, I can't figure out why its actually working as expected. (blocking me from addin...
MvGulik General Coding Help 2 2,090 Dec-29-2020, 07:50 PM
    Thread: Free keys and coupons, sales
Post: RE: Free keys and coupons, sales

"Postal 2" Giveaway @ Gog (45H timeout)
MvGulik Bar 91 117,562 Dec-16-2019, 04:46 PM
    Thread: Free keys and coupons, sales
Post: RE: Free keys and coupons, sales

Wasteland 2 Director's Cut Digital Classic Edition - Giveaway @ GOG (39H left - Post date) (Still a bit sore about missing Freespace 2 giveaway. lol)
MvGulik Bar 91 117,562 Dec-11-2019, 10:53 PM
    Thread: Math Trainer site(s)
Post: RE: Math Trainer site(s)

Think I'm kinda done with mathtrainer.org. Most UI parts are now blurred out, kinda killing the general enjoyment part of it. [Image: https://imgur.com/EKwt8T7m.png] (Also looks I'm not really levelin...
MvGulik Bar 3 3,886 Oct-17-2019, 09:47 AM
    Thread: Supscript tag not working.
Post: RE: Supscript tag not working.

Its an option in the full-editing menu bar, suggesting its a by default supported tag.(never-mind) Text Supscript **smile**
MvGulik Board 4 3,156 Sep-15-2019, 01:21 PM
    Thread: Supscript tag not working.
Post: Supscript tag not working.

Text Bold Text Italic Text Underscore Text Strikeout Text Subscript Text Supscript
MvGulik Board 4 3,156 Sep-15-2019, 01:03 PM
    Thread: Use Of Real Names In Postings
Post: RE: Use Of Real Names In Postings

(kinda thinking out-loud ...) When it come to using the same handle[1][2] across the internet, that will become more difficult over time. [1] If one is inclined to do so. [2] real name related or no...
MvGulik Board 19 7,679 Sep-15-2019, 12:42 PM
    Thread: Math Trainer site(s)
Post: RE: Math Trainer site(s)

Bummer ... Math-trainer site went Premium. **undecided** [Image: https://i.imgur.com/WUXh88Am.png] Well at least my dark-theme setting stuck around ... for now. + Oops, ALL pre-premium setting wher...
MvGulik Bar 3 3,886 Sep-14-2019, 08:58 AM

User Panel Messages

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