Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Help with espeak
Post: Help with espeak

Hi all! I've been using espeak for one of my projects. I noticed a while back that sometimes it sounded like the synth voice would stutter or sound garbled. I thought the problem was caused because...
microphone_head Game Development 0 2,302 Apr-09-2020, 10:40 AM
    Thread: Resource or zip file?
Post: RE: Resource or zip file?

Thanks for the help **smile** metulburr and friv2019. I'm starting to think along the same lines, using sprite sheets.
microphone_head Game Development 7 4,109 May-27-2019, 06:43 AM
    Thread: How can I use Tkinter with pygame
Post: RE: How can I use Tkinter with pygame

I think I've acquired enough here in this prototype. I'm going to go ahead and plug this bad boy into my game and start testing **dance** . Thank you all for your patience **smile** . import tkin...
microphone_head GUI 4 15,216 May-02-2019, 12:39 PM
    Thread: How do I stop window changing size?
Post: RE: How do I stop window changing size?

My bad **doh** . It does have a width property. Would delete post but can't find the option to **angel** . The link below is a pretty good source of information on the different widgets and the a...
microphone_head GUI 1 2,371 May-02-2019, 11:34 AM
    Thread: How do I stop window changing size?
Post: How do I stop window changing size?

Hi People, I'm having trouble preventing the labels from changing their widths, and thus increasing and decreasing the Tkinter window **wall** . Any ideas **huh** ? I have created a Tkinter window...
microphone_head GUI 1 2,371 May-02-2019, 10:17 AM
    Thread: Having trouble updating the text in a label
Post: RE: Having trouble updating the text in a label

(May-01-2019, 07:50 PM)Larz60+ Wrote: which label (to use as example)? you have many Its seems to be working now, I was refering to the previous post (above) that was was attempting update the text ...
microphone_head GUI 3 3,059 May-02-2019, 08:44 AM
    Thread: How can I use Tkinter with pygame
Post: RE: How to run two windows (Tkinter with pygame)

Making progress but still not there yet. The examples i've see so far only use the method "mainloop" which looks like a wait until tkinter window has finished **undecided** . I need the code to vis...
microphone_head GUI 4 15,216 May-01-2019, 06:13 PM
    Thread: Having trouble updating the text in a label
Post: Having trouble updating the text in a label

Hi all, Having trouble updating the text in a label **wall** . I've created a tkinter window and created an update routine, but its not obvious to myself as to how to set the attributes **huh** . ...
microphone_head GUI 3 3,059 May-01-2019, 05:21 PM
    Thread: How can I use Tkinter with pygame
Post: RE: How can I use Tkinter with pygame

Looks like I was way off **doh** . I did read something about backward compatibility but I didn't realise by just how much. I think I should have started off with something like this **think** : #!...
microphone_head GUI 4 15,216 May-01-2019, 04:35 PM
    Thread: How can I use Tkinter with pygame
Post: How can I use Tkinter with pygame

Hi everyone, Can anyone help me so the code works with pygame and Tkinter (seemingly) simultaneously? **confused** I'm also interested in formatting the text and using the appropriate methods, anyth...
microphone_head GUI 4 15,216 May-01-2019, 09:33 AM
    Thread: try, except, finally ?
Post: RE: try, except, finally ?

Wow **doh** ! I've read a few examples but I think I finally get it **blush** , thanks. That a great help.
microphone_head General Coding Help 3 2,904 Apr-28-2019, 09:36 PM
    Thread: try, except, finally ?
Post: try, except, finally ?

Hi all, I've been trying to tighten up my code by adding error handling using the try command, but I can't seem to get my head around the "finally" statement. I admit I have just been using Python w...
microphone_head General Coding Help 3 2,904 Apr-28-2019, 08:45 PM
    Thread: Resource or zip file?
Post: RE: Resource or zip file?

(Apr-23-2019, 02:32 AM)metulburr Wrote: If something is rotating and is not changing in the image itself other than angle then there should only be one image. Pygame can rotate the image by itself. ...
microphone_head Game Development 7 4,109 Apr-23-2019, 07:38 PM
    Thread: Resource or zip file?
Post: RE: Resource or zip file?

I've seen a couple of examples of spritesheets in the past but I've got images of a spaceship that rotates 360 degrees with the use of around 72 frames. Would have been nice to be able to import a mo...
microphone_head Game Development 7 4,109 Apr-22-2019, 07:47 PM
    Thread: Resource or zip file?
Post: Resource or zip file?

Does anyone know of any solutions that have already been built to create something like a resource file, or zip files? I've been writting a game with pygame, and it uses a lot of image files. The an...
microphone_head Game Development 7 4,109 Apr-22-2019, 05:34 PM
    Thread: print: Tips and tricks
Post: RE: print: Tips and tricks

(Apr-12-2019, 10:45 AM)snippsat Wrote: carriage return \r and the backspace \b don't work within IDLE(don't use it all) because it uses a text control that doesn't render return/backspace properly. ...
microphone_head News and Discussions 12 5,626 Apr-12-2019, 04:03 PM
    Thread: print: Tips and tricks
Post: RE: print: Tips and tricks

(Apr-12-2019, 09:52 AM)perfringo Wrote: (Apr-12-2019, 08:30 AM)microphone_head Wrote: I was toying with the idea of being able to write some chars to the Python shell before deleting it to make a ...
microphone_head News and Discussions 12 5,626 Apr-12-2019, 10:07 AM
    Thread: print: Tips and tricks
Post: RE: print: Tips and tricks

(Apr-12-2019, 09:34 AM)snippsat Wrote: (Apr-12-2019, 08:30 AM)microphone_head Wrote: I've tried running this in Python 2.7.9 and Python 3.4.2 and I cant't get it to work. It reports a syntax error...
microphone_head News and Discussions 12 5,626 Apr-12-2019, 09:47 AM
    Thread: print: Tips and tricks
Post: RE: print: Tips and tricks

Quote:import time import sys animation = '|/-\\' for i in range(25): time.sleep(0.1) sys.stdout.write(f"\r{animation[i % len(animation)]}") sys.stdout.flush() Do I need to import ...
microphone_head News and Discussions 12 5,626 Apr-12-2019, 08:30 AM
    Thread: print: Tips and tricks
Post: print: Tips and tricks

Hi all. I found that when I run the print command with "\b" I can produce a tick symbol. Does anyone have any other tips they would like to share about this function? print("Microphone_Head ", end ...
microphone_head News and Discussions 12 5,626 Apr-11-2019, 09:33 AM

User Panel Messages

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