Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: player just randomly teleporting to the edge of a platform in pygame
Post: RE: player just randomly teleporting to the edge o...

nevermind I solved the problem
BliepMonster Game Development 5 2,240 Jan-25-2023, 07:18 PM
    Thread: player just randomly teleporting to the edge of a platform in pygame
Post: RE: player just randomly teleporting to the edge o...

(Jan-24-2023, 09:59 PM)deanhystad Wrote: Once you land on the floor you start doing this: def handle_collision(self, floor): self.y = floor.y - self.height self.y_velocity = 0 ...
BliepMonster Game Development 5 2,240 Jan-25-2023, 10:56 AM
    Thread: player just randomly teleporting to the edge of a platform in pygame
Post: player just randomly teleporting to the edge of a ...

import pygame # Initialize pygame pygame.init() # Set the screen size and caption screen = pygame.display.set_mode((800, 600)) pygame.display.set_caption("My Mario Game") class Mario(): def __i...
BliepMonster Game Development 5 2,240 Jan-24-2023, 06:32 PM
    Thread: Updating tkinter text
Post: RE: Updating tkinter text

(Nov-24-2022, 07:22 PM)wuf Wrote: It works also like this: import tkinter as tk import time def get_time(canvas): show = time.strftime(f'%I:%M:%S %P') canvas.itemconfig(var, text=show) ...
BliepMonster GUI 5 5,659 Nov-27-2022, 05:00 PM
    Thread: while loops
Post: RE: while loops

(Nov-24-2022, 10:08 PM)CJM125 Wrote: I'm completely new to Python and coding in general. I've been asked to write a program that always asks the user to enter a number. When the user enters the nega...
BliepMonster Homework 4 2,069 Nov-25-2022, 08:38 AM
    Thread: Updating tkinter text
Post: Updating tkinter text

Is there any possible way to update the canvas text with the tkinter canvas? I have a variable with the number that has to keep updating and a variable with the text, including the number. I have a co...
BliepMonster GUI 5 5,659 Nov-24-2022, 03:40 PM
    Thread: I give 5€ per year to Wikipedia
Post: RE: I give 5€ per year to Wikipedia

That's nice, however, there are people destroying wikipedia pages. One of my friend's classmates was once permanently banned for modifying a page so it would have the word 'lol' for hundreds of lines....
BliepMonster Bar 17 5,617 Nov-23-2022, 06:46 PM
    Thread: I need a mentor
Post: RE: I need a mentor

(Sep-21-2022, 01:57 PM)rob101 Wrote: Hi. I'd not expect anyone to give you one-on-one mentoring, but, on the other hand, you'll get as much help as the community can offer, if you get stuck and hav...
BliepMonster Bar 5 1,593 Nov-23-2022, 06:36 PM
    Thread: What do you do outside of work?
Post: RE: What do you do outside of work?

(Oct-20-2022, 07:09 PM)tantony Wrote: In my defense **smile** , I'm a Network Admin, so I don't really do 3d model, and robotics for work. So technically, they are outside work activities **biggri...
BliepMonster Bar 4 1,444 Nov-23-2022, 06:34 PM
    Thread: New Users Introduce Yourself
Post: RE: New Users Introduce Yourself

(Sep-13-2016, 04:53 PM)Yoriz Wrote: Please feel welcome to use this thread to introduce yourself to the forum.Yea I'm pretty new like 1 month into programming, maybe two. I got some books and I'm st...
BliepMonster Bar 430 224,720 Nov-23-2022, 06:29 PM
    Thread: AssertionError when trying the sys module in python
Post: RE: AssertionError when trying the sys module in p...

(Nov-21-2022, 04:24 PM)Gribouillis Wrote: This is interesting, it actually works to write text in green, blue or red and other colors of the syntax highlighting configuration. The underlying mechani...
BliepMonster General Coding Help 10 2,041 Nov-21-2022, 08:43 PM
    Thread: Python Traceback Error
Post: RE: Python Traceback Error

(Nov-21-2022, 06:30 AM)mg24 Wrote: Hi Team, I am running python script via command line, getting below error. Error is showing in two py files. Traceback main.py at line ----->11 test.py at lin...
BliepMonster General Coding Help 2 903 Nov-21-2022, 01:52 PM
    Thread: AssertionError when trying the sys module in python
Post: RE: AssertionError when trying the sys module in p...

(Nov-20-2022, 07:04 PM)Gribouillis Wrote: (Nov-20-2022, 05:19 PM)BliepMonster Wrote: I already found a solution, so I won't use 'Rich' or anything else.Can you share your solution to print with co...
BliepMonster General Coding Help 10 2,041 Nov-21-2022, 12:24 PM
    Thread: AssertionError when trying the sys module in python
Post: RE: AssertionError when trying the sys module in p...

(Nov-20-2022, 03:09 PM)Larz60+ Wrote: Quote:Does that work in IDLE? Because anything for color except sys doesn't work on IDLE, as far as I know. My opinion: Get rid of IDLE and pick a real IDE. Ev...
BliepMonster General Coding Help 10 2,041 Nov-20-2022, 05:19 PM
    Thread: AssertionError when trying the sys module in python
Post: RE: AssertionError when trying the sys module in p...

(Nov-20-2022, 02:52 PM)Larz60+ Wrote: see this post which uses 'rich' package for colorizing text https://python-forum.io/thread-38602-pos...#pid163693 Does that work in IDLE? Because anything for ...
BliepMonster General Coding Help 10 2,041 Nov-20-2022, 02:53 PM
    Thread: AssertionError when trying the sys module in python
Post: AssertionError when trying the sys module in pytho...

I was trying to make it so that it wrote the variable 'hp' in red. import sys color = sys.stdout.shell hp = 100 color.write(hp, 'COMMENT')Got this error. Error:Traceback (most recent call last): Fi...
BliepMonster General Coding Help 10 2,041 Nov-20-2022, 12:50 PM
    Thread: ANSI not working for change of text colors
Post: RE: ANSI not working for change of text colors

(Nov-04-2022, 12:23 PM)snippsat Wrote: BliepMonster Wrote:I am using python 3.9 and the Windows PowerShell to install libraries. I don't know what OS.OS means Operating System and you should know th...
BliepMonster General Coding Help 10 3,245 Nov-10-2022, 09:28 AM
    Thread: ANSI not working for change of text colors
Post: RE: ANSI not working for change of text colors

(Nov-03-2022, 05:22 PM)snippsat Wrote: (Nov-03-2022, 04:15 PM)BliepMonster Wrote: I tried to use the colorama, but it just said the same as the ANSII.It want work because you use cmd,a better shel...
BliepMonster General Coding Help 10 3,245 Nov-04-2022, 11:03 AM
    Thread: ANSI not working for change of text colors
Post: RE: ANSI not working for change of text colors

(Nov-03-2022, 05:19 PM)deanhystad Wrote: What shell are you using? What os? What Python? I am using python 3.9 and the Windows PowerShell to install libraries. I don't know what OS.
BliepMonster General Coding Help 10 3,245 Nov-04-2022, 10:58 AM
    Thread: ANSI not working for change of text colors
Post: RE: ANSI not working for change of text colors

(Nov-03-2022, 03:53 PM)deanhystad Wrote: '\033[2;31;43m Text Color Test' But you should use a library instead of embedding ascii codes. https://www.geeksforgeeks.org/print-colo...-terminal/I tried...
BliepMonster General Coding Help 10 3,245 Nov-03-2022, 04:15 PM

User Panel Messages

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