What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-25 04:00:11
how to record a voice in python
import sounddevice as sd from scipy.io.wavfile import write fs = 44100 # Sample rate seconds = 3 # Duration of recording myrecording = sd.rec(int(seconds * fs), samplerate=fs, channels=2) sd.wait() # Wait until recording is finished write('output.wav... Add solution -
Python 2022-03-18 05:30:14
How can I get terminal output in python
>>> import subprocess >>> cmd = [ 'echo', 'arg1', 'arg2' ] >>> output = subprocess.Popen( cmd, stdout=subprocess.PIPE ).communicate()[0] >>> print output arg1 arg2 >>> There is a bug in using of the subproc... Add solution -
Lua 2022-03-02 09:10:35
roblox get humanoid state
local plr = game.Players.localPlayer local character = plr.Character or plr.CharacterAdded:Wait() local Humanoid = character:WaitForChild("Humanoid") local State = Humanoid:GetState() --Humanoid:SetStateEnabled(humanoid state item,bool enabled)... Add solution -
Lua 2022-03-01 03:15:01
roblox studio how to make a constantly changing color of a brick
while true do script.Parent.Color = Color3.new(255/255,0/255,0/255) for i = 0,255,10 do wait() script.Parent.Color = Color3.new(255/255,i/255,0/255) end for i = 255,0,-10 do wait() script.Parent.Color = Color3.new(i/255,255/255,0/255) end fo... Add solution -
Lua 2022-02-02 18:51:19
roblox how to change color of block
while true do script.Parent.Color = Color3.new(255/255,0/255,0/255) for i = 0,255,10 do wait() script.Parent.Color = Color3.new(255/255,i/255,0/255) end for i = 255,0,-10 do wait() script.Parent.Color = Color3.new(i/255,255/255,0/255) end fo... Add solution
Best helpers
Michaelyus
+5
EBA2018
+5
Eric Lewis
+5
J. Tatum
+5
Erwaman
+5
Jp_
+5
Fauve
+5
Katy Forde
+5
Jcvamp
+5
Chris
+5
Xiaotian Pei
+5