Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Increasing speed while a button is held down?
Post: RE: Increasing speed while a button is held down?

Ok Thanks I'll try!
Reldaing Game Development 2 776 Jun-21-2020, 05:27 PM
    Thread: Increasing speed while a button is held down?
Post: Increasing speed while a button is held down?

Hi, I'm currently making a game on Pygame, and I want the rectangle to move 40 by 40 while the button is held,and faster and faster while it's pressed, but I could only do it once, and not while it's ...
Reldaing Game Development 2 776 Jun-21-2020, 11:36 AM
    Thread: Pygame : clearing a screen issue
Post: Pygame : clearing a screen issue

Hi, I'm currently stuggling with clearing my screen on pygame when a button is clicked. For example, when pygame.mouse.get_pressed()[0]==1 in my loop for the start button,it launches the start functio...
Reldaing Game Development 4 1,471 Jun-09-2020, 03:14 PM
    Thread: Pyplot and circle
Post: Pyplot and circle

Hi! I'm using matplotlib.pyplot and I wanted to know if it was possible to create a circle only with the coordonates of the center and the coordonates of a point on the circle. Thanks! for example: I ...
Reldaing General Coding Help 0 425 Apr-01-2020, 10:44 AM
    Thread: Class issue
Post: RE: Class issue

(Mar-31-2020, 10:05 PM)deanhystad Wrote: def dist(self, sample) instead of def dist(sample, self) When you call self.func(a, b, c) the actual function call is func(self, a, b, c).Thanks it worked! ...
Reldaing General Coding Help 2 642 Mar-31-2020, 10:15 PM
    Thread: Class issue
Post: Class issue

Hi . I'm new to Algorithms with Python. Well, actualy, I'm trying to code one: K nearest Neighbors. My code worked perfectly until I try to automatize it and create a Class. Idk why I doesn't work. Ma...
Reldaing General Coding Help 2 642 Mar-31-2020, 09:55 PM
    Thread: Beautifulsoup and JavaScript Values
Post: RE: Beautifulsoup and JavaScript Values

Hey , sorry for bothering you, but y teacher watns it o be like this. Then , It ll be referenced in the main file "Download.py" He made many websites with mangas like mangareader etc... And he used th...
Reldaing Web Scraping & Web Development 5 1,051 Feb-23-2020, 06:54 PM
    Thread: Beautifulsoup and JavaScript Values
Post: RE: Beautifulsoup and JavaScript Values

Here it is: import requests import urllib.request import time from bs4 import BeautifulSoup import os if __name__ == '__main__': def dossier(): os.chdir("C://Users//Ridha//Desktop//Web-Sc...
Reldaing Web Scraping & Web Development 5 1,051 Feb-23-2020, 01:15 AM
    Thread: Beautifulsoup and JavaScript Values
Post: Beautifulsoup and JavaScript Values

Hi, I'm trying to get a value from the soup that i created. Here's what I found: var next_chapter = "https://www.lelscan-vf.com/manga/vinland-saga/165"But the problem is that i would like to get the ...
Reldaing Web Scraping & Web Development 5 1,051 Feb-22-2020, 11:58 PM
    Thread: Tkinter exception if entries are not filled up
Post: RE: Tkinter exception if entries are not filled up

Understood. Sorry I'll post MREs when it's a long post. Thank you for having taken the time to inform me. **thumbsup**
Reldaing GUI 6 761 Jan-07-2020, 11:04 PM
    Thread: Tkinter exception if entries are not filled up
Post: RE: Tkinter exception if entries are not filled up

Yeah I know this is just a part of it
Reldaing GUI 6 761 Jan-07-2020, 10:27 PM
    Thread: Tkinter exception if entries are not filled up
Post: Tkinter exception if entries are not filled up

Hi, he're my request: I want that if all the entries are not filled , the button stays disabled and if not, the button enables. I tried to but I didn't manage it. Could you tell me what's going wrong ...
Reldaing GUI 6 761 Jan-07-2020, 10:15 PM
    Thread: Issue on tkinter with buttons
Post: Issue on tkinter with buttons

Hi, Here's my problem I want that when You press "button3" after having pressed"button", it also destroys label6 from" do_it" function. def do_it(): F= calcul_salarie(i.get(), k.get(), r...
Reldaing GUI 1 1,117 Jan-06-2020, 07:42 PM
    Thread: Problem with Submit button Tkinter
Post: Problem with Submit button Tkinter

HI, If you take a look on my precedent code , I managed to do it. The issue is when I press the button "make_it", it prints me 0, so I think that nothing happened and the values that I registered were...
Reldaing GUI 2 1,200 Jan-04-2020, 09:39 AM
    Thread: Functions with Tkinter
Post: RE: Functions with Tkinter

Thx bro **thumbsup**
Reldaing GUI 2 1,261 Jan-03-2020, 06:57 PM
    Thread: Functions with Tkinter
Post: Functions with Tkinter

Hi there, I'm new to tkinter. I want to create a window, in which a button appears. I managed to make this first step. The issue is that I want when you click the button , a function which contains in...
Reldaing GUI 2 1,261 Jan-03-2020, 05:10 PM
    Thread: Columns in a table
Post: RE: Columns in a table

This was just an example of what i've made to switch lines. Now , I want to switch colums but I don't know how to do it, even if i tried...
Reldaing General Coding Help 7 931 Nov-19-2019, 09:57 PM
    Thread: Columns in a table
Post: RE: Columns in a table

I did manage changing both lines in my table, but the issue is the colums , look: def changeLines(c,d): a = [[1, 2, 3, 4, 5, 6, 7, 8, 9], [4, 5, 6, 7, 8, 9, 1, 2, 3], [7, 8, 9, 1, 2, 3, 4, 5, 6], ...
Reldaing General Coding Help 7 931 Nov-19-2019, 09:48 PM
    Thread: Columns in a table
Post: Columns in a table

Hi, I'm looking for switching two columns in a table. I made a function , but I doon't know the syntax of an array switching in python . Could you guys help me please? Thx def changeColumns(): a =...
Reldaing General Coding Help 7 931 Nov-19-2019, 09:13 PM
    Thread: List into list
Post: Array

Hi, I'm trying to get familiar with array. Right now, I've made something like a sodoku: Here's my code: def Hi1(): a = [[1, 2, 3, 4, 5, 6, 7, 8, 9], [4, 5, 6, 7, 8, 9, 1, 2, 3], [7, 8, 9, 1, 2, 3...
Reldaing General Coding Help 4 737 Nov-18-2019, 06:19 PM

User Panel Messages

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