Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: recursion task
Post: RE: recursion task

(Jan-31-2021, 05:09 AM)deanhystad Wrote: This aptly named recursive function does what you want (I think). def dumb_recursion(a, a_end, a_incr, b, b_end, b_incr): if a >= a_end or b >= b_e...
scorp08 Homework 9 3,163 Jan-31-2021, 09:13 AM
    Thread: recursion task
Post: RE: recursion task

(Jan-30-2021, 08:14 AM)buran Wrote: (Jan-30-2021, 08:12 AM)scorp08 Wrote: I would prefer recursion as to practice. Could you solve without itertools if possibleNo, I will not. You want to practic...
scorp08 Homework 9 3,163 Jan-30-2021, 08:21 AM
    Thread: recursion task
Post: RE: recursion task

(Jan-30-2021, 08:10 AM)buran Wrote: please, post the code as one block with proper indentation. If you want to comment specific line - use python comments. It's difficult to understand what you have...
scorp08 Homework 9 3,163 Jan-30-2021, 08:12 AM
    Thread: recursion task
Post: recursion task

Hello ALL I have a following : limits=[(1,9,1,"v"),(50,350,50,"d")] for i in range(len(limits)): begin=limits[i][0] end=limits[i][1] increment=limits[i][2] I want to get a list of list l...
scorp08 Homework 9 3,163 Jan-30-2021, 07:22 AM
    Thread: Why lineEdit is showing text like this ??
Post: RE: Why lineEdit is showing text like this ??

@Axel , the problem is lineEdit is generating twice as coincident each. I do not know how can I solve ? I also tried with loadUiType but same is happening
scorp08 GUI 13 4,830 Sep-08-2019, 03:10 PM
    Thread: Why lineEdit is showing text like this ??
Post: RE: Why lineEdit is showing text like this ??

So any solution to edit a class in .ui file ??
scorp08 GUI 13 4,830 Sep-07-2019, 12:11 PM
    Thread: Why lineEdit is showing text like this ??
Post: RE: Why lineEdit is showing text like this ??

The reason I am using .ui file because editing it in designer is easy and after saving, it is not required to convert to code, just save in designer and loadUi in python. Seems easy. Furthermore, If c...
scorp08 GUI 13 4,830 Sep-06-2019, 10:26 PM
    Thread: Why lineEdit is showing text like this ??
Post: Why lineEdit is showing text like this ??

The below code is showing lineEdit such that when a text is written, it showed the text not throughout of the width of the lineEdit. Kind of seemed like it is divided by half. Based on my try and err...
scorp08 GUI 13 4,830 Sep-06-2019, 01:10 PM

User Panel Messages

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