GeezerVison is showing github.com — Merge branch 'main' of https://github.com/ackercode/tutorials into main · ackercode/tutorials@db6e486
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +6-3Lines changed: 6 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -# Acker Code |
| 1 | +# Acker Code Tutorials |
| 2 | + |
| 3 | +- Todos os scripts se encontram na pasta python-tutorials |
| 4 | +- Segue no insta para mais dicas: https://www.instagram.com/ackercode/ |
| 5 | + |
| 6 | + |
2 | 7 |
|
3 | | -- Acker Code Tutorials |
4 | | - |
|
Collapse file
Copy file name to clipboard +8Lines changed: 8 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +import pygame |
| 2 | + |
| 3 | +pygame.mixer.init() |
| 4 | +pygame.mixer.music.load("musica.mp3") #nome do seu arquivo de musica |
| 5 | +pygame.mixer.music.play() |
| 6 | + |
| 7 | +# para parar o arquivo rodando digite CTRL+C |
| 8 | +# ou crie essa function para = input('Digite alguma letra') |