Discuss Scratch

DifferentDance8
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

LoIdesMio wrote:

Hello! So I deided to start learning PyGame but I already have a problem when I've not even started ._.

So I was trying to do it on Replit (yes i will only stay on replit nowhere else) but when I ran the code:
https://replit.com/@Ellirio/Pygame-Test

The output screen is just a loading screen the same happens for Java HTML and CSS projects. Does anyone know why could it be some stuff on Replit being blocked by my computer?

Works fine for me! It's probably on your end.
LoIdesMio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

DifferentDance8 wrote:

LoIdesMio wrote:

Hello! So I deided to start learning PyGame but I already have a problem when I've not even started ._.

So I was trying to do it on Replit (yes i will only stay on replit nowhere else) but when I ran the code:
https://replit.com/@Ellirio/Pygame-Test

The output screen is just a loading screen the same happens for Java HTML and CSS projects. Does anyone know why could it be some stuff on Replit being blocked by my computer?

Works fine for me! It's probably on your end.
Yes I think it is I believe its the school computer blocking it stupad school computer ._.
DifferentDance8
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

LoIdesMio wrote:

DifferentDance8 wrote:

LoIdesMio wrote:

Hello! So I deided to start learning PyGame but I already have a problem when I've not even started ._.

So I was trying to do it on Replit (yes i will only stay on replit nowhere else) but when I ran the code:
https://replit.com/@Ellirio/Pygame-Test

The output screen is just a loading screen the same happens for Java HTML and CSS projects. Does anyone know why could it be some stuff on Replit being blocked by my computer?

Works fine for me! It's probably on your end.
Yes I think it is I believe its the school computer blocking it stupad school computer ._.
replit also contains vpns and school blocker bypassers, so that's probably why
-cloudcoding-
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Is there a way to find the frequency of the sound of the microphone on python?
wvzack
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

-cloudcoding- wrote:

Is there a way to find the frequency of the sound of the microphone on python?
i think i came across that some where i will go see
ToastersUnited
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

bigspeedfpv wrote:

Elijah999999 wrote:

Does anyone know of a good alternative to pygame? Windows 11 doesn't support that anymore.

??
whats wrong? It looks like its running.
Anyway, piglet is another similar module
bigspeedfpv
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ToastersUnited wrote:

bigspeedfpv wrote:

Elijah999999 wrote:

Does anyone know of a good alternative to pygame? Windows 11 doesn't support that anymore.

??
whats wrong? It looks like its running.
Anyway, piglet is another similar module
exactly i was demonstrating it working
-cloudcoding-
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

wvzack wrote:

-cloudcoding- wrote:

Is there a way to find the frequency of the sound of the microphone on python?
i think i came across that some where i will go see
Thanks
MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

LoIdesMio wrote:

Hello! So I deided to start learning PyGame but I already have a problem when I've not even started ._.

So I was trying to do it on Replit (yes i will only stay on replit nowhere else) but when I ran the code:
https://replit.com/@Ellirio/Pygame-Test

The output screen is just a loading screen the same happens for Java HTML and CSS projects. Does anyone know why could it be some stuff on Replit being blocked by my computer?
Try using the “? help” button in the bottom-left corner in the sidebar in replit while not in the editor.
MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

-cloudcoding- wrote:

Is there a way to find the frequency of the sound of the microphone on python?
You can use numpy.fft or scipy.fft (which is supposed to be a bit easier to use) to get the amplitude of a given frequency in a given signal. You can use pyaudio (docs) to get an audio stream from your microphone. Also, see this.

Last edited by MonkeyBean2 (April 28, 2023 10:22:45)

-cloudcoding-
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MonkeyBean2 wrote:

-cloudcoding- wrote:

Is there a way to find the frequency of the sound of the microphone on python?
You can use numpy.fft or scipy.fft (which is supposed to be a bit easier to use) to get the amplitude of a given frequency in a given signal. You can use pyaudio (docs) to get an audio stream from your microphone. Also, see this.
Thanks
The_Challenge_Vault
New Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Help, pip isn't working.

pip install pygame
mybearworld
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

The_Challenge_Vault wrote:

(#792)
Help, pip isn't working.

pip install pygame
What is the error message you get?
MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Commands to try if pip doesn't work:

  • pip <args>
  • pip3 <args>
  • python3 -m pip <args>
  • py -m pip <args>
  • python -m pip <args>
  • python3.10 -m pip <args>
  • /path/to/python -m pip <args>
The_Challenge_Vault
New Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

mybearworld wrote:

The_Challenge_Vault wrote:

(#792)
Help, pip isn't working.

pip install pygame
What is the error message you get?
CMD freezes and computer shutdowns. This has been happening with other CMD commands too. No, if there is a PowerShell work-a-round, PowerShell returns a permission denied error.
ajskateboarder
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

The_Challenge_Vault wrote:

mybearworld wrote:

The_Challenge_Vault wrote:

(#792)
Help, pip isn't working.

pip install pygame
What is the error message you get?
CMD freezes and computer shutdowns. This has been happening with other CMD commands too. No, if there is a PowerShell work-a-round, PowerShell returns a permission denied error.
You should probably reinstall Windows
Nobody should use a system which doesn't have a working terminal
The_Challenge_Vault
New Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ajskateboarder wrote:

The_Challenge_Vault wrote:

mybearworld wrote:

The_Challenge_Vault wrote:

(#792)
Help, pip isn't working.

pip install pygame
What is the error message you get?
CMD freezes and computer shutdowns. This has been happening with other CMD commands too. No, if there is a PowerShell work-a-round, PowerShell returns a permission denied error.
You should probably reinstall Windows
Nobody should use a system which doesn't have a working terminal
I can't……
MonkeyBean2
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

The_Challenge_Vault wrote:

ajskateboarder wrote:

The_Challenge_Vault wrote:

mybearworld wrote:

The_Challenge_Vault wrote:

(#792)
Help, pip isn't working.

pip install pygame
What is the error message you get?
CMD freezes and computer shutdowns. This has been happening with other CMD commands too. No, if there is a PowerShell work-a-round, PowerShell returns a permission denied error.
You should probably reinstall Windows
Nobody should use a system which doesn't have a working terminal
I can't……
Do you have the appropriate permissions?
mybearworld
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

The_Challenge_Vault wrote:

(#795)

mybearworld wrote:

The_Challenge_Vault wrote:

(#792)
Help, pip isn't working.

pip install pygame
What is the error message you get?
CMD freezes and computer shutdowns. This has been happening with other CMD commands too. No, if there is a PowerShell work-a-round, PowerShell returns a permission denied error.
That seems like a broken installation of Windows to me.
bigspeedfpv
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

average arg

Powered by DjangoBB