Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Using Tkinter inside function not working
Post: RE: Using Tkinter inside function not working

the canvas object you created is not visible to the paintRectangle[1-4] methods due to being out of scope of the subject methods, you can either adopt an object oriented approach to the above problem ...
iMuny GUI 5 4,865 Dec-22-2020, 01:46 PM
    Thread: Optimizations For tkinter Canvas
Post: Optimizations For tkinter Canvas

I hope everyone is doing well. I tried making a simple graphics engine using tkinter and it's canvas, heavily inspired from, https://github.com/hnhaefliger/PyEngine3D However, the code is too slow fo...
iMuny Code Review 0 3,691 Dec-22-2020, 01:20 PM
    Thread: PyAudio [Errorno -9999] Unanticipated Host Error
Post: RE: PyAudio [Errorno -9999] Unanticipated Host Err...

Thank you for the help, however unfortunately, following your advice did not resolve the issue. I believe something has gotten messed up in my portaudio binary. I tried removing and reinstalling it bu...
iMuny General Coding Help 5 5,562 Sep-21-2020, 07:24 AM
    Thread: PyAudio [Errorno -9999] Unanticipated Host Error
Post: RE: PyAudio [Errorno -9999] Unanticipated Host Err...

Thank you for the response. however, unfortunately rebooting, using a different file etc doesn't solve the problem, i have tried by reinstalling pyaudio too but the error still persists
iMuny General Coding Help 5 5,562 Sep-20-2020, 08:31 AM
    Thread: PyAudio [Errorno -9999] Unanticipated Host Error
Post: PyAudio [Errorno -9999] Unanticipated Host Error

Hello, I hope everyone is doing well. I have been using pyaudio for quite some time now, however, recently it stopped working and throwing me an OSERROR, I don't specifically remember changing anythi...
iMuny General Coding Help 5 5,562 Sep-19-2020, 01:18 PM
    Thread: Networking Help
Post: Networking Help

Hello everyone, i hope everyone is fine. This is not specifically a Python issue per se, however, I'm lacking a bit of networking understanding and am stuck with my Python project. The problem is as u...
iMuny Networking 1 2,012 Apr-13-2020, 11:31 AM
    Thread: Very High CPU Usage [Networking, Threads]
Post: RE: Very High CPU Usage [Networking, Threads]

Will update after trying tonight (Jan-10-2020, 08:58 AM)DeaD_EyE Wrote: Try to put a sleep inside the while True block: def read_input(self): while True: time.sleep(0.1) ...
iMuny Code sharing 4 5,108 Jan-10-2020, 09:25 AM
    Thread: using input() to control python turtles
Post: RE: using input() to control python turtles

try c = input()input takes a string argument which is the prompt.
iMuny General Coding Help 4 3,538 Jan-09-2020, 07:29 PM
    Thread: Very High CPU Usage [Networking, Threads]
Post: Very High CPU Usage [Networking, Threads]

Hello everyone, This script below is sort of a peer to peer local network communication system. I tried studying asyncio which i believed to be suitable for my purposes, however, it goes over my head...
iMuny Code sharing 4 5,108 Jan-09-2020, 07:22 PM
    Thread: PyQt5 : Interpreter Crashes While Initializing Message Box
Post: RE: PyQt5 : Interpreter Crashes While Initializing...

I figured out the problem tho, i was trying to initialize the Message Box without starting the QT application main loop first i.e. QtWidget.QApplication(sys.argv)
iMuny GUI 7 5,608 Aug-29-2019, 01:38 PM
    Thread: PyQt5 : Interpreter Crashes While Initializing Message Box
Post: RE: PyQt5 : Interpreter Crashes While Initializing...

(Aug-23-2019, 11:41 AM)Alfalfa Wrote: Not sure that is your problem, but you should use "exec_" instead of "exec", which is a reserved python method since version 3. I've tried that too. On a side n...
iMuny GUI 7 5,608 Aug-23-2019, 12:36 PM
    Thread: PyQt5 : Interpreter Crashes While Initializing Message Box
Post: RE: PyQt5 : Interpreter Crashes While Initializing...

(Aug-23-2019, 07:22 AM)Axel_Erfurt Wrote: did you not show the MainWindow() ? if __name__ == '__main__': connectDB() app = QtWidgets.QApplication(sys.argv) MainApplication = MainWindow(...
iMuny GUI 7 5,608 Aug-23-2019, 10:16 AM
    Thread: Server and Network (socket) [WinError 10053]
Post: RE: Server and Network (socket) [WinError 10053]

I've made some modifications to your threaded_client method, the modified method is below def threaded_client(conn): conn.send(str.encode("Connected")) reply = "" while True: try:...
iMuny Networking 1 4,537 Aug-23-2019, 10:03 AM
    Thread: PyQt5 : Interpreter Crashes While Initializing Message Box
Post: PyQt5 : Interpreter Crashes While Initializing Mes...

Hello forum members. I hope everyone is doing well. Can someone please look at the code below and tell me what i am doing wrong. I've been using the same messagebox in other projects as well without ...
iMuny GUI 7 5,608 Aug-23-2019, 07:11 AM
    Thread: Issues in Chat App for Local Network
Post: RE: Issues in Chat App for Local Network

(Jul-19-2019, 04:11 AM)micseydel Wrote: I'd be interested in helping if you can reproduce the problem with fewer lines of code (I'm thinking 10-20 tops) and only necessary imports. Ahh, I'm really s...
iMuny Networking 2 2,630 Aug-19-2019, 10:25 AM
    Thread: Issues in Chat App for Local Network
Post: Issues in Chat App for Local Network

Dear All I hope everyone is doing well. Below is the code for a rudimentary chat app. The server side seems to be working fine but the client side is unable to send messages to the server size and in...
iMuny Networking 2 2,630 Jul-17-2019, 01:11 PM
    Thread: PyQT5 : Unable to Create Another Dialog While One is Open
Post: RE: PyQT5 : Unable to Create Another Dialog While ...

Thank you to the both of you. That helped me work it out. Solved. Regards iMu
iMuny GUI 3 3,817 Jul-17-2019, 11:40 AM
    Thread: PyQT5 : Unable to Create Another Dialog While One is Open
Post: PyQT5 : Unable to Create Another Dialog While One ...

Dear All Hope you all are doing well. I've just recently ventured into the world of PyQt through online tuts etc. and it's feeling a bit overwhelming due to the huge resources available. I've started...
iMuny GUI 3 3,817 Jul-03-2019, 04:13 PM
    Thread: Table Maker Class
Post: RE: Table Maker Class

(Apr-09-2019, 08:39 PM)Ceegen Wrote: PEP8 my dudes. It does help lol. Sure helped me! Ran the original through pylint and made some changes. Some pylint warnings are still there which i don't unders...
iMuny Code sharing 5 3,322 Apr-10-2019, 02:34 PM
    Thread: Table Maker Class
Post: RE: Table Maker Class

(Apr-09-2019, 09:03 AM)Gribouillis Wrote: The __all_strings() feature doesn't depend on the instance. You could provide it separately using functools.singledispatch() from functools import singledis...
iMuny Code sharing 5 3,322 Apr-09-2019, 09:23 AM

User Panel Messages

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