Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python beep windows

# https://stackoverflow.com/a/6537563
import winsound
frequency = 2500  # Set Frequency To 2500 Hertz
duration = 1000  # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)
Comment

Python beep

import beepy
beep(sound=1) # integer as argument
beep(sound='coin') # string as argument
Comment

PREVIOUS NEXT
Code Example
Python :: print bold and udeline in text python 
Python :: python stack class 
Python :: load all csv files in a folder python pandas 
Python :: pandas add a column with loc 
Python :: left join two dataframes pandas on two different column names 
Python :: pandas replace empty string with nan 
Python :: python input tuple from user 
Python :: python print dictionary line by line 
Python :: rearrange list python 
Python :: none address in python 
Python :: how to print 69 in python 
Python :: django admin order by 
Python :: reverse order np array 
Python :: plt.savefig without showing 
Python :: python round number numpy 
Python :: equivalent of setInterval python 
Python :: how to make any player hit a ball using python turtle 
Python :: native bold text 
Python :: python split a string by tab 
Python :: pickle load 
Python :: django login redirect 
Python :: iterate over every alternate character in string python 
Python :: how to send a message from google form to a python 
Python :: most frequent element in a list 
Python :: how to get the amount of nan values in a data fram 
Python :: default requires 2 arguments, 1 provided 
Python :: python head function show all columns 
Python :: ImportError: cannot import name ABC 
Python :: calcolatrice 
Python :: python program to multiplies all the items in a list using function 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =