ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/proc/self/root/lib64/python2.7/Demo/scripts/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/proc/self/root/lib64/python2.7/Demo/scripts/morse.pyc

�
Afc@s�ddlZddlZddlZdZdeZdZiJdd6dd6dd	6dd
6dd6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6d d!6d d"6d#d$6d#d%6d&d'6d&d(6d)d*6d)d+6d,d-6d,d.6d/d06d/d16d2d36d2d46d5d66d5d76d8d96d8d:6d;d<6d;d=6d>d?6d>d@6dAdB6dAdC6dDdE6dDdF6dGdH6dGdI6dJdK6dJdL6dMdN6dMdO6dPdQ6dPdR6dSdT6dUdV6dWdX6dYd6dZd[6d\d]6d^d_6d`da6dbdc6ddde6dfdg6dhdi6djdk6dld>6dmdn6dodp6dqdr6dsdt6dudv6dsdw6dxdx6dydz6Zd{d|Zd}�Zee�Z	d~�Z
d�Zd��Zd��Z
d��Zed�kr�e
�ndS(�i����Niiis.-tAtas-...tBtbs-.-.tCtcs-..tDtdt.tEtes..-.tFtfs--.tGtgs....tHths..tItis.---tJtjs-.-tKtks.-..tLtls--tMtms-.tNtns---tOtos.--.tPtps--.-tQtqs.-.tRtrs...tStst-tTtts..-tUtus...-tVtvs.--tWtws-..-tXtxs-.--tYtys--..tZtzs-----t0s--..--t,s.----t1s.-.-.-s..---t2s..--..t?s...--t3s-.-.-.t;s....-t4s---...t:s.....t5s.----.t's-....t6s-....-s--...t7s-..-.t/s---..t8s-.--.-t(s----.t9t)t s..--.-t_si�cCsod}xbtd�D]T}ttjtj||d�d�}|t|d?d@�t|d@�7}qW|S(NtidgI@i0uii�(trangetinttmathtsintpitchr(toctavetsinewaveRtval((s*/usr/lib64/python2.7/Demo/scripts/morse.pytmkwave<s
(*cCs�ddl}y#|jtjdd�\}}Wn@|jk
rqtjjdtjdd�tjd�nXd}t}x�|D]�\}}|dkr�ddl	}|j
|d�}|jd	�|jd
�|j
d�n|dkr�tt|��}q�q�W|sjddl}|j�}|jd	�|jd
�|j
d�|j|_|j|_n|r�dj|�g}	nttjjd
�}	xF|	D]>}
t|
�}t|||�t|d�r�|j�q�q�W|j�dS(Ni����iso:p:sUsage is, [ -o outfile ] [ -p octave ] [ words ] ...
s-oR/iD�is-pRHRJtwait(tgetopttsystargvterrortstderrtwritetexittNonetdefaultwavetaifctopentsetframeratetsetsampwidthtsetnchannelsRTRLtaudiodevtAudioDevt
setoutratetstoptclosetwriteframestwriteframesrawtjointitertstdintreadlinetmorsetplaythasattrRU(RVtoptstargstdevtwaveRRR_Rdtsourcetlinetmline((s*/usr/lib64/python2.7/Demo/scripts/morse.pytmainEsF#





cCsEd}x8|D]0}y|t|d7}Wq
tk
r<q
Xq
W|S(NRJs(tmorsetabtKeyError(RwtresR((s*/usr/lib64/python2.7/Demo/scripts/morse.pyRoms

cCsqxj|D]b}|dkr,t|t|�n0|dkrKt|t|�nt|tt�t|t�qWdS(NRR'(tsinetDOTtDAHtpause(RwRtRuR((s*/usr/lib64/python2.7/Demo/scripts/morse.pyRpws
cCs(x!t|�D]}|j|�q
WdS(N(RKRj(RttlengthRuR((s*/usr/lib64/python2.7/Demo/scripts/morse.pyR}�scCs(x!t|�D]}|jt�q
WdS(N(RKRjtnowave(RtR�R((s*/usr/lib64/python2.7/Demo/scripts/morse.pyR��st__main__(RWRMRdR~RtOCTAVERzR�RTR^RyRoRpR}R�t__name__(((s*/usr/lib64/python2.7/Demo/scripts/morse.pyt<module>sf$

		(	
	
		

Zerion Mini Shell 1.0