├── .gitattributes ├── .gitignore ├── EE6183_2015_fall_syllabus.pdf ├── README.md ├── lecture1 ├── DSP_Lab1_2015_fall.pdf ├── Lab1 │ ├── DSP_Lab1_2015_fall.pdf │ ├── Lab_1_YingTa_Lin_ytl287.odt │ ├── Lab_1_YingTa_Lin_ytl287 │ │ ├── Lab_1_YingTa_Lin_ytl287.pdf │ │ ├── Lab_1_YingTa_Lin_ytl287.zip │ │ ├── bubbleSort.py │ │ ├── insertionSort.py │ │ ├── lab1_generate_list.py │ │ ├── read_wav_example_01.py │ │ ├── sample_32bit.wav │ │ ├── sample_8bit.wav │ │ ├── sorting.py │ │ └── sorting.pyc │ ├── Screenshot from 2015-09-14 23^%10^%09.png │ ├── arctic_a0001.wav │ ├── bubbleSort.pyc │ ├── cat01.wav │ ├── insertionSort.pyc │ ├── sample.aup │ ├── sample_32khz_inhex.md │ ├── sample_data │ │ └── e00 │ │ │ └── d00 │ │ │ └── e0000d14.au │ ├── sample_inhex.md │ └── sorting.pyc ├── python_pack_demo.pdf ├── read_sin01.m ├── read_wavefile_01.m └── wave_file_demo_notes.pdf ├── lecture2 ├── DSP_Lab2_2015_fall.pdf ├── Lab2 │ ├── 3ED73F48-D89A-4BBE-80DA-B2F721226BD6.jpg │ ├── DSP_Lab2_2015_fall.pdf │ ├── ERROR_exceed_max.png │ ├── Lab_2(4-10)_YingTa_Lin_ytl287 │ │ ├── Lab_2(4-10)_YingTa_Lin_ytl287.zip │ │ ├── Lab_2_YingTa_Lin_ytl287(4-10).pdf │ │ ├── check_samples.py │ │ ├── question10.m │ │ └── question10.py │ ├── Lab_2_YingTa_Lin_ytl287(4-10).docx │ ├── Lab_2_YingTa_Lin_ytl287.odt │ ├── Lab_2_YingTa_Lin_ytl287 │ │ ├── Lab_2_YingTa_Lin_ytl287.pdf │ │ ├── Lab_2_YingTa_Lin_ytl287.zip │ │ ├── assignment4.py │ │ ├── bound_samples.py │ │ ├── check_samples.py │ │ ├── check_samples.pyc │ │ ├── filter_8bit_samples.py │ │ ├── question10.py │ │ └── two_sec_order_filter.py │ ├── check_samples.pyc │ ├── control_rising_time.py │ ├── filtering_paInt16_Ta.py │ ├── filtering_paInt16_a.py │ ├── filtering_paInt16_p.py │ ├── filtering_paInt32.py │ ├── font_converter.html │ └── fourth_order_filter.py ├── demo04.pdf ├── fourth_order(peak-shifting).png ├── fourth_order(wanted).png ├── lab2_practice.m ├── makefilter_01.m ├── makefilter_01.m.html ├── makefilter_01.m_files │ ├── makefilter_01_01.png │ ├── makefilter_01_02.png │ ├── makefilter_01_03.png │ ├── makefilter_01_04.png │ ├── makefilter_01_05.png │ ├── makefilter_01_06.png │ ├── makefilter_01_07.png │ ├── makefilter_01_08.png │ └── makefilter_01_09.png ├── makefilter_02.m ├── makefilter_02.m.html ├── makefilter_02.m_files │ ├── makefilter_02_01.png │ ├── makefilter_02_02.png │ └── makefilter_02_03.png ├── makefilter_03.m ├── makefilter_03.m.html └── makefilter_03.m_files │ ├── makefilter_03_01.png │ ├── makefilter_03_02.png │ ├── makefilter_03_03.png │ └── makefilter_03_04.png ├── lecture3 ├── Lab3 │ ├── DSP_Lab3.pdf │ ├── Lab3_Ex1_ytl287_either_channel.py │ ├── Lab3_Ex2_ytl287_lastecho.py │ ├── Lab3_Ex3_ytl287_pingpong.py │ ├── Lab_3_YingTa_Lin_ytl287.docx │ ├── Lab_3_YingTa_Lin_ytl287.pdf │ ├── Lab_3_YingTa_Lin_ytl287 │ │ ├── Lab3_Ex1_ytl287_either_channel.py │ │ ├── Lab3_Ex2_ytl287_lastecho.py │ │ ├── Lab3_Ex3_ytl287_pingpong.py │ │ ├── Lab_3_YingTa_Lin_ytl287.pdf │ │ ├── author.wav │ │ ├── clipping.py │ │ ├── clipping.pyc │ │ ├── drum.wav │ │ ├── vivalavida_mono.wav │ │ └── vivalavida_stereo.wav │ ├── author.wav │ ├── clipping.py │ ├── clipping.pyc │ ├── drum.wav │ ├── mywave_play.py │ ├── pingpong.py │ ├── sin01_mono.wav │ ├── sin01_stereo.wav │ ├── vivalavida_mono.wav │ └── vivalavida_stereo.wav ├── delay using circular buffer │ ├── author.wav │ ├── feedbackdelay_circbuffer1.py │ ├── feedbackdelay_circbuffer1_test01.py │ ├── feedbackdelay_circbuffer2.py │ ├── feedbackdelay_circbuffer2_test01.py │ ├── myfunctions.py │ ├── myfunctions.pyc │ ├── notes.pdf │ ├── notes.pdf.crdownload │ └── tapped_delay_line.py └── read and play wave files │ ├── play_wav_any_width.py │ ├── play_wav_mono.py │ ├── play_wav_mono_32.py │ ├── play_wav_mono_ver2.py │ ├── play_wav_stereo.py │ ├── sin01_mono.wav │ ├── sin01_stereo.wav │ └── unpack_notes.pdf ├── lecture4 ├── EL6183_Fall_2015_Lect4.pdf ├── Lab4 │ ├── DSP_Lab_04.pdf │ ├── Lab3_Ex1_ytl287_either_channel.py │ ├── Lab4_Sec1_Ex1_ytl287.py │ ├── Lab4_Sec1_Ex2_ytl287.py │ ├── Lab4_Sec1_Ex3_ytl287.py │ ├── Lab4_Sec1_Ex3_ytl287_record.wav │ ├── Lab4_Sec2_Ex1_ytl287.py │ ├── Lab4_Sec2_Ex2_ytl287.py │ ├── Lab4_Sec2_Ex3_ytl287.py │ ├── Lab4_Sec2_Ex3_ytl287_record.wav │ ├── Lab4_Sec2_Ex4_ytl287.py │ ├── Lab4_YingTa_Lin_ytl287.zip │ ├── author.wav │ ├── author_stereo.wav │ ├── author_vibrato.wav │ ├── clipping.py │ ├── clipping.pyc │ ├── drum.wav │ ├── filtering_paInt16_p.py │ ├── hello_mono_16kHz_flanger.wav │ ├── hello_raw_mono_16kHz.wav │ ├── myfunctions.py │ ├── myfunctions.pyc │ ├── output.wav │ ├── record_sample.py │ ├── recplayAM_stere_record.wav │ ├── recplayAM_stereo.py │ ├── recplayAM_stereo_record.wav │ ├── sin01_mono.wav │ └── sin01_stereo.wav ├── demos_blocking_AM │ └── demos_blocking_AM │ │ ├── author.wav │ │ ├── author_AM.wav │ │ ├── author_AM_fix.wav │ │ ├── notes.txt │ │ ├── playAM_blocking.py │ │ ├── playAM_blocking_fix.py │ │ ├── playAM_blocking_savewave.py │ │ ├── playAM_noblocking.py │ │ └── recplayAM_mono.py └── demos_vibrato │ └── demos_vibrato │ ├── author.wav │ ├── author_vibrato.wav │ ├── decay_cosine_mono.wav │ ├── decay_cosine_mono_vibrato.wav │ ├── myfunctions.py │ ├── myfunctions.pyc │ ├── notes.txt │ ├── play_delay_longbuffer.py │ ├── play_vibrato_interpolation.py │ ├── play_vibrato_simple.py │ └── sin01_mono.wav ├── lecture5 └── Lab5 │ ├── DSP_Lab_05.pdf │ ├── Lab5_Sec1_Ex1_ytl287.py │ ├── Lab5_Sec1_Ex2_ytl287.py │ ├── Lab5_Sec1_Ex3_ytl287.py │ ├── Lab5_Sec2_Ex4_kwc305.py │ ├── Lab5_Sec2_Ex4_ytl287.py │ ├── Lab5_Sec2_Ex7_kwc305.py │ ├── Lab5_Sec2_Ex7_ytl287.py │ ├── Lab5_Sec2_Ex7_ytl287_record.wav │ ├── Lab5_YingTa_Lin_ytl287.zip │ ├── audio_plotting_demos │ └── audio_plotting_demos │ │ ├── myfunctions.py │ │ ├── myfunctions.pyc │ │ ├── play_randomly.py │ │ ├── play_randomly_plots.py │ │ └── plot_micinput.py │ ├── callback_demos │ └── callback_demos │ │ ├── myfunctions.py │ │ ├── myfunctions.pyc │ │ ├── play_wavefile.py │ │ ├── record_and_play.py │ │ ├── record_and_play_ver2.py │ │ ├── record_and_play_vibrato.py │ │ ├── record_wavefile.py │ │ ├── record_wavefile_stereo.py │ │ ├── simple_wire.py │ │ ├── simple_wire_gain.py │ │ ├── simple_wire_gain_stereo.py │ │ ├── simple_wire_gain_stereo_AM.py │ │ ├── test_stereo.wav │ │ └── test_vibrato.wav │ ├── myfunctions.py │ ├── myfunctions.pyc │ └── pyplot examples │ └── pyplot examples │ ├── test01A.py │ ├── test01B.py │ ├── test01C.py │ ├── test01D.py │ ├── test02.pdf │ ├── test02.py │ ├── test03A.py │ ├── test03B.py │ ├── test03C.py │ ├── test03D.py │ ├── test03E.py │ ├── test04.py │ ├── test10A.pdf │ ├── test10A.py │ ├── test10B.pdf │ ├── test10B.py │ ├── test11A.py │ ├── test11B.py │ ├── test11C.py │ ├── test11D.py │ └── test12.py ├── lecture6 ├── DSP_Lab_06.pdf ├── FFT_demos │ ├── FFT_test01.py │ ├── FFT_test02.py │ ├── FFT_test03.py │ ├── FFT_test04.pdf │ ├── FFT_test04.py │ ├── FFT_test05.pdf │ ├── FFT_test05.py │ ├── notes.txt │ ├── plot_micinput.py │ └── plot_micinput_spectrum.py ├── Lab6 │ ├── Lab6_Sec1_Ex2_ytl287.py │ ├── Lab6_Sec1_Ex2_ytl287_capture.pdf │ ├── Lab6_Sec2_Ex2_ytl287.py │ ├── Lab6_Sec2_Ex2_ytl287_complex_AM.wav │ ├── Lab6_Sec2_Ex3_ytl287.py │ ├── Lab6_Sec2_Ex3_ytl287_complex_AM.wav │ ├── Lab6_Sec3_Ex1_ytl287.py │ ├── Lab6_Sec3_Ex1_ytl287_Hallway_response.pdf │ ├── Lab6_Sec3_Ex1_ytl287_living_room_response.pdf │ ├── Lab6_Sec3_Ex1_ytl287_room_response.pdf │ ├── Lab6_YingTa_Lin_ytl287.rar │ ├── Lab_6_YingTa_Lin_ytl287.docx │ ├── Lab_6_YingTa_Lin_ytl287.pdf │ ├── author.wav │ ├── myfunctions.py │ ├── myfunctions.pyc │ └── onceupon.wav ├── complexAM_demos │ └── complexAM_demos │ │ ├── author.wav │ │ ├── author_AM.wav │ │ ├── author_Complex_AM.wav │ │ ├── demo01.m │ │ ├── demo01.pdf │ │ ├── demo02.m │ │ ├── demo02.pdf │ │ ├── demo03.m │ │ ├── demo03.pdf │ │ ├── demo04.m │ │ ├── demo04.pdf │ │ ├── demo05.m │ │ ├── demo05A.pdf │ │ ├── demo05B.pdf │ │ ├── demo06.m │ │ └── demo06.pdf └── jason │ ├── 2.2_com.py │ ├── author.wav │ ├── myfunctions.py │ ├── myfunctions.pyc │ └── onceupon.wav ├── lecture7 ├── Lab7 │ ├── Chap5NotchFilters.pdf │ ├── DSP Lab 7.pdf │ ├── Lab7_5_kwc305.py │ ├── Lab7_5_phc307.py │ ├── Lab7_6_ytl287.py │ ├── Lab7_6_ytl287_2.py │ ├── Lab7_6_ytl287_complex_AM.wav │ ├── Lab7_YingTa_Lin_ytl287.docx │ ├── Lab7_YingTa_Lin_ytl287.pdf │ ├── Lab7_YingTa_Lin_ytl287.rar │ ├── author.wav │ ├── chirp.wav │ ├── dsp_lab7_6_matlabpart.m │ ├── filter_gui_example_ver2_modified.m │ ├── first_order_allpass.py │ ├── forjason.pdf │ ├── hw5_3rd_oder_notch_ytl287.m │ ├── input.mat │ ├── lab7_1_ytl287.m │ ├── lab7_2_jason.m │ ├── lab7_2_ytl287.m │ ├── lab7_5_ytl287.pdf │ ├── load_filt.m │ ├── myfunctions.py │ ├── myfunctions.pyc │ ├── notch_wav_kwc.py │ ├── notchscipy_kwc.py │ ├── onetothreeh.mat │ ├── p0530_kwc.m │ ├── peggy_dsp_lab7_3_matlabpart.m │ ├── peggy_dsp_lab7_6_matlabpart.m │ ├── peggy_first_order_allpass.py │ ├── second_order_three_Knob_Tone.m │ ├── sin_440Hz_stereo.wav │ └── test_lab7.m ├── Matlab_GUI_demos │ └── Matlab_GUI_demos │ │ ├── filter_gui_example_ver1.m │ │ ├── filter_gui_example_ver1_Screen_Shot.png │ │ ├── filter_gui_example_ver2.m │ │ └── filter_gui_example_ver2_Screen_Shot.png ├── demo allpass _ shelving filters │ └── demo allpass & shelving filters │ │ ├── demo_allpass.m │ │ ├── demo_shelving.m │ │ └── html │ │ ├── demo_allpass.html │ │ ├── demo_allpass_01.png │ │ ├── demo_allpass_02.png │ │ ├── demo_allpass_03.png │ │ ├── demo_allpass_04.png │ │ ├── demo_allpass_05.png │ │ ├── demo_allpass_06.png │ │ ├── demo_allpass_07.png │ │ ├── demo_allpass_08.png │ │ ├── demo_allpass_09.png │ │ ├── demo_allpass_10.png │ │ ├── demo_allpass_11.png │ │ ├── demo_allpass_12.png │ │ ├── demo_allpass_13.png │ │ ├── demo_allpass_14.png │ │ ├── demo_allpass_15.png │ │ ├── demo_allpass_16.png │ │ ├── demo_allpass_17.png │ │ ├── demo_allpass_18.png │ │ ├── demo_shelving.html │ │ ├── demo_shelving_01.png │ │ ├── demo_shelving_02.png │ │ ├── demo_shelving_03.png │ │ ├── demo_shelving_04.png │ │ ├── demo_shelving_05.png │ │ └── demo_shelving_06.png └── keyboard_demos │ └── keyboard_demos │ ├── myfunctions.py │ ├── notes.txt │ ├── play_keys.py │ └── pygame_demo_01.py ├── lecture8 ├── instrument_simulation.zip └── overlap.pdf ├── lecture9 ├── stft.pdf ├── stft_inverse.pdf └── stft_matlab1 │ ├── author.wav │ ├── demo_robot.m │ ├── example.m │ ├── example.pdf │ ├── html │ ├── example.html │ └── example_01.png │ ├── inv_stft.m │ └── stft.m ├── mit9m.Audio.Effects.Theory.Implementation.and.Application.pdf ├── numpy-1.9.2-win32-superpack-python2.7.exe ├── pip-7.1.2-py2.py3-none-any.whl ├── project ├── Examples │ └── Examples │ │ ├── PP2E │ │ ├── Ai │ │ │ ├── ExpertSystem │ │ │ │ ├── Todo.txt │ │ │ │ ├── __init__.py │ │ │ │ ├── holmes.tar │ │ │ │ ├── holmes │ │ │ │ │ ├── README.1ST │ │ │ │ │ ├── README.2ND │ │ │ │ │ ├── cnv │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── loga.txt │ │ │ │ │ │ ├── logb.txt │ │ │ │ │ │ ├── logc.txt │ │ │ │ │ │ └── logd.txt │ │ │ │ │ ├── holmes │ │ │ │ │ │ ├── backward.py │ │ │ │ │ │ ├── backwrd2.py │ │ │ │ │ │ ├── backwrd3.py │ │ │ │ │ │ ├── backwrd4.py │ │ │ │ │ │ ├── backwrd5.py │ │ │ │ │ │ ├── backwrd6.py │ │ │ │ │ │ ├── backwrd7.py │ │ │ │ │ │ ├── forward.py │ │ │ │ │ │ ├── forward2.py │ │ │ │ │ │ ├── holmes.doc.txt │ │ │ │ │ │ ├── holmes.py │ │ │ │ │ │ ├── kbase.py │ │ │ │ │ │ └── match.py │ │ │ │ │ ├── holmes2 │ │ │ │ │ │ ├── backward.py │ │ │ │ │ │ ├── backwrd3.py │ │ │ │ │ │ ├── backwrd4.py │ │ │ │ │ │ ├── backwrd5.py │ │ │ │ │ │ ├── backwrd6.py │ │ │ │ │ │ ├── backwrd7.py │ │ │ │ │ │ ├── forward.py │ │ │ │ │ │ ├── forward2.py │ │ │ │ │ │ ├── holmes.doc.txt │ │ │ │ │ │ ├── holmes.py │ │ │ │ │ │ ├── index.py │ │ │ │ │ │ ├── kbase.py │ │ │ │ │ │ └── match.py │ │ │ │ │ ├── holmes3 │ │ │ │ │ │ ├── backward.py │ │ │ │ │ │ ├── backwrd5.py │ │ │ │ │ │ ├── backwrd7.py │ │ │ │ │ │ ├── forward.py │ │ │ │ │ │ ├── forward2.py │ │ │ │ │ │ ├── holmes.doc.txt │ │ │ │ │ │ └── holmes.py │ │ │ │ │ └── kbases │ │ │ │ │ │ ├── eats.kb │ │ │ │ │ │ ├── eats2.kb │ │ │ │ │ │ ├── fixit.kb │ │ │ │ │ │ ├── t.kb │ │ │ │ │ │ └── zoo.kb │ │ │ │ └── verif.txt │ │ │ ├── README.txt │ │ │ └── TicTacToe │ │ │ │ ├── __init__.py │ │ │ │ ├── temp.notes.txt │ │ │ │ ├── temp.out.txt │ │ │ │ ├── tictactoe.py │ │ │ │ ├── tictactoe_dict.py │ │ │ │ ├── tictactoe_grid.py │ │ │ │ ├── tictactoe_lists.py │ │ │ │ ├── tictactoe_lists.pyc │ │ │ │ ├── tictactoe_lists_2.py │ │ │ │ ├── tictactoe_loop.py │ │ │ │ ├── tictactoe_slow.py │ │ │ │ └── tictactoe_times.txt │ │ ├── Config │ │ │ ├── my_.cshrc │ │ │ ├── my_autoexec.bat │ │ │ ├── setup-pp-embed.csh │ │ │ ├── setup-pp.bat │ │ │ └── setup-pp.csh │ │ ├── Dbase │ │ │ ├── Intro │ │ │ │ ├── README.txt │ │ │ │ ├── anydbm1.out │ │ │ │ ├── anydbm2.out │ │ │ │ ├── anydbm3.out │ │ │ │ ├── cast.dir │ │ │ │ ├── cast.pag │ │ │ │ ├── person.py │ │ │ │ ├── person2.py │ │ │ │ ├── session1.py │ │ │ │ ├── session2.py │ │ │ │ ├── session3.py │ │ │ │ └── shelve.log │ │ │ ├── TableBrowser │ │ │ │ ├── __init__.py │ │ │ │ ├── dbinit1.py │ │ │ │ ├── dbinit2.py │ │ │ │ ├── dbview.py │ │ │ │ ├── formgui.py │ │ │ │ ├── formtable.py │ │ │ │ ├── guitools-alt.py │ │ │ │ ├── guitools.py │ │ │ │ ├── tests.out.txt │ │ │ │ └── viewsysmod.py │ │ │ ├── __init__.py │ │ │ ├── cast-152 │ │ │ ├── castdump.py │ │ │ ├── castinit.py │ │ │ ├── castview.py │ │ │ ├── data │ │ │ │ ├── README.txt │ │ │ │ ├── castfile-152 │ │ │ │ ├── dbm1-152 │ │ │ │ ├── mydbase-class-152 │ │ │ │ ├── mydbase-dict-152 │ │ │ │ ├── myfile-152 │ │ │ │ └── shelve1-152 │ │ │ ├── filepickle.py │ │ │ ├── old │ │ │ │ ├── browse.py │ │ │ │ ├── formtbl.py │ │ │ │ ├── formtbl2.py │ │ │ │ └── person.py │ │ │ ├── person.py │ │ │ ├── person1.py │ │ │ ├── person2.py │ │ │ ├── record1.py │ │ │ ├── record2.py │ │ │ ├── shelferr.txt │ │ │ └── testdata.py │ │ ├── Dstruct │ │ │ ├── Basic │ │ │ │ ├── __init__.py │ │ │ │ ├── diff.py │ │ │ │ ├── fastset.py │ │ │ │ ├── fastset2.py │ │ │ │ ├── fastset3.py │ │ │ │ ├── inter.py │ │ │ │ ├── inter2.py │ │ │ │ ├── reltest.py │ │ │ │ ├── rset.py │ │ │ │ ├── set.py │ │ │ │ ├── settime.py │ │ │ │ ├── settime2.py │ │ │ │ ├── stack1.py │ │ │ │ ├── stack2.py │ │ │ │ ├── stack3.py │ │ │ │ ├── stack4.py │ │ │ │ ├── stacklog.py │ │ │ │ ├── stacktime.py │ │ │ │ ├── timer.py │ │ │ │ └── timer2.py │ │ │ ├── Classics │ │ │ │ ├── MoreGraphs │ │ │ │ │ ├── graph.py │ │ │ │ │ ├── graph2.py │ │ │ │ │ ├── graph3.py │ │ │ │ │ ├── gsearch1.py │ │ │ │ │ ├── gsearch2.py │ │ │ │ │ ├── gtest.py │ │ │ │ │ ├── gtest2.py │ │ │ │ │ └── readme.txt │ │ │ │ ├── Old │ │ │ │ │ ├── btree2.py │ │ │ │ │ ├── genfunc.py │ │ │ │ │ ├── seqcon1.py │ │ │ │ │ ├── seqcon2.py │ │ │ │ │ ├── sort2.py │ │ │ │ │ └── treenode.py │ │ │ │ ├── __init__.py │ │ │ │ ├── btree-keys.py │ │ │ │ ├── btree.py │ │ │ │ ├── graph.py │ │ │ │ ├── gsearch1.py │ │ │ │ ├── gsearch2.py │ │ │ │ ├── gtestfunc.py │ │ │ │ ├── gtestobj1.py │ │ │ │ ├── gtestobj2.py │ │ │ │ ├── permcomb.py │ │ │ │ ├── rev1.py │ │ │ │ ├── rev2.py │ │ │ │ ├── rev3.py │ │ │ │ ├── rev4.py │ │ │ │ ├── sort1.py │ │ │ │ └── sort2.py │ │ │ ├── OldIntro │ │ │ │ ├── fastset.out │ │ │ │ ├── fastset.py │ │ │ │ ├── graph.py │ │ │ │ ├── inter.py │ │ │ │ ├── set.out │ │ │ │ ├── set.py │ │ │ │ ├── stack.out │ │ │ │ ├── stack1.py │ │ │ │ ├── stack2.py │ │ │ │ ├── stack3.py │ │ │ │ ├── vector.py │ │ │ │ ├── vector.txt │ │ │ │ └── vector2.py │ │ │ ├── TreeView │ │ │ │ ├── __init__.py │ │ │ │ ├── temp.notes.txt │ │ │ │ ├── treeview.py │ │ │ │ ├── treeview_left.py │ │ │ │ ├── treeview_subclass.py │ │ │ │ └── treeview_wrappers.py │ │ │ └── __init__.py │ │ ├── Gui │ │ │ ├── Clock │ │ │ │ ├── __init__.py │ │ │ │ ├── clock.py │ │ │ │ ├── clockStyles.py │ │ │ │ ├── notes.txt │ │ │ │ ├── plotterGui.py │ │ │ │ ├── plotterText-alt.py │ │ │ │ ├── plotterText.out │ │ │ │ └── plotterText.py │ │ │ ├── Intro │ │ │ │ ├── README.txt │ │ │ │ ├── gui1-old.py │ │ │ │ ├── gui1.py │ │ │ │ ├── gui1.pyw │ │ │ │ ├── gui1b.py │ │ │ │ ├── gui1c.py │ │ │ │ ├── gui1d.py │ │ │ │ ├── gui1e.py │ │ │ │ ├── gui1f.py │ │ │ │ ├── gui1g.py │ │ │ │ ├── gui2-doc.txt │ │ │ │ ├── gui2.py │ │ │ │ ├── gui2b.py │ │ │ │ ├── gui3.py │ │ │ │ ├── gui3b.py │ │ │ │ ├── gui3c.py │ │ │ │ ├── gui3d.py │ │ │ │ ├── gui3e.py │ │ │ │ ├── gui4.py │ │ │ │ ├── gui4b.py │ │ │ │ ├── gui4c.py │ │ │ │ ├── gui4d.py │ │ │ │ ├── gui4e.py │ │ │ │ ├── gui5.py │ │ │ │ ├── gui5b.py │ │ │ │ ├── gui5c.py │ │ │ │ ├── gui5d.py │ │ │ │ ├── gui6.py │ │ │ │ ├── gui6b.py │ │ │ │ ├── gui6c.py │ │ │ │ ├── gui6d.py │ │ │ │ ├── gui6old.py │ │ │ │ ├── gui6side.py │ │ │ │ ├── gui7.py │ │ │ │ ├── gui7b.py │ │ │ │ └── gui7c.py │ │ │ ├── MovingPics │ │ │ │ ├── __init__.py │ │ │ │ ├── movingpics.notes.txt │ │ │ │ ├── movingpics.py │ │ │ │ ├── movingpics_after.py │ │ │ │ ├── movingpics_threads.py │ │ │ │ └── temp.py │ │ │ ├── SeeAlso.txt │ │ │ ├── ShellGui │ │ │ │ ├── Old │ │ │ │ │ ├── menugui0.py │ │ │ │ │ └── packdlg0.py │ │ │ │ ├── __init__.py │ │ │ │ ├── mytools.py │ │ │ │ ├── packdlg-redirect.py │ │ │ │ ├── packdlg.py │ │ │ │ ├── shellgui.py │ │ │ │ ├── test │ │ │ │ │ ├── eggs.txt │ │ │ │ │ ├── ham.txt │ │ │ │ │ ├── packed.all │ │ │ │ │ └── spam.txt │ │ │ │ └── unpkdlg.py │ │ │ ├── SlideShow │ │ │ │ ├── Experimental │ │ │ │ │ ├── slideShowPlus_threads.py │ │ │ │ │ ├── slideShow_threads.py │ │ │ │ │ ├── slideShow_threadsFast.py │ │ │ │ │ └── slideshownotes.txt │ │ │ │ ├── __init__.py │ │ │ │ ├── slideShow.py │ │ │ │ ├── slideShow1.py │ │ │ │ ├── slideShowPlus.py │ │ │ │ ├── slideShow_frames.py │ │ │ │ ├── slideShow_framesFast.py │ │ │ │ └── slideShow_toplevels.py │ │ │ ├── TextEditor │ │ │ │ ├── __init__.py │ │ │ │ ├── simpleshell.py │ │ │ │ ├── textEditor.doc.txt │ │ │ │ ├── textEditor.py │ │ │ │ ├── textEditor.pyc │ │ │ │ └── textEditor.pyw │ │ │ ├── Tools │ │ │ │ ├── BigGui │ │ │ │ │ ├── big_gui-0.py │ │ │ │ │ ├── big_gui-3.py │ │ │ │ │ ├── big_gui.py │ │ │ │ │ └── find_demo_dir.py │ │ │ │ ├── Reload │ │ │ │ │ ├── actions.py │ │ │ │ │ ├── rad.py │ │ │ │ │ └── rad0.py │ │ │ │ ├── __init__.py │ │ │ │ ├── guiStreams.py │ │ │ │ ├── guiStreamsTools.py │ │ │ │ ├── guimaker.py │ │ │ │ ├── guimaker_classes.py │ │ │ │ ├── guimixin-old.py │ │ │ │ ├── guimixin.py │ │ │ │ └── guimixin.pyc │ │ │ ├── Tour │ │ │ │ ├── Cut │ │ │ │ │ ├── dialogList.py │ │ │ │ │ ├── dlg2.py │ │ │ │ │ ├── hello.py │ │ │ │ │ ├── hello_basic.py │ │ │ │ │ ├── hellobye.py │ │ │ │ │ ├── pickDlg-alt.py │ │ │ │ │ ├── pickDlg-basic.py │ │ │ │ │ └── pickDlg.py │ │ │ │ ├── Grid │ │ │ │ │ ├── grid1.py │ │ │ │ │ ├── grid2-fails.py │ │ │ │ │ ├── grid2-same.py │ │ │ │ │ ├── grid2-works.py │ │ │ │ │ ├── grid2.py │ │ │ │ │ ├── grid3.py │ │ │ │ │ ├── grid4.py │ │ │ │ │ ├── grid5-data1.txt │ │ │ │ │ ├── grid5-data2.txt │ │ │ │ │ ├── grid5-data3.txt │ │ │ │ │ ├── grid5.py │ │ │ │ │ ├── grid5b.py │ │ │ │ │ ├── grid5c.py │ │ │ │ │ └── xxx.txt │ │ │ │ ├── __init__.py │ │ │ │ ├── alarm-hide.py │ │ │ │ ├── alarm-withdraw.py │ │ │ │ ├── alarm.py │ │ │ │ ├── bind.py │ │ │ │ ├── buttonbars.py │ │ │ │ ├── buttonpics-func.py │ │ │ │ ├── buttonpics.py │ │ │ │ ├── canvas-bind.py │ │ │ │ ├── canvas1.py │ │ │ │ ├── canvasDraw.py │ │ │ │ ├── canvasDraw_tags.py │ │ │ │ ├── canvasDraw_tags_after.py │ │ │ │ ├── canvasDraw_tags_thread.py │ │ │ │ ├── config-button.py │ │ │ │ ├── config-label.py │ │ │ │ ├── demo-check-auto.py │ │ │ │ ├── demo-check-manual.py │ │ │ │ ├── demo-radio-auto.py │ │ │ │ ├── demo-radio-clear.py │ │ │ │ ├── demo-radio-clear2.py │ │ │ │ ├── demo-radio-manual.py │ │ │ │ ├── demo-radio-multi.py │ │ │ │ ├── demo-report.py │ │ │ │ ├── demo-scale-simple.py │ │ │ │ ├── demoAll_frm.py │ │ │ │ ├── demoAll_prg.py │ │ │ │ ├── demoAll_win.py │ │ │ │ ├── demoAll_win.txt │ │ │ │ ├── demoCheck.py │ │ │ │ ├── demoCheck.pyc │ │ │ │ ├── demoDlg-print.py │ │ │ │ ├── demoDlg.py │ │ │ │ ├── demoDlg.pyc │ │ │ │ ├── demoRadio.py │ │ │ │ ├── demoRadio.pyc │ │ │ │ ├── demoScale.py │ │ │ │ ├── demoScale.pyc │ │ │ │ ├── dialogTable.py │ │ │ │ ├── dialogTable.pyc │ │ │ │ ├── dlg-custom.py │ │ │ │ ├── dlg-old.py │ │ │ │ ├── dlg-recursive.py │ │ │ │ ├── dlg1.pyw │ │ │ │ ├── entry1-grow.py │ │ │ │ ├── entry1.py │ │ │ │ ├── entry2-modal.py │ │ │ │ ├── entry2.py │ │ │ │ ├── entry3-modal.py │ │ │ │ ├── entry3.py │ │ │ │ ├── imgButton.py │ │ │ │ ├── imgCanvas.py │ │ │ │ ├── imgCanvas2.py │ │ │ │ ├── mbutton.py │ │ │ │ ├── menuDemo-new.py │ │ │ │ ├── menuDemo-old.py │ │ │ │ ├── menuDemo.py │ │ │ │ ├── menu_frm-multi.py │ │ │ │ ├── menu_frm-multi2.py │ │ │ │ ├── menu_frm.py │ │ │ │ ├── menu_win-multi.py │ │ │ │ ├── menu_win.py │ │ │ │ ├── message.py │ │ │ │ ├── optionmenu.py │ │ │ │ ├── quitter-alt.py │ │ │ │ ├── quitter.py │ │ │ │ ├── quitter.pyc │ │ │ │ ├── scrolledcanvas.py │ │ │ │ ├── scrolledlist.py │ │ │ │ ├── scrolledtext.py │ │ │ │ ├── setcolor.py │ │ │ │ ├── simpleedit-2.py │ │ │ │ ├── simpleedit.py │ │ │ │ ├── temp.py │ │ │ │ ├── temp.txt │ │ │ │ ├── texttags.py │ │ │ │ ├── toplevel0.py │ │ │ │ ├── toplevel1.py │ │ │ │ ├── toplevel2.py │ │ │ │ ├── xxx │ │ │ │ └── xxx.py │ │ │ ├── __init__.py │ │ │ └── gifs │ │ │ │ ├── LJsuppcover.gif │ │ │ │ ├── LJsuppcover.note │ │ │ │ ├── README.txt │ │ │ │ ├── charmingpython.gif │ │ │ │ ├── charmingpython.note │ │ │ │ ├── frank.gif │ │ │ │ ├── frank.note │ │ │ │ ├── guido.gif │ │ │ │ ├── guido.note │ │ │ │ ├── guido_ddj.gif │ │ │ │ ├── guido_ddj.note │ │ │ │ ├── hahaha.gif │ │ │ │ ├── hahaha.note │ │ │ │ ├── hills.gif │ │ │ │ ├── hills.note │ │ │ │ ├── ora-lp-france.gif │ │ │ │ ├── ora-lp-france.note │ │ │ │ ├── ora-lp.gif │ │ │ │ ├── ora-lp.note │ │ │ │ ├── ora-pp-japan2.gif │ │ │ │ ├── ora-pp-japan2.note │ │ │ │ ├── ora-pp.gif │ │ │ │ ├── ora-pp.note │ │ │ │ ├── ora-pp1e-s.gif │ │ │ │ ├── ora-pp1e-s.note │ │ │ │ ├── ora-pp2e.gif │ │ │ │ ├── ora-pp2e.note │ │ │ │ ├── ora-ppr-german.gif │ │ │ │ ├── ora-ppr-german.note │ │ │ │ ├── ora-ppr.gif │ │ │ │ ├── ora-ppr.note │ │ │ │ ├── ora-ppython-s.note │ │ │ │ ├── oreilly_giraffe3.gif │ │ │ │ ├── oreilly_giraffe3.note │ │ │ │ ├── oreilly_moose3.gif │ │ │ │ ├── oreilly_moose3.note │ │ │ │ ├── oreilly_weasel3.gif │ │ │ │ ├── oreilly_weasel3.note │ │ │ │ ├── ousterhout.gif │ │ │ │ ├── ousterhout.note │ │ │ │ ├── ppython_sm_ad.gif │ │ │ │ ├── ppython_sm_ad.note │ │ │ │ ├── pythonHi.gif │ │ │ │ ├── pythonHi.note │ │ │ │ ├── pythonPowered.gif │ │ │ │ ├── pythonPowered.note │ │ │ │ ├── python_conf_ora.gif │ │ │ │ ├── python_conf_ora.note │ │ │ │ ├── pythonwin.gif │ │ │ │ ├── pythonwin.note │ │ │ │ ├── rmnp.gif │ │ │ │ ├── rmnp.note │ │ │ │ ├── training-alameda.gif │ │ │ │ ├── training-alameda.note │ │ │ │ ├── training-nyc.gif │ │ │ │ ├── training-nyc.note │ │ │ │ ├── training-puertorico-1.gif │ │ │ │ ├── training-puertorico-1.note │ │ │ │ ├── training-puertorico-2.gif │ │ │ │ ├── training-puertorico-2.note │ │ │ │ ├── training-uk-1.gif │ │ │ │ ├── training-uk-1.note │ │ │ │ ├── training-uk-2.gif │ │ │ │ └── training-uk-2.note │ │ ├── Integrate │ │ │ ├── Embed │ │ │ │ ├── ApiClients │ │ │ │ │ ├── codestring-api.c │ │ │ │ │ ├── codestring-low.c │ │ │ │ │ ├── makefile.clients │ │ │ │ │ ├── module.py │ │ │ │ │ ├── objects-api.c │ │ │ │ │ ├── objects-err-low.c │ │ │ │ │ ├── objects-low.c │ │ │ │ │ └── output.txt │ │ │ │ ├── Basics │ │ │ │ │ ├── Old │ │ │ │ │ │ ├── Readme.txt │ │ │ │ │ │ ├── basic1.c │ │ │ │ │ │ ├── basic2.c │ │ │ │ │ │ ├── basic3.c │ │ │ │ │ │ ├── basic4.c │ │ │ │ │ │ ├── basic5.c │ │ │ │ │ │ └── output │ │ │ │ │ ├── embed-bytecode.c │ │ │ │ │ ├── embed-dict.c │ │ │ │ │ ├── embed-object.c │ │ │ │ │ ├── embed-simple.c │ │ │ │ │ ├── embed-string.c │ │ │ │ │ ├── makefile.1 │ │ │ │ │ ├── makefile.basics │ │ │ │ │ ├── output.txt │ │ │ │ │ └── usermod.py │ │ │ │ ├── HighLevelApi │ │ │ │ │ ├── Readme.txt │ │ │ │ │ ├── copyright.txt │ │ │ │ │ ├── makefile.api │ │ │ │ │ ├── ppembed-attributes.c │ │ │ │ │ ├── ppembed-callables.c │ │ │ │ │ ├── ppembed-errors.c │ │ │ │ │ ├── ppembed-globals.c │ │ │ │ │ ├── ppembed-modules.c │ │ │ │ │ ├── ppembed-strings.c │ │ │ │ │ ├── ppembed.h │ │ │ │ │ └── varargs.txt │ │ │ │ ├── Inventory │ │ │ │ │ ├── Output │ │ │ │ │ │ ├── order-bytecode-py.out │ │ │ │ │ │ ├── order-bytecode.out │ │ │ │ │ │ ├── order-func-py.out │ │ │ │ │ │ ├── order-func.out │ │ │ │ │ │ ├── order-string-py.out │ │ │ │ │ │ └── order-string.out │ │ │ │ │ ├── WithDbase │ │ │ │ │ │ ├── Data │ │ │ │ │ │ │ ├── ordersfile.data │ │ │ │ │ │ │ └── ordersfile2.data │ │ │ │ │ │ ├── Dbase │ │ │ │ │ │ │ ├── dbbuyers │ │ │ │ │ │ │ ├── dbinventory │ │ │ │ │ │ │ └── readme.txt │ │ │ │ │ │ ├── Output │ │ │ │ │ │ │ ├── order-func-c.out │ │ │ │ │ │ │ └── order-func-py.out │ │ │ │ │ │ ├── README.txt │ │ │ │ │ │ ├── dbasetools.py │ │ │ │ │ │ ├── inventory.py │ │ │ │ │ │ ├── makefile.inv-dbase │ │ │ │ │ │ ├── order-func.c │ │ │ │ │ │ └── order-func.py │ │ │ │ │ ├── inventory.py │ │ │ │ │ ├── makefile.inv │ │ │ │ │ ├── order-bytecode.c │ │ │ │ │ ├── order-bytecode.py │ │ │ │ │ ├── order-func.c │ │ │ │ │ ├── order-func.py │ │ │ │ │ ├── order-string.c │ │ │ │ │ ├── order-string.py │ │ │ │ │ ├── ordersfile.h │ │ │ │ │ ├── ordersfile.py │ │ │ │ │ ├── validate1.py │ │ │ │ │ └── validate2.py │ │ │ │ ├── TestApi │ │ │ │ │ ├── WithPackages │ │ │ │ │ │ ├── makefile.testapi-pkgs │ │ │ │ │ │ ├── output │ │ │ │ │ │ ├── output-misc │ │ │ │ │ │ ├── pkgdir │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ └── testapi.py │ │ │ │ │ │ ├── testapi.c │ │ │ │ │ │ ├── testapi_c.py │ │ │ │ │ │ └── testapi_c_from.py │ │ │ │ │ ├── makefile.testapi │ │ │ │ │ ├── output │ │ │ │ │ ├── testapi.c │ │ │ │ │ ├── testapi.py │ │ │ │ │ └── testapi_c.py │ │ │ │ ├── coerce1.py │ │ │ │ └── coerce2.py │ │ │ ├── Extend │ │ │ │ ├── Cenviron │ │ │ │ │ ├── Old │ │ │ │ │ │ ├── embed.c │ │ │ │ │ │ ├── makefile.embed1 │ │ │ │ │ │ ├── makefile.embed2 │ │ │ │ │ │ ├── makefile.old │ │ │ │ │ │ └── output.embed │ │ │ │ │ ├── Setup.MAX │ │ │ │ │ ├── Setup.MIN │ │ │ │ │ ├── cenviron.c │ │ │ │ │ ├── envattr.py │ │ │ │ │ ├── envmap.py │ │ │ │ │ ├── envmod.py │ │ │ │ │ ├── envsub.py │ │ │ │ │ ├── envsub2.out │ │ │ │ │ ├── envsub2.py │ │ │ │ │ ├── makefile.cenviron │ │ │ │ │ └── output.environ │ │ │ │ ├── Hello │ │ │ │ │ ├── hello.c │ │ │ │ │ ├── hellouse.py │ │ │ │ │ ├── makefile.hello │ │ │ │ │ └── output.txt │ │ │ │ ├── HelloLib │ │ │ │ │ ├── hellolib.c │ │ │ │ │ ├── hellolib.h │ │ │ │ │ ├── hellolib_wrapper.c │ │ │ │ │ ├── makefile.hellolib-o │ │ │ │ │ ├── makefile.hellolib-so │ │ │ │ │ └── output │ │ │ │ ├── Modulator │ │ │ │ │ └── csets.c │ │ │ │ ├── Stacks │ │ │ │ │ ├── exttim.py │ │ │ │ │ ├── makefile.stack │ │ │ │ │ ├── oopstack.py │ │ │ │ │ ├── output-exttim │ │ │ │ │ ├── output.stacks │ │ │ │ │ ├── output.stub │ │ │ │ │ ├── stackmod.c │ │ │ │ │ ├── stacktyp.c │ │ │ │ │ ├── substack.py │ │ │ │ │ └── tmp-output.exttim │ │ │ │ ├── Swig │ │ │ │ │ ├── Environ │ │ │ │ │ │ ├── environ.i │ │ │ │ │ │ ├── environ_wrap.c │ │ │ │ │ │ ├── environ_wrap.doc │ │ │ │ │ │ ├── makefile.environ-swig │ │ │ │ │ │ └── output │ │ │ │ │ ├── Shadow │ │ │ │ │ │ ├── main.cxx │ │ │ │ │ │ ├── main.py │ │ │ │ │ │ ├── main_low.py │ │ │ │ │ │ ├── main_subclass.py │ │ │ │ │ │ ├── makefile.number-swig │ │ │ │ │ │ ├── number.cxx │ │ │ │ │ │ ├── number.h │ │ │ │ │ │ ├── number.i │ │ │ │ │ │ ├── number.py │ │ │ │ │ │ ├── number_wrap.c │ │ │ │ │ │ ├── number_wrap.doc │ │ │ │ │ │ └── output │ │ │ │ │ ├── hellolib.i │ │ │ │ │ ├── hellolib_wrap.c │ │ │ │ │ ├── hellolib_wrap.doc │ │ │ │ │ ├── makefile.hellolib-swig │ │ │ │ │ ├── myswig │ │ │ │ │ ├── output.txt │ │ │ │ │ └── setup-swig.csh │ │ │ │ ├── integer.txt │ │ │ │ └── mapping.txt │ │ │ ├── Mixed │ │ │ │ ├── Exports │ │ │ │ │ ├── ClassAndMod │ │ │ │ │ │ ├── cinterface.py │ │ │ │ │ │ ├── cinterfacemod.c │ │ │ │ │ │ ├── main-table.c │ │ │ │ │ │ ├── makefile.exports-class │ │ │ │ │ │ ├── output.prog1 │ │ │ │ │ │ └── setup-class.csh │ │ │ │ │ ├── Readme.txt │ │ │ │ │ ├── cinterface.c │ │ │ │ │ ├── cinterface.doc │ │ │ │ │ ├── cinterface.h │ │ │ │ │ ├── defaultlookup.c │ │ │ │ │ ├── main-function.c │ │ │ │ │ ├── main-table.c │ │ │ │ │ ├── makefile.exports │ │ │ │ │ ├── output │ │ │ │ │ ├── output.prog1 │ │ │ │ │ ├── runpy.c │ │ │ │ │ ├── runpy.h │ │ │ │ │ ├── script1.py │ │ │ │ │ ├── script2.py │ │ │ │ │ ├── script3.py │ │ │ │ │ └── scripttools.py │ │ │ │ ├── Regist │ │ │ │ │ ├── cregister.c │ │ │ │ │ ├── makefile.regist │ │ │ │ │ ├── output.txt │ │ │ │ │ └── register.py │ │ │ │ └── mixed.txt │ │ │ └── __init__.py │ │ ├── Internet │ │ │ ├── Cgi-Web.tar.gz │ │ │ ├── Cgi-Web │ │ │ │ ├── Basics │ │ │ │ │ ├── formMockup.py │ │ │ │ │ ├── getfile.cgi │ │ │ │ │ ├── getfile.html │ │ │ │ │ ├── languages-src.cgi │ │ │ │ │ ├── languages.cgi │ │ │ │ │ ├── languages.html │ │ │ │ │ ├── languages.out.txt │ │ │ │ │ ├── languages2.cgi │ │ │ │ │ ├── languages2common.py │ │ │ │ │ ├── languages2reply.cgi │ │ │ │ │ ├── mlutz.jpg │ │ │ │ │ ├── ora-pp.gif │ │ │ │ │ ├── ppsmall.gif │ │ │ │ │ ├── putfile.cgi │ │ │ │ │ ├── putfile.html │ │ │ │ │ ├── temp.html │ │ │ │ │ ├── test0.cgi │ │ │ │ │ ├── test0.html │ │ │ │ │ ├── test0.py │ │ │ │ │ ├── test1.cgi │ │ │ │ │ ├── test2.cgi │ │ │ │ │ ├── test3-minimal.html │ │ │ │ │ ├── test3.cgi │ │ │ │ │ ├── test3.html │ │ │ │ │ ├── test4.cgi │ │ │ │ │ ├── test4.html │ │ │ │ │ ├── test5.cgi │ │ │ │ │ ├── test5_mockup.cgi │ │ │ │ │ ├── test5a.html │ │ │ │ │ ├── test5b.html │ │ │ │ │ ├── test5c.html │ │ │ │ │ └── uploads │ │ │ │ │ │ └── README.txt │ │ │ │ ├── Extern │ │ │ │ │ ├── Email │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── mailconfig.py │ │ │ │ │ │ └── pymail.py │ │ │ │ │ ├── README.txt │ │ │ │ │ └── __init__.py │ │ │ │ ├── PyErrata │ │ │ │ │ ├── AdminTools │ │ │ │ │ │ ├── DbaseFiles.tar.gz │ │ │ │ │ │ ├── DbaseFilesIndexed │ │ │ │ │ │ │ ├── commentDB │ │ │ │ │ │ │ │ └── indexes.lck │ │ │ │ │ │ │ └── errataDB │ │ │ │ │ │ │ │ └── indexes.lck │ │ │ │ │ │ ├── Readme.txt │ │ │ │ │ │ ├── backupFiles.py │ │ │ │ │ │ ├── backupShelve.py │ │ │ │ │ │ ├── dbaseindexed.out.txt │ │ │ │ │ │ ├── dbaseindexed.py │ │ │ │ │ │ ├── dumpFiles.py │ │ │ │ │ │ ├── dumpShelve.py │ │ │ │ │ │ ├── dumpfile.out.txt │ │ │ │ │ │ ├── dumpshelve.out.txt │ │ │ │ │ │ ├── temp │ │ │ │ │ │ │ ├── browse-alt1.py │ │ │ │ │ │ │ ├── browse.doc.txt │ │ │ │ │ │ │ ├── browse.temp │ │ │ │ │ │ │ ├── dbcommon.txt │ │ │ │ │ │ │ ├── dbshelve.doc.txt │ │ │ │ │ │ │ └── tmp-dbshelve │ │ │ │ │ │ ├── verifyFiles.py │ │ │ │ │ │ ├── verifyShelve.py │ │ │ │ │ │ ├── verifycommon.py │ │ │ │ │ │ └── verifyfiles.out.txt │ │ │ │ │ ├── DbaseFiles │ │ │ │ │ │ ├── README │ │ │ │ │ │ ├── commentDB │ │ │ │ │ │ │ ├── 937908410.203-5352.data │ │ │ │ │ │ │ ├── 937908442.86-5354.data │ │ │ │ │ │ │ ├── 937908463.835-5358.data │ │ │ │ │ │ │ ├── 937908622.283-5372.data │ │ │ │ │ │ │ ├── 937908668.109-5376.data │ │ │ │ │ │ │ ├── 937908811.012-5386.data │ │ │ │ │ │ │ └── 937946599.068-11309.data │ │ │ │ │ │ └── errataDB │ │ │ │ │ │ │ ├── 937907956.159-5157.data │ │ │ │ │ │ │ ├── 937909033.248-5413.data │ │ │ │ │ │ │ ├── 937909103.065-5414.data │ │ │ │ │ │ │ ├── 937909222.474-5439.data │ │ │ │ │ │ │ ├── 937910827.389-5600.data │ │ │ │ │ │ │ ├── 937946732.881-11363.data │ │ │ │ │ │ │ ├── 938242439.425-19541.data │ │ │ │ │ │ │ ├── 939419481.95-10774.data │ │ │ │ │ │ │ └── 939419503.524-10781.data │ │ │ │ │ ├── DbaseShelve │ │ │ │ │ │ ├── README │ │ │ │ │ │ ├── commentDB │ │ │ │ │ │ ├── commentDB.lck │ │ │ │ │ │ ├── commentDB.log │ │ │ │ │ │ ├── errataDB │ │ │ │ │ │ ├── errataDB.lck │ │ │ │ │ │ └── errataDB.log │ │ │ │ │ ├── Mutex │ │ │ │ │ │ ├── Readme.txt │ │ │ │ │ │ ├── Shared.txt │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── launch-mutex-simple.py │ │ │ │ │ │ ├── launch-mutex.py │ │ │ │ │ │ ├── launch-test.out │ │ │ │ │ │ ├── launch-test.py │ │ │ │ │ │ ├── mutex-class.out.txt │ │ │ │ │ │ ├── mutex-fcntl.out.txt │ │ │ │ │ │ ├── mutexcntl.py │ │ │ │ │ │ ├── test.lck │ │ │ │ │ │ ├── test.log │ │ │ │ │ │ ├── test.log.save │ │ │ │ │ │ ├── testread-mutex.py │ │ │ │ │ │ ├── testread.py │ │ │ │ │ │ ├── testwrite-mutex.py │ │ │ │ │ │ └── testwrite.py │ │ │ │ │ ├── PythonPoweredSmall.gif │ │ │ │ │ ├── Readme.txt │ │ │ │ │ ├── browse.py │ │ │ │ │ ├── browseComments.cgi │ │ │ │ │ ├── browseComments.html │ │ │ │ │ ├── browseErrata.cgi │ │ │ │ │ ├── browseErrata.html │ │ │ │ │ ├── dbcommon.py │ │ │ │ │ ├── dbfiles.py │ │ │ │ │ ├── dbshelve.py │ │ │ │ │ ├── dbswitch.py │ │ │ │ │ ├── index.cgi │ │ │ │ │ ├── ppsmall.gif │ │ │ │ │ ├── pyerrata.html │ │ │ │ │ ├── resourcePatchfiles.html │ │ │ │ │ ├── resourcePythonchanges.html │ │ │ │ │ ├── resourceSupplements.html │ │ │ │ │ ├── submit.py │ │ │ │ │ ├── submitComment.cgi │ │ │ │ │ ├── submitComment.html │ │ │ │ │ ├── submitErrata.cgi │ │ │ │ │ └── submitErrata.html │ │ │ │ ├── PyInternetDemos.html │ │ │ │ ├── PyMailCgi │ │ │ │ │ ├── commonhtml.py │ │ │ │ │ ├── externs.py │ │ │ │ │ ├── index.html │ │ │ │ │ ├── loadmail.py │ │ │ │ │ ├── onRootSendLink.cgi │ │ │ │ │ ├── onRootViewLink.cgi │ │ │ │ │ ├── onSendSubmit.cgi │ │ │ │ │ ├── onViewListLink.cgi │ │ │ │ │ ├── onViewPswdSubmit.cgi │ │ │ │ │ ├── onViewSubmit.cgi │ │ │ │ │ ├── pageflow.txt │ │ │ │ │ ├── pymailcgi.html │ │ │ │ │ ├── secret.py │ │ │ │ │ ├── sendurl.py │ │ │ │ │ └── temp │ │ │ │ │ │ ├── commonhtml.doc.txt │ │ │ │ │ │ ├── commonhtml.out.txt │ │ │ │ │ │ └── secret.doc.txt │ │ │ │ ├── README.txt │ │ │ │ ├── fixcgi.py │ │ │ │ ├── fixsitename.py │ │ │ │ ├── index.html │ │ │ │ └── python_snake_ora.gif │ │ │ ├── Email │ │ │ │ ├── PyMailGui.doc.txt │ │ │ │ ├── PyMailGui.py │ │ │ │ ├── PyMailGuiHelp.py │ │ │ │ ├── README.txt │ │ │ │ ├── __init__.py │ │ │ │ ├── alpha-PyMailGui.py │ │ │ │ ├── beta-PyMailGui.py │ │ │ │ ├── cmdlinemail.txt │ │ │ │ ├── decode64.py │ │ │ │ ├── decode64_b.py │ │ │ │ ├── decodeAll.doc.txt │ │ │ │ ├── decodeAll.py │ │ │ │ ├── mailconfig.py │ │ │ │ ├── mailconfig.pyc │ │ │ │ ├── popmail.out.txt │ │ │ │ ├── popmail.py │ │ │ │ ├── pymail.doc.txt │ │ │ │ ├── pymail.out.txt │ │ │ │ ├── pymail.py │ │ │ │ ├── pymail.pyc │ │ │ │ ├── smtp.pop.out.txt │ │ │ │ ├── smtpmail-noTo.py │ │ │ │ ├── smtpmail.doc.txt │ │ │ │ ├── smtpmail.out.txt │ │ │ │ ├── smtpmail.out2.txt │ │ │ │ ├── smtpmail.py │ │ │ │ ├── test │ │ │ │ │ ├── output-all.txt │ │ │ │ │ └── readme.txt │ │ │ │ └── tmp.py │ │ │ ├── Ftp │ │ │ │ ├── PyFtpGui.pyw │ │ │ │ ├── README.txt │ │ │ │ ├── S │ │ │ │ ├── __init__.py │ │ │ │ ├── buildPython.py │ │ │ │ ├── get-put-file.out.txt │ │ │ │ ├── getfile.py │ │ │ │ ├── getfilegui.py │ │ │ │ ├── getpython-modular.py │ │ │ │ ├── getpython-urllib.py │ │ │ │ ├── getpython.py │ │ │ │ ├── mirrorflat-out.txt │ │ │ │ ├── mirrorflat-out2.txt │ │ │ │ ├── mirrorflat.doc.txt │ │ │ │ ├── mirrorflat.py │ │ │ │ ├── playfile.py │ │ │ │ ├── putfile.py │ │ │ │ ├── putfilegui.py │ │ │ │ ├── sousa.au │ │ │ │ ├── sousa.doc.txt │ │ │ │ ├── sousa.py │ │ │ │ ├── test │ │ │ │ │ └── index.html │ │ │ │ ├── uploadall-2.py │ │ │ │ ├── uploadall.py │ │ │ │ ├── uploadflat-out.txt │ │ │ │ ├── uploadflat-out2.txt │ │ │ │ ├── uploadflat-out3.txt │ │ │ │ ├── uploadflat.doc.txt │ │ │ │ └── uploadflat.py │ │ │ ├── Internet.txt │ │ │ ├── Other │ │ │ │ ├── Com │ │ │ │ │ ├── activescript-py.html │ │ │ │ │ ├── comclient.py │ │ │ │ │ ├── comserver-test-vbs.html │ │ │ │ │ ├── comserver-test.bas │ │ │ │ │ ├── comserver-test.py │ │ │ │ │ ├── comserver.out.txt │ │ │ │ │ ├── comserver.py │ │ │ │ │ ├── copy.doc │ │ │ │ │ └── pycom.doc │ │ │ │ ├── CxxSyntax.html │ │ │ │ ├── PythonPoweredSmall.gif │ │ │ │ ├── Question.py │ │ │ │ ├── README.txt │ │ │ │ ├── about-pp.html │ │ │ │ ├── activescript-js.html │ │ │ │ ├── activescript-py.html │ │ │ │ ├── activescript-vb.html │ │ │ │ ├── asp-py.asp │ │ │ │ ├── grail.html │ │ │ │ ├── hello.psp │ │ │ │ ├── htmlgen.txt │ │ │ │ ├── htmlgen101-b.html │ │ │ │ ├── htmlgen101-b.py │ │ │ │ ├── htmlgen101.html │ │ │ │ ├── htmlgen101.py │ │ │ │ ├── http-getfile-urllib1.py │ │ │ │ ├── http-getfile-urllib2.py │ │ │ │ ├── http-getfile.out.txt │ │ │ │ ├── http-getfile.py │ │ │ │ ├── index.html │ │ │ │ ├── jpython-applet.py │ │ │ │ ├── jpython.py │ │ │ │ ├── messages.py │ │ │ │ ├── output.txt │ │ │ │ ├── readnews-post.txt │ │ │ │ ├── readnews.out.txt │ │ │ │ ├── readnews.py │ │ │ │ ├── restricted.out.txt │ │ │ │ ├── restricted.py │ │ │ │ └── webserver.py │ │ │ ├── Sockets │ │ │ │ ├── README.txt │ │ │ │ ├── __init__.py │ │ │ │ ├── class-server.py │ │ │ │ ├── echo-client-50008.py │ │ │ │ ├── echo-client.py │ │ │ │ ├── echo-server.doc.txt │ │ │ │ ├── echo-server.py │ │ │ │ ├── echo.out.txt │ │ │ │ ├── fork-server-signal.py │ │ │ │ ├── fork-server.py │ │ │ │ ├── form.py │ │ │ │ ├── getfile-noeoln.py │ │ │ │ ├── getfile.doc.txt │ │ │ │ ├── getfile.out.txt │ │ │ │ ├── getfile.py │ │ │ │ ├── getfilegui-1.py │ │ │ │ ├── getfilegui-2.py │ │ │ │ ├── getfilegui.out.txt │ │ │ │ ├── getfilegui.py │ │ │ │ ├── select-server.doc.txt │ │ │ │ ├── select-server.py │ │ │ │ ├── signal-demo.out.txt │ │ │ │ ├── signal-demo.py │ │ │ │ ├── testdir │ │ │ │ │ ├── python15.lib │ │ │ │ │ └── textfile │ │ │ │ ├── testecho.py │ │ │ │ ├── testechowait.py │ │ │ │ └── thread-server.py │ │ │ └── __init__.py │ │ ├── Lang │ │ │ ├── Calculator │ │ │ │ ├── __init__.py │ │ │ │ ├── calc0.py │ │ │ │ ├── calc0emb.py │ │ │ │ ├── calc0ext.py │ │ │ │ ├── calculator.out │ │ │ │ ├── calculator.py │ │ │ │ ├── calculator.pyc │ │ │ │ ├── calculator_plus_emb.py │ │ │ │ ├── calculator_plus_ext.py │ │ │ │ ├── calculator_plusplus.py │ │ │ │ ├── calculator_test.py │ │ │ │ ├── old │ │ │ │ │ ├── calcalt1.py │ │ │ │ │ ├── calcalt2.py │ │ │ │ │ ├── calcalt3.py │ │ │ │ │ ├── calcbut.py │ │ │ │ │ ├── calcbutx.py │ │ │ │ │ ├── calctmp.py │ │ │ │ │ ├── calculator_grid.py │ │ │ │ │ └── old-calcgui2.py │ │ │ │ └── temp.notes.txt │ │ │ ├── Old-Intro │ │ │ │ ├── cheader1.py │ │ │ │ ├── finder1.py │ │ │ │ ├── replace.out │ │ │ │ ├── replace.py │ │ │ │ ├── summer.out │ │ │ │ ├── summer.py │ │ │ │ ├── table1.txt │ │ │ │ ├── table2.txt │ │ │ │ ├── test.h │ │ │ │ └── test.out │ │ │ ├── Old-regex │ │ │ │ ├── cheader.py │ │ │ │ ├── filter.out │ │ │ │ ├── filter1 │ │ │ │ ├── filter2 │ │ │ │ ├── filter3 │ │ │ │ ├── filter4 │ │ │ │ ├── filter5 │ │ │ │ ├── input.txt │ │ │ │ ├── patterns.py │ │ │ │ └── pygrep1.py │ │ │ ├── Parser │ │ │ │ ├── __init__.py │ │ │ │ ├── parse.tre │ │ │ │ ├── parser1.py │ │ │ │ ├── parser2.py │ │ │ │ ├── scanner.py │ │ │ │ └── testparser.py │ │ │ ├── __init__.py │ │ │ ├── cheader.py │ │ │ ├── filter6.py │ │ │ ├── filter7.py │ │ │ ├── finder2.py │ │ │ ├── finder2.txt │ │ │ ├── pygrep1.py │ │ │ ├── re-basic.py │ │ │ ├── re-groups.py │ │ │ ├── re-subst.py │ │ │ ├── rules.py │ │ │ ├── summer.py │ │ │ ├── table1.txt │ │ │ ├── table2.txt │ │ │ └── test.h │ │ ├── LaunchBrowser.py │ │ ├── Launch_PyDemos.pyw │ │ ├── Launch_PyGadgets.py │ │ ├── Launch_PyGadgets_bar.pyw │ │ ├── Launcher.py │ │ ├── Launcher.pyc │ │ ├── Other │ │ │ ├── Old-Part2 │ │ │ │ ├── Basics │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── args.out │ │ │ │ │ ├── batch.py │ │ │ │ │ ├── batch2.py │ │ │ │ │ ├── fixer.py │ │ │ │ │ ├── input1.txt │ │ │ │ │ ├── ipc1.py │ │ │ │ │ ├── ipc2.py │ │ │ │ │ ├── keywords.py │ │ │ │ │ ├── knight.py │ │ │ │ │ ├── lines.py │ │ │ │ │ ├── nest.py │ │ │ │ │ ├── pack1.bad │ │ │ │ │ ├── pack1.py │ │ │ │ │ ├── pack1b.py │ │ │ │ │ ├── pack1c.py │ │ │ │ │ ├── pack1d.py │ │ │ │ │ ├── pack1e.py │ │ │ │ │ ├── pack1e.txt │ │ │ │ │ ├── pack2.py │ │ │ │ │ ├── pack2b.py │ │ │ │ │ ├── packcmd.py │ │ │ │ │ ├── pmap.py │ │ │ │ │ ├── regtest.py │ │ │ │ │ ├── textpak1.py │ │ │ │ │ ├── textpak2.py │ │ │ │ │ ├── textpak3.py │ │ │ │ │ ├── textpak4.py │ │ │ │ │ ├── textpak5.dif │ │ │ │ │ ├── textpak5.py │ │ │ │ │ ├── textpk5b.py │ │ │ │ │ ├── textpk5x.py │ │ │ │ │ ├── umap.py │ │ │ │ │ ├── unpack1.bad │ │ │ │ │ ├── unpack1.py │ │ │ │ │ ├── unpack1b.py │ │ │ │ │ ├── unpack2.bad │ │ │ │ │ ├── unpack2.py │ │ │ │ │ ├── unpack2b.py │ │ │ │ │ └── unpack3.py │ │ │ │ ├── Oop │ │ │ │ │ ├── dclass.py │ │ │ │ │ ├── dclass0.py │ │ │ │ │ ├── generic.py │ │ │ │ │ ├── guimgr.py │ │ │ │ │ ├── interact.py │ │ │ │ │ ├── logger.py │ │ │ │ │ ├── menu0.py │ │ │ │ │ ├── menu0b.py │ │ │ │ │ ├── menu0b3.py │ │ │ │ │ ├── menu0c.py │ │ │ │ │ ├── menu1.py │ │ │ │ │ ├── menu1b.py │ │ │ │ │ ├── menu1c.bad │ │ │ │ │ ├── menu1c.mor │ │ │ │ │ ├── menu1c.py │ │ │ │ │ ├── menu1d.py │ │ │ │ │ ├── menu1e.py │ │ │ │ │ ├── menutest.py │ │ │ │ │ ├── security.py │ │ │ │ │ ├── securlog.py │ │ │ │ │ ├── testmenu.py │ │ │ │ │ ├── textpak6.py │ │ │ │ │ ├── textpak7.py │ │ │ │ │ ├── textpak8.py │ │ │ │ │ ├── textpk4m.py │ │ │ │ │ ├── textpk5m.py │ │ │ │ │ ├── textpk6b.py │ │ │ │ │ ├── textpk6c.py │ │ │ │ │ ├── textpk7b.py │ │ │ │ │ └── textpk7c.py │ │ │ │ └── __init__.py │ │ │ ├── Old-Tutor │ │ │ │ ├── class1.py │ │ │ │ ├── class2.py │ │ │ │ ├── class3.py │ │ │ │ ├── class4.py │ │ │ │ ├── class5.py │ │ │ │ ├── client1.py │ │ │ │ ├── client2.py │ │ │ │ ├── except1.py │ │ │ │ ├── except2.py │ │ │ │ ├── except3.py │ │ │ │ ├── except4.py │ │ │ │ ├── feet.py │ │ │ │ ├── func1.py │ │ │ │ ├── func2.py │ │ │ │ ├── func3.py │ │ │ │ ├── func4.py │ │ │ │ ├── parrot.py │ │ │ │ ├── primes1.py │ │ │ │ ├── script.py │ │ │ │ ├── stack.py │ │ │ │ ├── t1.py │ │ │ │ ├── t2.py │ │ │ │ ├── t3.py │ │ │ │ ├── t4.py │ │ │ │ ├── ta.py │ │ │ │ ├── table1.py │ │ │ │ ├── table2.py │ │ │ │ ├── table3.py │ │ │ │ ├── tb.py │ │ │ │ ├── tc.py │ │ │ │ ├── td.py │ │ │ │ ├── tx.py │ │ │ │ ├── ty.py │ │ │ │ ├── while1.py │ │ │ │ └── while3.py │ │ │ ├── Old-other │ │ │ │ ├── grail0.htm │ │ │ │ ├── grail0.py │ │ │ │ ├── old-sousa.py │ │ │ │ ├── ole1.py │ │ │ │ ├── sockclie.py │ │ │ │ └── sockserv.py │ │ │ ├── cgimail.py │ │ │ ├── classexc.py │ │ │ ├── closure.py │ │ │ ├── cp1 │ │ │ ├── cp2 │ │ │ ├── cp3 │ │ │ ├── cp4 │ │ │ ├── cp5 │ │ │ ├── cp6 │ │ │ ├── demo05.py │ │ │ ├── docstr.py │ │ │ ├── factorial.txt │ │ │ ├── ilu1.txt │ │ │ ├── ilu2.py │ │ │ ├── ilu3.py │ │ │ ├── minmax.py │ │ │ ├── multioverload.py │ │ │ ├── pkgimports-trace.py │ │ │ ├── pkgimports.py │ │ │ ├── privateattrs1.py │ │ │ ├── privateattrs2.py │ │ │ ├── privateattrs3.py │ │ │ ├── privateattrs4.py │ │ │ ├── privateattrs5.py │ │ │ ├── privateattrs6.py │ │ │ ├── psh.py │ │ │ ├── reloadall.py │ │ │ ├── reloadall.txt │ │ │ ├── reloadall_test.py │ │ │ ├── symbol.py │ │ │ ├── test.py │ │ │ ├── test2.py │ │ │ └── timerange.py │ │ ├── PyDemos.pyw │ │ ├── PyGadgets.py │ │ ├── PyGadgets.pyc │ │ ├── PyGadgets_bar.pyw │ │ ├── PyTools │ │ │ ├── FinalCDchanges.txt │ │ │ ├── README.txt │ │ │ ├── __init__.py │ │ │ ├── buildlog.linux │ │ │ ├── cleanall.log │ │ │ ├── cleanoutput.py │ │ │ ├── cleanpyc-py.py │ │ │ ├── cleanpyc.py │ │ │ ├── dumpfile.py │ │ │ ├── find-test.py │ │ │ ├── find.out.txt │ │ │ ├── find.py │ │ │ ├── fixeoln_all.out.txt │ │ │ ├── fixeoln_all.out2.txt │ │ │ ├── fixeoln_all.py │ │ │ ├── fixeoln_dir.py │ │ │ ├── fixeoln_one.doc.txt │ │ │ ├── fixeoln_one.py │ │ │ ├── fixeoln_one_mac.py │ │ │ ├── fixnames.out.txt │ │ │ ├── fixnames_all.py │ │ │ ├── fixnames_all2.py │ │ │ ├── fixreadonly-all.py │ │ │ ├── makeall.log │ │ │ ├── mystring.py │ │ │ ├── old-todos.py │ │ │ ├── old-tounix.py │ │ │ ├── old_toboth.py │ │ │ ├── pack.inet │ │ │ ├── renamer.py │ │ │ ├── search_all.out.txt │ │ │ ├── search_all.py │ │ │ ├── unpack.inet │ │ │ ├── visitor.out.txt │ │ │ ├── visitor.py │ │ │ ├── visitor_collect.py │ │ │ ├── visitor_collect_quiet1.py │ │ │ ├── visitor_collect_quiet2.py │ │ │ ├── visitor_edit.out.txt │ │ │ ├── visitor_edit.py │ │ │ ├── visitor_fixeoln.py │ │ │ ├── visitor_fixnames.py │ │ │ └── visitor_replace.py │ │ ├── README-PP2E.txt │ │ ├── System │ │ │ ├── App │ │ │ │ ├── Bases │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── app.py │ │ │ │ ├── Clients │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── mtool.py │ │ │ │ │ ├── mtool3.py │ │ │ │ │ ├── mtoolapp.py │ │ │ │ │ ├── myapp.py │ │ │ │ │ ├── myapp2.py │ │ │ │ │ ├── myapp4.py │ │ │ │ │ ├── packapp.py │ │ │ │ │ ├── test │ │ │ │ │ │ ├── eggs.txt │ │ │ │ │ │ ├── ham.txt │ │ │ │ │ │ ├── out1 │ │ │ │ │ │ ├── packed.all │ │ │ │ │ │ ├── packedapp.all │ │ │ │ │ │ ├── spam.txt │ │ │ │ │ │ ├── unpack │ │ │ │ │ │ │ ├── eggs.txt │ │ │ │ │ │ │ ├── ham.txt │ │ │ │ │ │ │ └── spam.txt │ │ │ │ │ │ └── unpackapp │ │ │ │ │ │ │ ├── eggs.txt │ │ │ │ │ │ │ ├── ham.txt │ │ │ │ │ │ │ └── spam.txt │ │ │ │ │ ├── textpack.py │ │ │ │ │ ├── textunpack.py │ │ │ │ │ ├── tools.py │ │ │ │ │ ├── tools2.py │ │ │ │ │ ├── unpackapp.py │ │ │ │ │ ├── unpackapp2.py │ │ │ │ │ └── unpackapp3.py │ │ │ │ ├── Kinds │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── fakefile.py │ │ │ │ │ ├── interact.py │ │ │ │ │ ├── internal.py │ │ │ │ │ └── redirect.py │ │ │ │ ├── Tests │ │ │ │ │ ├── apptest.out │ │ │ │ │ └── apptest.py │ │ │ │ ├── __init__.py │ │ │ │ └── apptools.py │ │ │ ├── Environment │ │ │ │ ├── README.txt │ │ │ │ ├── echoenv.py │ │ │ │ ├── environ.out.txt │ │ │ │ ├── setenv.py │ │ │ │ └── timefmt.py │ │ │ ├── Exits │ │ │ │ ├── testexit_fork.py │ │ │ │ ├── testexit_os.py │ │ │ │ ├── testexit_sys.py │ │ │ │ └── testexit_thread.py │ │ │ ├── Filetools │ │ │ │ ├── README.txt │ │ │ │ ├── Xfer063000 │ │ │ │ │ ├── xferdiffs062900.how.txt │ │ │ │ │ ├── xferdiffs063000 │ │ │ │ │ ├── xferdiffs063000-cd2 │ │ │ │ │ ├── xferdiffs063000-training │ │ │ │ │ ├── xferdiffs063000-training-cd2 │ │ │ │ │ ├── xferdiffs063000-website │ │ │ │ │ └── xferdiffs063000-website-cd2 │ │ │ │ ├── __init__.py │ │ │ │ ├── bkpdiff0923.out.txt │ │ │ │ ├── commands.py │ │ │ │ ├── cpall-alt.py │ │ │ │ ├── cpall-cwd.py │ │ │ │ ├── cpall.out.txt │ │ │ │ ├── cpall.py │ │ │ │ ├── cpall_visitor.py │ │ │ │ ├── diffall.out.txt │ │ │ │ ├── diffall.py │ │ │ │ ├── dir.out.txt │ │ │ │ ├── dirdiff-simple.py │ │ │ │ ├── dirdiff.out.txt │ │ │ │ ├── dirdiff.py │ │ │ │ ├── dirdiff2.py │ │ │ │ ├── dirdiff3.py │ │ │ │ ├── dirdiff4.py │ │ │ │ ├── dirdiff5.py │ │ │ │ ├── dirdiff6.py │ │ │ │ ├── exdiffs091500 │ │ │ │ ├── filelist.py │ │ │ │ ├── filters.py │ │ │ │ ├── hillbillies.txt │ │ │ │ ├── join.py │ │ │ │ ├── lister_recur.py │ │ │ │ ├── lister_walk.py │ │ │ │ ├── pytemp │ │ │ │ ├── regtest.py │ │ │ │ ├── rmall.out.txt │ │ │ │ ├── rmall.py │ │ │ │ ├── rmall2.py │ │ │ │ ├── scanfile.py │ │ │ │ ├── site-forward-glob.out.txt │ │ │ │ ├── site-forward-glob.py │ │ │ │ ├── site-forward.out.txt │ │ │ │ ├── site-forward.py │ │ │ │ ├── split.py │ │ │ │ ├── splitjoin.out.txt │ │ │ │ ├── temp1 │ │ │ │ │ ├── dirdiff.py │ │ │ │ │ └── sub1 │ │ │ │ │ │ └── dirdiff.py │ │ │ │ ├── temp2 │ │ │ │ │ ├── dirdiff.py │ │ │ │ │ └── sub1 │ │ │ │ │ │ └── dirdiff.py │ │ │ │ ├── temp3 │ │ │ │ │ ├── diff1 │ │ │ │ │ ├── diff2 │ │ │ │ │ └── diff3 │ │ │ │ ├── template.html │ │ │ │ ├── tempsplit │ │ │ │ │ ├── part0001 │ │ │ │ │ ├── part0002 │ │ │ │ │ ├── part0003 │ │ │ │ │ └── part0004 │ │ │ │ └── testdirdiff.py │ │ │ ├── Processes │ │ │ │ ├── README.txt │ │ │ │ ├── __init__.py │ │ │ │ ├── child-wait.py │ │ │ │ ├── child-wait.pyw │ │ │ │ ├── child.py │ │ │ │ ├── dosstart.py │ │ │ │ ├── fork-count.py │ │ │ │ ├── fork-exec.py │ │ │ │ ├── fork1.py │ │ │ │ ├── output.txt │ │ │ │ ├── output2.txt │ │ │ │ ├── pipe1.py │ │ │ │ ├── pipe12.out.txt │ │ │ │ ├── pipe2.py │ │ │ │ ├── pipefifo.out.txt │ │ │ │ ├── pipefifo.py │ │ │ │ ├── pipes-testchild.py │ │ │ │ ├── pipes.out.txt │ │ │ │ ├── pipes.py │ │ │ │ ├── signal.out.txt │ │ │ │ ├── signal1.py │ │ │ │ ├── signal2.py │ │ │ │ ├── spawnv.py │ │ │ │ ├── u-pipes-testchild.py │ │ │ │ └── u-pipes.py │ │ │ ├── Streams │ │ │ │ ├── __init__.py │ │ │ │ ├── adder.py │ │ │ │ ├── adder2.py │ │ │ │ ├── data.txt │ │ │ │ ├── hello-in-out.py │ │ │ │ ├── hello-in.py │ │ │ │ ├── hello-in.txt │ │ │ │ ├── hello-out.py │ │ │ │ ├── input.txt │ │ │ │ ├── output.txt │ │ │ │ ├── reader.py │ │ │ │ ├── redirect.py │ │ │ │ ├── sorter.py │ │ │ │ ├── souse.py │ │ │ │ ├── teststreams.py │ │ │ │ ├── writer.py │ │ │ │ └── writer2.py │ │ │ ├── System.txt │ │ │ ├── Threads │ │ │ │ ├── README.txt │ │ │ │ ├── etc │ │ │ │ │ ├── test6.winout.txt │ │ │ │ │ ├── thread-basics.py │ │ │ │ │ ├── thread-basics.txt │ │ │ │ │ ├── thread-basics2.py │ │ │ │ │ ├── thread-basics2.txt │ │ │ │ │ ├── thread-basics3.py │ │ │ │ │ ├── thread-basics3.txt │ │ │ │ │ ├── thread-basics4.py │ │ │ │ │ ├── thread-basics4.txt │ │ │ │ │ ├── thread-basics5.py │ │ │ │ │ ├── thread-basics6.py │ │ │ │ │ ├── thread-basics7.py │ │ │ │ │ ├── thread-basics8.py │ │ │ │ │ └── thread-basics9.py │ │ │ │ ├── race.py │ │ │ │ ├── race2.py │ │ │ │ ├── race3.py │ │ │ │ ├── temp │ │ │ │ ├── temp2 │ │ │ │ ├── thread-classes.py │ │ │ │ ├── thread-count-mutex.py │ │ │ │ ├── thread-count-wait1.py │ │ │ │ ├── thread-count-wait2.py │ │ │ │ ├── thread-count.py │ │ │ │ └── thread1.py │ │ │ ├── __init__.py │ │ │ ├── helloshell.py │ │ │ ├── more.py │ │ │ ├── moreplus.py │ │ │ ├── testargv.py │ │ │ ├── testargv2.py │ │ │ └── whereami.py │ │ ├── __init__.py │ │ ├── cleanall.csh │ │ ├── echoEnvironment.pyw │ │ ├── launchmodes.py │ │ ├── launchmodes.pyc │ │ ├── makeall.csh │ │ ├── package.csh │ │ ├── pyformData-1.5.2 │ │ ├── readme-old-pp1E.txt │ │ ├── todos.py │ │ ├── tounix.py │ │ ├── towriteable.py │ │ └── xferall.linux.csh │ │ ├── README-root.txt │ │ └── __init__.py ├── README.md ├── Report.docx ├── delay.py ├── example.py ├── ezscroll.py ├── ezscroll.pyc ├── flanger.py ├── flanger.pyc ├── flanger_infinite.py ├── frame-embedded-in-canvas.py ├── guitar_effecter.py ├── guitar_effector_presentation.pdf ├── inilineScroll.py ├── jason │ ├── 00138.pptx │ ├── Report.docx │ ├── delay.py │ ├── flanger.py │ ├── fuzz.py │ ├── myfunctions.py │ ├── myfunctions.pyc │ ├── ppt.pptx │ ├── ppt_ok.pptx │ ├── presentation_slides_guitar_effecter.pdf │ ├── wah.py │ └── wah_2.py ├── myfunctions.py ├── myfunctions.pyc ├── project_prototype1.0_with_bug.rar ├── project_report_guitar_effecter.pdf ├── pygame_window.py ├── realtime_flanger.py ├── temp.py └── wah.py └── pyaudio-0.2.8.py27.exe /EE6183_2015_fall_syllabus.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/EE6183_2015_fall_syllabus.pdf -------------------------------------------------------------------------------- /lecture1/DSP_Lab1_2015_fall.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/DSP_Lab1_2015_fall.pdf -------------------------------------------------------------------------------- /lecture1/Lab1/DSP_Lab1_2015_fall.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/DSP_Lab1_2015_fall.pdf -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/Lab_1_YingTa_Lin_ytl287.odt -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/Lab_1_YingTa_Lin_ytl287.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/Lab_1_YingTa_Lin_ytl287.pdf -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/Lab_1_YingTa_Lin_ytl287.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/Lab_1_YingTa_Lin_ytl287.zip -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/bubbleSort.py: -------------------------------------------------------------------------------- 1 | def bubbleSort(alist): 2 | for passnum in range(len(alist)-1,0,-1): 3 | for i in range(passnum): 4 | if alist[i]>alist[i+1]: 5 | temp = alist[i] 6 | alist[i] = alist[i+1] 7 | alist[i+1] = temp 8 | alist = [54,26,93,17,77,31,44,55,20] 9 | bubbleSort(alist) 10 | print(alist) 11 | -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/lab1_generate_list.py: -------------------------------------------------------------------------------- 1 | import random 2 | import sorting 3 | 4 | pool = range(1,101) 5 | alist = random.sample(pool,9) 6 | print(alist) 7 | alist1 = alist 8 | sorting.insertionSort(alist1) 9 | print "insertion sort:",alist1 10 | alist2 = alist 11 | sorting.bubbleSort(alist2) 12 | print "bubble sort:", alist2 13 | -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/sample_32bit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/sample_32bit.wav -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/sample_8bit.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/sample_8bit.wav -------------------------------------------------------------------------------- /lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/sorting.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/Lab_1_YingTa_Lin_ytl287/sorting.pyc -------------------------------------------------------------------------------- /lecture1/Lab1/Screenshot from 2015-09-14 23^%10^%09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/Screenshot from 2015-09-14 23^%10^%09.png -------------------------------------------------------------------------------- /lecture1/Lab1/arctic_a0001.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/arctic_a0001.wav -------------------------------------------------------------------------------- /lecture1/Lab1/bubbleSort.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/bubbleSort.pyc -------------------------------------------------------------------------------- /lecture1/Lab1/cat01.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/cat01.wav -------------------------------------------------------------------------------- /lecture1/Lab1/insertionSort.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/insertionSort.pyc -------------------------------------------------------------------------------- /lecture1/Lab1/sample_data/e00/d00/e0000d14.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/sample_data/e00/d00/e0000d14.au -------------------------------------------------------------------------------- /lecture1/Lab1/sorting.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/Lab1/sorting.pyc -------------------------------------------------------------------------------- /lecture1/python_pack_demo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/python_pack_demo.pdf -------------------------------------------------------------------------------- /lecture1/wave_file_demo_notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture1/wave_file_demo_notes.pdf -------------------------------------------------------------------------------- /lecture2/DSP_Lab2_2015_fall.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/DSP_Lab2_2015_fall.pdf -------------------------------------------------------------------------------- /lecture2/Lab2/3ED73F48-D89A-4BBE-80DA-B2F721226BD6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/3ED73F48-D89A-4BBE-80DA-B2F721226BD6.jpg -------------------------------------------------------------------------------- /lecture2/Lab2/DSP_Lab2_2015_fall.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/DSP_Lab2_2015_fall.pdf -------------------------------------------------------------------------------- /lecture2/Lab2/ERROR_exceed_max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/ERROR_exceed_max.png -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2(4-10)_YingTa_Lin_ytl287/Lab_2(4-10)_YingTa_Lin_ytl287.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/Lab_2(4-10)_YingTa_Lin_ytl287/Lab_2(4-10)_YingTa_Lin_ytl287.zip -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2(4-10)_YingTa_Lin_ytl287/Lab_2_YingTa_Lin_ytl287(4-10).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/Lab_2(4-10)_YingTa_Lin_ytl287/Lab_2_YingTa_Lin_ytl287(4-10).pdf -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2(4-10)_YingTa_Lin_ytl287/check_samples.py: -------------------------------------------------------------------------------- 1 | #check_samples.py module function check 2 | def check(sample,gain): 3 | limit = 0.0 4 | limit = 32767.0 / gain 5 | if abs(sample) > limit: 6 | print sample,'exceed limit' 7 | sample = sample / abs(sample) * limit 8 | else: 9 | pass 10 | return sample 11 | -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2_YingTa_Lin_ytl287(4-10).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/Lab_2_YingTa_Lin_ytl287(4-10).docx -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2_YingTa_Lin_ytl287.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/Lab_2_YingTa_Lin_ytl287.odt -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2_YingTa_Lin_ytl287/Lab_2_YingTa_Lin_ytl287.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/Lab_2_YingTa_Lin_ytl287/Lab_2_YingTa_Lin_ytl287.pdf -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2_YingTa_Lin_ytl287/Lab_2_YingTa_Lin_ytl287.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/Lab_2_YingTa_Lin_ytl287/Lab_2_YingTa_Lin_ytl287.zip -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2_YingTa_Lin_ytl287/check_samples.py: -------------------------------------------------------------------------------- 1 | #check_samples.py module function check 2 | def check(sample,gain): 3 | limit = 0.0 4 | limit = 32767.0 / gain 5 | if abs(sample) > limit: 6 | print sample,'exceed limit' 7 | sample = sample / abs(sample) * limit 8 | else: 9 | pass 10 | return sample 11 | -------------------------------------------------------------------------------- /lecture2/Lab2/Lab_2_YingTa_Lin_ytl287/check_samples.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/Lab_2_YingTa_Lin_ytl287/check_samples.pyc -------------------------------------------------------------------------------- /lecture2/Lab2/check_samples.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/Lab2/check_samples.pyc -------------------------------------------------------------------------------- /lecture2/Lab2/font_converter.html: -------------------------------------------------------------------------------- 1 |
print pyaudio.get_format_from_width(1,unsigned=False)
2 | 
3 | -------------------------------------------------------------------------------- /lecture2/demo04.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/demo04.pdf -------------------------------------------------------------------------------- /lecture2/fourth_order(peak-shifting).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/fourth_order(peak-shifting).png -------------------------------------------------------------------------------- /lecture2/fourth_order(wanted).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/fourth_order(wanted).png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_01.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_02.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_03.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_04.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_05.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_06.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_07.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_08.png -------------------------------------------------------------------------------- /lecture2/makefilter_01.m_files/makefilter_01_09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_01.m_files/makefilter_01_09.png -------------------------------------------------------------------------------- /lecture2/makefilter_02.m_files/makefilter_02_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_02.m_files/makefilter_02_01.png -------------------------------------------------------------------------------- /lecture2/makefilter_02.m_files/makefilter_02_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_02.m_files/makefilter_02_02.png -------------------------------------------------------------------------------- /lecture2/makefilter_02.m_files/makefilter_02_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_02.m_files/makefilter_02_03.png -------------------------------------------------------------------------------- /lecture2/makefilter_03.m_files/makefilter_03_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_03.m_files/makefilter_03_01.png -------------------------------------------------------------------------------- /lecture2/makefilter_03.m_files/makefilter_03_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_03.m_files/makefilter_03_02.png -------------------------------------------------------------------------------- /lecture2/makefilter_03.m_files/makefilter_03_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_03.m_files/makefilter_03_03.png -------------------------------------------------------------------------------- /lecture2/makefilter_03.m_files/makefilter_03_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture2/makefilter_03.m_files/makefilter_03_04.png -------------------------------------------------------------------------------- /lecture3/Lab3/DSP_Lab3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/DSP_Lab3.pdf -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287.docx -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287.pdf -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/Lab_3_YingTa_Lin_ytl287.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/Lab_3_YingTa_Lin_ytl287.pdf -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/author.wav -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/clipping.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/clipping.pyc -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/drum.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/drum.wav -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/vivalavida_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/vivalavida_mono.wav -------------------------------------------------------------------------------- /lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/vivalavida_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/Lab_3_YingTa_Lin_ytl287/vivalavida_stereo.wav -------------------------------------------------------------------------------- /lecture3/Lab3/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/author.wav -------------------------------------------------------------------------------- /lecture3/Lab3/clipping.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/clipping.pyc -------------------------------------------------------------------------------- /lecture3/Lab3/drum.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/drum.wav -------------------------------------------------------------------------------- /lecture3/Lab3/sin01_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/sin01_mono.wav -------------------------------------------------------------------------------- /lecture3/Lab3/sin01_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/sin01_stereo.wav -------------------------------------------------------------------------------- /lecture3/Lab3/vivalavida_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/vivalavida_mono.wav -------------------------------------------------------------------------------- /lecture3/Lab3/vivalavida_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/Lab3/vivalavida_stereo.wav -------------------------------------------------------------------------------- /lecture3/delay using circular buffer/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/delay using circular buffer/author.wav -------------------------------------------------------------------------------- /lecture3/delay using circular buffer/myfunctions.py: -------------------------------------------------------------------------------- 1 | 2 | def clip16( x ): 3 | # Clipping for 16 bits 4 | if x > 32767: 5 | x = 32767 6 | elif x < -32768: 7 | x = -32768 8 | else: 9 | x = x 10 | return int(x) 11 | 12 | -------------------------------------------------------------------------------- /lecture3/delay using circular buffer/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/delay using circular buffer/myfunctions.pyc -------------------------------------------------------------------------------- /lecture3/delay using circular buffer/notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/delay using circular buffer/notes.pdf -------------------------------------------------------------------------------- /lecture3/delay using circular buffer/notes.pdf.crdownload: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/delay using circular buffer/notes.pdf.crdownload -------------------------------------------------------------------------------- /lecture3/read and play wave files/sin01_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/read and play wave files/sin01_mono.wav -------------------------------------------------------------------------------- /lecture3/read and play wave files/sin01_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/read and play wave files/sin01_stereo.wav -------------------------------------------------------------------------------- /lecture3/read and play wave files/unpack_notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture3/read and play wave files/unpack_notes.pdf -------------------------------------------------------------------------------- /lecture4/EL6183_Fall_2015_Lect4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/EL6183_Fall_2015_Lect4.pdf -------------------------------------------------------------------------------- /lecture4/Lab4/DSP_Lab_04.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/DSP_Lab_04.pdf -------------------------------------------------------------------------------- /lecture4/Lab4/Lab4_Sec1_Ex3_ytl287_record.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/Lab4_Sec1_Ex3_ytl287_record.wav -------------------------------------------------------------------------------- /lecture4/Lab4/Lab4_Sec2_Ex3_ytl287_record.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/Lab4_Sec2_Ex3_ytl287_record.wav -------------------------------------------------------------------------------- /lecture4/Lab4/Lab4_YingTa_Lin_ytl287.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/Lab4_YingTa_Lin_ytl287.zip -------------------------------------------------------------------------------- /lecture4/Lab4/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/author.wav -------------------------------------------------------------------------------- /lecture4/Lab4/author_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/author_stereo.wav -------------------------------------------------------------------------------- /lecture4/Lab4/author_vibrato.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/author_vibrato.wav -------------------------------------------------------------------------------- /lecture4/Lab4/clipping.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/clipping.pyc -------------------------------------------------------------------------------- /lecture4/Lab4/drum.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/drum.wav -------------------------------------------------------------------------------- /lecture4/Lab4/hello_mono_16kHz_flanger.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/hello_mono_16kHz_flanger.wav -------------------------------------------------------------------------------- /lecture4/Lab4/hello_raw_mono_16kHz.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/hello_raw_mono_16kHz.wav -------------------------------------------------------------------------------- /lecture4/Lab4/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/myfunctions.pyc -------------------------------------------------------------------------------- /lecture4/Lab4/output.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/output.wav -------------------------------------------------------------------------------- /lecture4/Lab4/recplayAM_stere_record.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/recplayAM_stere_record.wav -------------------------------------------------------------------------------- /lecture4/Lab4/recplayAM_stereo_record.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/recplayAM_stereo_record.wav -------------------------------------------------------------------------------- /lecture4/Lab4/sin01_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/sin01_mono.wav -------------------------------------------------------------------------------- /lecture4/Lab4/sin01_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/Lab4/sin01_stereo.wav -------------------------------------------------------------------------------- /lecture4/demos_blocking_AM/demos_blocking_AM/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_blocking_AM/demos_blocking_AM/author.wav -------------------------------------------------------------------------------- /lecture4/demos_blocking_AM/demos_blocking_AM/author_AM.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_blocking_AM/demos_blocking_AM/author_AM.wav -------------------------------------------------------------------------------- /lecture4/demos_blocking_AM/demos_blocking_AM/author_AM_fix.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_blocking_AM/demos_blocking_AM/author_AM_fix.wav -------------------------------------------------------------------------------- /lecture4/demos_blocking_AM/demos_blocking_AM/notes.txt: -------------------------------------------------------------------------------- 1 | 2 | demo 06 - blocking 3 | 4 | These files illustrate blocking implementation 5 | as applied for amplitude modulation of speech. 6 | 7 | Wave file as input: 8 | playAM_noblocking.py 9 | playAM_blocking.py playAM_blocking_fix.py playAM_blocking_savewave.py 10 | playAM_noblocking.py 11 | 12 | Microphone input: 13 | recplayAM_mono.py 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /lecture4/demos_vibrato/demos_vibrato/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_vibrato/demos_vibrato/author.wav -------------------------------------------------------------------------------- /lecture4/demos_vibrato/demos_vibrato/author_vibrato.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_vibrato/demos_vibrato/author_vibrato.wav -------------------------------------------------------------------------------- /lecture4/demos_vibrato/demos_vibrato/decay_cosine_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_vibrato/demos_vibrato/decay_cosine_mono.wav -------------------------------------------------------------------------------- /lecture4/demos_vibrato/demos_vibrato/decay_cosine_mono_vibrato.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_vibrato/demos_vibrato/decay_cosine_mono_vibrato.wav -------------------------------------------------------------------------------- /lecture4/demos_vibrato/demos_vibrato/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_vibrato/demos_vibrato/myfunctions.pyc -------------------------------------------------------------------------------- /lecture4/demos_vibrato/demos_vibrato/sin01_mono.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture4/demos_vibrato/demos_vibrato/sin01_mono.wav -------------------------------------------------------------------------------- /lecture5/Lab5/DSP_Lab_05.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/DSP_Lab_05.pdf -------------------------------------------------------------------------------- /lecture5/Lab5/Lab5_Sec2_Ex7_ytl287_record.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/Lab5_Sec2_Ex7_ytl287_record.wav -------------------------------------------------------------------------------- /lecture5/Lab5/Lab5_YingTa_Lin_ytl287.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/Lab5_YingTa_Lin_ytl287.zip -------------------------------------------------------------------------------- /lecture5/Lab5/audio_plotting_demos/audio_plotting_demos/myfunctions.py: -------------------------------------------------------------------------------- 1 | 2 | def clip16( x ): 3 | # Clipping for 16 bits 4 | if x > 32767: 5 | x = 32767 6 | elif x < -32768: 7 | x = -32768 8 | else: 9 | x = x 10 | return int(x) 11 | 12 | -------------------------------------------------------------------------------- /lecture5/Lab5/audio_plotting_demos/audio_plotting_demos/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/audio_plotting_demos/audio_plotting_demos/myfunctions.pyc -------------------------------------------------------------------------------- /lecture5/Lab5/callback_demos/callback_demos/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/callback_demos/callback_demos/myfunctions.pyc -------------------------------------------------------------------------------- /lecture5/Lab5/callback_demos/callback_demos/test_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/callback_demos/callback_demos/test_stereo.wav -------------------------------------------------------------------------------- /lecture5/Lab5/callback_demos/callback_demos/test_vibrato.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/callback_demos/callback_demos/test_vibrato.wav -------------------------------------------------------------------------------- /lecture5/Lab5/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/myfunctions.pyc -------------------------------------------------------------------------------- /lecture5/Lab5/pyplot examples/pyplot examples/test01A.py: -------------------------------------------------------------------------------- 1 | 2 | from matplotlib import pyplot as plt 3 | 4 | x = [1, 3, 9, 8, 4, 6] 5 | y = [5, 1, 4, 2, 2, 4] 6 | z = [6, 3, 1, 8, 5, 9] 7 | 8 | # One plot 9 | plt.figure(1) 10 | plt.plot(x, y) 11 | plt.xlabel('Time (n)') 12 | plt.ylabel('Amplitude') 13 | plt.title('Data') 14 | 15 | plt.show() 16 | 17 | -------------------------------------------------------------------------------- /lecture5/Lab5/pyplot examples/pyplot examples/test01C.py: -------------------------------------------------------------------------------- 1 | 2 | from matplotlib import pyplot as plt 3 | 4 | x = [1, 3, 9, 8, 4, 6] 5 | y = [5, 1, 4, 2, 2, 4] 6 | z = [6, 3, 1, 8, 5, 9] 7 | 8 | # Two plots with color, short method 9 | plt.figure(1) 10 | plt.plot(x, y, 'red') 11 | plt.plot(y, x, 'blue') 12 | plt.xlabel('Time (n)') 13 | 14 | plt.show() 15 | 16 | -------------------------------------------------------------------------------- /lecture5/Lab5/pyplot examples/pyplot examples/test02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/pyplot examples/pyplot examples/test02.pdf -------------------------------------------------------------------------------- /lecture5/Lab5/pyplot examples/pyplot examples/test03B.py: -------------------------------------------------------------------------------- 1 | 2 | from matplotlib import pyplot as plt 3 | 4 | x = [1, 3, 9, 8, 4, 6] 5 | y = [5, 1, 4, 2, 2, 4] 6 | 7 | plt.figure(1) 8 | 9 | line, = plt.plot(x, y) # 'lines' is a tuple 10 | plt.xlabel('Time (n)') 11 | 12 | line.set_linewidth(3) 13 | line.set_color('red') 14 | 15 | # For other line properties you can set: plt.setp(lines) 16 | 17 | plt.show() 18 | 19 | -------------------------------------------------------------------------------- /lecture5/Lab5/pyplot examples/pyplot examples/test10A.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/pyplot examples/pyplot examples/test10A.pdf -------------------------------------------------------------------------------- /lecture5/Lab5/pyplot examples/pyplot examples/test10B.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture5/Lab5/pyplot examples/pyplot examples/test10B.pdf -------------------------------------------------------------------------------- /lecture5/Lab5/pyplot examples/pyplot examples/test12.py: -------------------------------------------------------------------------------- 1 | 2 | from matplotlib import pyplot as plt 3 | import numpy as np 4 | 5 | plt.ion() # Switch on interactive mode 6 | # Use plt.ioff() to switch off 7 | 8 | for i in range(100): 9 | x = i/10.0 10 | plt.plot(x, np.sin(x), 'ro') # plot each point as a red dot 11 | plt.draw() # Show result 12 | 13 | plt.ioff() 14 | plt.show() 15 | -------------------------------------------------------------------------------- /lecture6/DSP_Lab_06.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/DSP_Lab_06.pdf -------------------------------------------------------------------------------- /lecture6/FFT_demos/FFT_test01.py: -------------------------------------------------------------------------------- 1 | # FFT_test01.py 2 | 3 | import numpy as np 4 | 5 | x = [0, 1, 2, 3] 6 | X = np.fft.fft(x) 7 | g = np.fft.ifft(X) 8 | 9 | print x 10 | print X 11 | print g 12 | 13 | print 'x is a', type(x) 14 | print 'X is a', type(X) 15 | print 'g is a', type(g) 16 | 17 | -------------------------------------------------------------------------------- /lecture6/FFT_demos/FFT_test02.py: -------------------------------------------------------------------------------- 1 | # FFT_test02.py 2 | 3 | import numpy as np 4 | 5 | x = np.array([0, 1, 2, 3, 4]) 6 | X = np.fft.fft(x) 7 | g = np.fft.ifft(X) 8 | err = x - g 9 | 10 | print 'x is a', type(x) 11 | print 'X is a', type(X) 12 | print 'g is a', type(g) 13 | print 'err is a', type(err) 14 | 15 | print 'x = ', x 16 | print 'X = ', X 17 | print 'max(err) = ', max(err) 18 | -------------------------------------------------------------------------------- /lecture6/FFT_demos/FFT_test03.py: -------------------------------------------------------------------------------- 1 | # FFT_test03.py 2 | 3 | import numpy as np 4 | 5 | N = 10 6 | n = np.linspace(0, N-1, N) # N points from 0 to N-1 inclusive 7 | x = np.cos(2.0 * np.pi / N * n) 8 | X = np.fft.fft(x) 9 | g = np.fft.ifft(X) 10 | err = x - g # reconstruction error 11 | 12 | print 'n = ', n 13 | print 'x = ', x 14 | print 'X = ', X 15 | print 'max(abs(err)) = ', np.max(np.abs(err)) 16 | 17 | -------------------------------------------------------------------------------- /lecture6/FFT_demos/FFT_test04.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/FFT_demos/FFT_test04.pdf -------------------------------------------------------------------------------- /lecture6/FFT_demos/FFT_test05.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/FFT_demos/FFT_test05.pdf -------------------------------------------------------------------------------- /lecture6/FFT_demos/notes.txt: -------------------------------------------------------------------------------- 1 | 2 | FFT in NumPy: 3 | 4 | http://docs.scipy.org/doc/numpy/reference/routines.fft.html 5 | 6 | 7 | -------------------------------------------------------------------------------- /lecture6/Lab6/Lab6_Sec1_Ex2_ytl287_capture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab6_Sec1_Ex2_ytl287_capture.pdf -------------------------------------------------------------------------------- /lecture6/Lab6/Lab6_Sec2_Ex2_ytl287_complex_AM.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab6_Sec2_Ex2_ytl287_complex_AM.wav -------------------------------------------------------------------------------- /lecture6/Lab6/Lab6_Sec2_Ex3_ytl287_complex_AM.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab6_Sec2_Ex3_ytl287_complex_AM.wav -------------------------------------------------------------------------------- /lecture6/Lab6/Lab6_Sec3_Ex1_ytl287_Hallway_response.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab6_Sec3_Ex1_ytl287_Hallway_response.pdf -------------------------------------------------------------------------------- /lecture6/Lab6/Lab6_Sec3_Ex1_ytl287_living_room_response.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab6_Sec3_Ex1_ytl287_living_room_response.pdf -------------------------------------------------------------------------------- /lecture6/Lab6/Lab6_Sec3_Ex1_ytl287_room_response.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab6_Sec3_Ex1_ytl287_room_response.pdf -------------------------------------------------------------------------------- /lecture6/Lab6/Lab6_YingTa_Lin_ytl287.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab6_YingTa_Lin_ytl287.rar -------------------------------------------------------------------------------- /lecture6/Lab6/Lab_6_YingTa_Lin_ytl287.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab_6_YingTa_Lin_ytl287.docx -------------------------------------------------------------------------------- /lecture6/Lab6/Lab_6_YingTa_Lin_ytl287.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/Lab_6_YingTa_Lin_ytl287.pdf -------------------------------------------------------------------------------- /lecture6/Lab6/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/author.wav -------------------------------------------------------------------------------- /lecture6/Lab6/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/myfunctions.pyc -------------------------------------------------------------------------------- /lecture6/Lab6/onceupon.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/Lab6/onceupon.wav -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/author.wav -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/author_AM.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/author_AM.wav -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/author_Complex_AM.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/author_Complex_AM.wav -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/demo01.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/demo01.pdf -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/demo02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/demo02.pdf -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/demo03.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/demo03.pdf -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/demo04.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/demo04.pdf -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/demo05A.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/demo05A.pdf -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/demo05B.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/demo05B.pdf -------------------------------------------------------------------------------- /lecture6/complexAM_demos/complexAM_demos/demo06.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/complexAM_demos/complexAM_demos/demo06.pdf -------------------------------------------------------------------------------- /lecture6/jason/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/jason/author.wav -------------------------------------------------------------------------------- /lecture6/jason/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/jason/myfunctions.pyc -------------------------------------------------------------------------------- /lecture6/jason/onceupon.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture6/jason/onceupon.wav -------------------------------------------------------------------------------- /lecture7/Lab7/Chap5NotchFilters.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/Chap5NotchFilters.pdf -------------------------------------------------------------------------------- /lecture7/Lab7/DSP Lab 7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/DSP Lab 7.pdf -------------------------------------------------------------------------------- /lecture7/Lab7/Lab7_6_ytl287_complex_AM.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/Lab7_6_ytl287_complex_AM.wav -------------------------------------------------------------------------------- /lecture7/Lab7/Lab7_YingTa_Lin_ytl287.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/Lab7_YingTa_Lin_ytl287.docx -------------------------------------------------------------------------------- /lecture7/Lab7/Lab7_YingTa_Lin_ytl287.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/Lab7_YingTa_Lin_ytl287.pdf -------------------------------------------------------------------------------- /lecture7/Lab7/Lab7_YingTa_Lin_ytl287.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/Lab7_YingTa_Lin_ytl287.rar -------------------------------------------------------------------------------- /lecture7/Lab7/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/author.wav -------------------------------------------------------------------------------- /lecture7/Lab7/chirp.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/chirp.wav -------------------------------------------------------------------------------- /lecture7/Lab7/forjason.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/forjason.pdf -------------------------------------------------------------------------------- /lecture7/Lab7/input.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/input.mat -------------------------------------------------------------------------------- /lecture7/Lab7/lab7_5_ytl287.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/lab7_5_ytl287.pdf -------------------------------------------------------------------------------- /lecture7/Lab7/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/myfunctions.pyc -------------------------------------------------------------------------------- /lecture7/Lab7/onetothreeh.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/onetothreeh.mat -------------------------------------------------------------------------------- /lecture7/Lab7/peggy_dsp_lab7_3_matlabpart.m: -------------------------------------------------------------------------------- 1 | 2 | [x,Fs] = audioread('100_300_8s.wav') 3 | 4 | c = 0.6 5 | b = [conj(c) -1] 6 | a = [-1 c] 7 | y = filter(b, a, x) 8 | [H, om] = freqz(y); 9 | 10 | % See that |H(om)| = 1 11 | 12 | figure(1) % amplitude 13 | plot(om, 20*log(abs(H))) 14 | -------------------------------------------------------------------------------- /lecture7/Lab7/sin_440Hz_stereo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Lab7/sin_440Hz_stereo.wav -------------------------------------------------------------------------------- /lecture7/Matlab_GUI_demos/Matlab_GUI_demos/filter_gui_example_ver1_Screen_Shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Matlab_GUI_demos/Matlab_GUI_demos/filter_gui_example_ver1_Screen_Shot.png -------------------------------------------------------------------------------- /lecture7/Matlab_GUI_demos/Matlab_GUI_demos/filter_gui_example_ver2_Screen_Shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/Matlab_GUI_demos/Matlab_GUI_demos/filter_gui_example_ver2_Screen_Shot.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_01.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_02.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_03.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_04.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_05.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_06.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_07.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_08.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_09.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_10.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_11.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_12.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_13.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_14.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_15.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_16.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_17.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_allpass_18.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_01.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_02.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_03.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_04.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_05.png -------------------------------------------------------------------------------- /lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture7/demo allpass _ shelving filters/demo allpass & shelving filters/html/demo_shelving_06.png -------------------------------------------------------------------------------- /lecture8/instrument_simulation.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture8/instrument_simulation.zip -------------------------------------------------------------------------------- /lecture8/overlap.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture8/overlap.pdf -------------------------------------------------------------------------------- /lecture9/stft.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture9/stft.pdf -------------------------------------------------------------------------------- /lecture9/stft_inverse.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture9/stft_inverse.pdf -------------------------------------------------------------------------------- /lecture9/stft_matlab1/author.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture9/stft_matlab1/author.wav -------------------------------------------------------------------------------- /lecture9/stft_matlab1/demo_robot.m: -------------------------------------------------------------------------------- 1 | 2 | % Load signal 3 | [x, fs] = wavread('author.wav'); 4 | N = length(x); 5 | 6 | % Compute STFT 7 | R = 512; 8 | Nfft = 512; 9 | X = stft(x, R, Nfft); 10 | 11 | % Set phase to zero in STFT-domain 12 | X2 = abs(X); 13 | 14 | % Synthesize new signal ('robotic') 15 | y2 = inv_stft(X2, R, N); 16 | 17 | soundsc(y2, fs); 18 | -------------------------------------------------------------------------------- /lecture9/stft_matlab1/example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture9/stft_matlab1/example.pdf -------------------------------------------------------------------------------- /lecture9/stft_matlab1/html/example_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/lecture9/stft_matlab1/html/example_01.png -------------------------------------------------------------------------------- /mit9m.Audio.Effects.Theory.Implementation.and.Application.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/mit9m.Audio.Effects.Theory.Implementation.and.Application.pdf -------------------------------------------------------------------------------- /numpy-1.9.2-win32-superpack-python2.7.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/numpy-1.9.2-win32-superpack-python2.7.exe -------------------------------------------------------------------------------- /pip-7.1.2-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/pip-7.1.2-py2.py3-none-any.whl -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Ai/ExpertSystem/Todo.txt: -------------------------------------------------------------------------------- 1 | -- use new dict.copy to copy bindings 2 | -- use class constructors (added after holmes coded) 3 | -- cnv script could use PyTools/fixeoln_all.py 4 | -- text/gui modes 5 | -- uses classes for rules, etc, not dicts 6 | -- there's too much whitespace in these files 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Ai/ExpertSystem/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Ai/ExpertSystem/holmes.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Ai/ExpertSystem/holmes.tar -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Ai/ExpertSystem/holmes/cnv: -------------------------------------------------------------------------------- 1 | --update: see PP2E/tounix.py, and PP2E/tounix.py 2 | 3 | 4 | #!/usr/bin/csh -f 5 | 6 | # to convert to/from dos text form: 7 | # use 'unix2dos' to fix crlf's for dos 8 | 9 | echo $1 ':' 10 | cd $1 11 | 12 | foreach x (*) 13 | echo '...' $x 14 | dos2unix $x tmp 15 | mv -f tmp $x 16 | end 17 | 18 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Ai/ExpertSystem/holmes/kbases/t.kb: -------------------------------------------------------------------------------- 1 | rule 1 if a then b. 2 | 3 | rule 2 if b then c. 4 | 5 | rule 3 if c then d. 6 | 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Ai/TicTacToe/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Ai/TicTacToe/tictactoe_lists.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Ai/TicTacToe/tictactoe_lists.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/Intro/README.txt: -------------------------------------------------------------------------------- 1 | This is very old stuff (from the 1st edition, circa 1995/1996), 2 | so play with it at your own risk. At a minimum, the data files 3 | here are likely not compatible with current releases, so you 4 | will need to recreate these from scratch. 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/Intro/anydbm3.out: -------------------------------------------------------------------------------- 1 | % python 2 | >>> import anydbm # open dbm file again 3 | >>> map = anydbm.open('movie') 4 | >>> for key in map.keys(): print key, map[key] 5 | ... 6 | Joker Wham! 7 | Cat-woman Splat! 8 | Batman Ka-Boom! 9 | 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/Intro/cast.dir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/Intro/cast.dir -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/Intro/cast.pag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/Intro/cast.pag -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/TableBrowser/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/cast-152: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/cast-152 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/castdump.py: -------------------------------------------------------------------------------- 1 | import shelve 2 | db = shelve.open('data/castfile') # reopen shelve 3 | for key in db.keys(): # show each key,value 4 | print key, db[key] 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/castinit.py: -------------------------------------------------------------------------------- 1 | import shelve 2 | from testdata import cast 3 | db = shelve.open('data/castfile') # create a new shelve 4 | for key in cast.keys(): 5 | db[key] = cast[key] # store dictionaries in shelve 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/castview.py: -------------------------------------------------------------------------------- 1 | import shelve 2 | from TableBrowser.formgui import FormGui # after initcast 3 | db = shelve.open('data/castfile') # reopen shelve file 4 | FormGui(db).mainloop() # browse existing shelve-of-dicts 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/data/castfile-152: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/data/castfile-152 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/data/dbm1-152: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/data/dbm1-152 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/data/mydbase-class-152: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/data/mydbase-class-152 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/data/mydbase-dict-152: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/data/mydbase-dict-152 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/data/myfile-152: -------------------------------------------------------------------------------- 1 | (dp0 2 | S'B' 3 | p1 4 | (dp2 5 | S'x' 6 | p3 7 | I0 8 | sS'y' 9 | p4 10 | (lp5 11 | I1 12 | assS'A' 13 | p6 14 | g5 15 | s. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/data/shelve1-152: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Dbase/data/shelve1-152 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/old/browse.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | from TableBrowser.formgui import FormGui 3 | from formtbl2 import * 4 | from person import Person 5 | FormGui(ClassTable(Person, ShelveTable(None,'data/folks'))).mainloop() 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dbase/person1.py: -------------------------------------------------------------------------------- 1 | # a person object: fields + behavior 2 | 3 | class Person: 4 | def __init__(self, name, job, pay=0): 5 | self.name = name 6 | self.job = job 7 | self.pay = pay # real instance data 8 | def tax(self): 9 | return self.pay * 0.25 # computed on call 10 | def info(self): 11 | return self.name, self.job, self.pay, self.tax() -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/Basic/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/Basic/settime2.py: -------------------------------------------------------------------------------- 1 | from settime import doit 2 | import set, fastset 3 | 4 | import timer, sys 5 | print 'start...' 6 | print timer.test(eval(sys.argv[1]), lambda i: doit(set.Set, i)) 7 | print timer.test(eval(sys.argv[1]), lambda i: doit(fastset.Set, i)) 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/Classics/MoreGraphs/readme.txt: -------------------------------------------------------------------------------- 1 | Versions of the graph programs that interact after solutions 2 | are found (from the first edition) 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/Classics/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/Classics/gtestobj2.py: -------------------------------------------------------------------------------- 1 | from graph import Graph 2 | 3 | S = Graph('s') 4 | P = Graph('p') # a graph of spam 5 | A = Graph('a') # make node objects 6 | M = Graph('m') 7 | 8 | S.arcs = [P, M] # S leads to P and M 9 | P.arcs = [S, M, A] # arcs: embedded objects 10 | A.arcs = [M] 11 | print S.search(M) # find all paths from S to M 12 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/Classics/rev1.py: -------------------------------------------------------------------------------- 1 | def reverse(list): # recursive 2 | if list == []: 3 | return [] 4 | else: 5 | return reverse(list[1:]) + list[:1] 6 | 7 | def ireverse(list): # iterative 8 | res = [] 9 | for x in list: res = [x] + res 10 | return res 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/Classics/rev3.py: -------------------------------------------------------------------------------- 1 | def rev(list, stack): 2 | if not list: 3 | return stack 4 | else: 5 | return rev(list[1:], list[:1] + stack) 6 | 7 | def reverse(list): return rev(list, list[:0]) 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/OldIntro/stack.out: -------------------------------------------------------------------------------- 1 | % python 2 | >>> from stack2 import Stack 3 | >>> x = Stack() 4 | >>> x.push('string') 5 | >>> x.push(123) 6 | >>> x.stack 7 | [123, 'string'] 8 | >>> y = Stack() 9 | >>> y.push(x.pop()) 10 | >>> x.stack, y.stack 11 | (['string'], [123]) 12 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/TreeView/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Dstruct/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Clock/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/README.txt: -------------------------------------------------------------------------------- 1 | gui1 - basic coding styles with labels 2 | gui2 - adds callbacks 3 | gui3 - adds user-defined callbacks 4 | gui4 - adds multi-widget layouts 5 | gui5 - subclasses button 6 | gui6 - subclasses frame 7 | gui7 - standalone container class 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1-old.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | Label(None, {'text': 'Hello GUI world!', Pack: {'side': 'top'}}).mainloop() 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1.py: -------------------------------------------------------------------------------- 1 | from Tkinter import Label # get a widget object 2 | widget = Label(None, text='Hello GUI world!') # make one 3 | widget.pack() # arrange it 4 | widget.mainloop() # start event loop 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1.pyw: -------------------------------------------------------------------------------- 1 | from Tkinter import Label 2 | widget = Label(None, text='Hello GUI world!') 3 | widget.pack() 4 | widget.mainloop() 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1b.py: -------------------------------------------------------------------------------- 1 | import Tkinter 2 | widget = Tkinter.Label(None, text='Hello GUI world!') 3 | widget.pack() 4 | widget.mainloop() 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1c.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | root = Tk() 3 | Label(root, text='Hello GUI world!').pack(side=TOP) 4 | root.mainloop() 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1d.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | Label(text='Hello GUI world!').pack() 3 | mainloop() 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1e.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | Label(text='Hello GUI world!').pack(expand=YES, fill=BOTH) 3 | mainloop() 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1f.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | widget = Label() 3 | widget['text'] = 'Hello GUI world!' 4 | widget.pack(side=TOP) 5 | mainloop() 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui1g.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | root = Tk() 3 | widget = Label(root) 4 | widget.config(text='Hello GUI world!') 5 | widget.pack(side=TOP, expand=YES, fill=BOTH) 6 | root.title('gui1g.py') 7 | root.mainloop() 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui2.py: -------------------------------------------------------------------------------- 1 | import sys 2 | from Tkinter import * 3 | widget = Button(None, text='Hello widget world', command=sys.exit) 4 | widget.pack() 5 | widget.mainloop() 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui2b.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | root = Tk() 3 | Button(root, text='press', command=root.quit).pack(side=LEFT) 4 | root.mainloop() 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui3.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | 3 | def quit(): # a custom callback handler 4 | print 'Hello, I must be going...' # kill windows and process 5 | import sys; sys.exit() 6 | 7 | widget = Button(None, text='Hello event world', command=quit) 8 | widget.pack() 9 | widget.mainloop() 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui3b.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | from sys import stdout, exit # lambda generates a function 3 | widget = Button(None, # but contains just an expression 4 | text='Hello event world', 5 | command=(lambda: stdout.write('Hello lambda world\n') or exit()) ) 6 | widget.pack() 7 | widget.mainloop() 8 | 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui4.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | 3 | def greeting(): 4 | print 'Hello stdout world!...' 5 | 6 | win = Frame() 7 | win.pack() 8 | Label(win, text='Hello container world').pack(side=TOP) 9 | Button(win, text='Hello', command=greeting).pack(side=LEFT) 10 | Button(win, text='Quit', command=win.quit).pack(side=RIGHT) 11 | 12 | win.mainloop() 13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui4b.py: -------------------------------------------------------------------------------- 1 | # alternative packing/clipping order 2 | 3 | from Tkinter import * 4 | 5 | def greeting(): 6 | print 'Hello stdout world!...' 7 | 8 | win = Frame() 9 | win.pack() 10 | Button(win, text='Hello', command=greeting).pack(side=LEFT) 11 | Button(win, text='Quit', command=win.quit).pack(side=RIGHT) 12 | Label(win, text='Hello container world').pack(side=TOP) 13 | 14 | win.mainloop() 15 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui5b.py: -------------------------------------------------------------------------------- 1 | from gui5 import HelloButton 2 | 3 | class MyButton(HelloButton): # subclass HelloButton 4 | def callback(self): # redefine press-handler method 5 | print "Ignoring press!..." 6 | 7 | if __name__ == '__main__': 8 | MyButton(None, text='Hello subclass world').mainloop() 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui7b.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | from gui7 import HelloPackage # or get from gui7c--__getattr__ added 3 | 4 | frm = Frame() 5 | frm.pack() 6 | Label(frm, text='hello').pack() 7 | 8 | part = HelloPackage(frm) 9 | part.pack(side=RIGHT) # fails!--need part.top.pack(side=RIGHT) 10 | frm.mainloop() 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Intro/gui7c.py: -------------------------------------------------------------------------------- 1 | import gui7 2 | from Tkinter import * 3 | 4 | class HelloPackage(gui7.HelloPackage): 5 | def __getattr__(self, name): 6 | return getattr(self.top, name) # pass off to a real widget 7 | 8 | if __name__ == '__main__': HelloPackage().top.mainloop() 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/MovingPics/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/SeeAlso.txt: -------------------------------------------------------------------------------- 1 | 2 | -- See also: all programs run by PP2E\PyDemos.pyw 3 | (PyMail, PyFtp, PyCalc, PyTree, PyForm...) -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/ShellGui/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/ShellGui/test/eggs.txt: -------------------------------------------------------------------------------- 1 | EGGS 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/ShellGui/test/ham.txt: -------------------------------------------------------------------------------- 1 | ham 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/ShellGui/test/packed.all: -------------------------------------------------------------------------------- 1 | ::::::::::textpak=>C:/PP2ndEd/examples/PP2E/Gui/ShellGui/test/eggs.txt 2 | EGGS 3 | ::::::::::textpak=>C:/PP2ndEd/examples/PP2E/Gui/ShellGui/test/ham.txt 4 | ham 5 | ::::::::::textpak=>C:/PP2ndEd/examples/PP2E/Gui/ShellGui/test/spam.txt 6 | SPAM 7 | spam 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/ShellGui/test/spam.txt: -------------------------------------------------------------------------------- 1 | SPAM 2 | spam 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/SlideShow/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/TextEditor/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/TextEditor/simpleshell.py: -------------------------------------------------------------------------------- 1 | namespace= {} 2 | while 1: 3 | try: 4 | line = raw_input('>>> ') # single line statements only 5 | except EOFError: 6 | break 7 | else: 8 | exec line in namespace # or eval() and print result 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/TextEditor/textEditor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/TextEditor/textEditor.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tools/Reload/actions.py: -------------------------------------------------------------------------------- 1 | # callback handlers: reloaded each time triggered 2 | 3 | def message1(): # change me 4 | print 'spamSpamSPAM' # could build a dialog... 5 | 6 | def message2(self): 7 | print 'Ni! Ni!' # change me 8 | self.method1() # access the 'Hello' instance... 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tools/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tools/guimixin.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/Tools/guimixin.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/Cut/hello_basic.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * # get widget classes 2 | root = Tk() 3 | widget = Button(root, text='Hello world', command=root.quit) 4 | widget.pack() 5 | root.mainloop() 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/Grid/grid1.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | colors = ['red', 'green', 'orange', 'white', 'yellow', 'blue'] 3 | 4 | r = 0 5 | for c in colors: 6 | Label(text=c, relief=RIDGE, width=25).grid(row=r, column=0) 7 | Entry(bg=c, relief=SUNKEN, width=50).grid(row=r, column=1) 8 | r = r+1 9 | 10 | mainloop() 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/Grid/grid4.py: -------------------------------------------------------------------------------- 1 | # simple 2d table 2 | 3 | from Tkinter import * 4 | 5 | for i in range(5): 6 | for j in range(4): 7 | l = Label(text='%d.%d' % (i, j), relief=RIDGE) 8 | l.grid(row=i, column=j, sticky=NSEW) 9 | 10 | mainloop() 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/Grid/grid5-data1.txt: -------------------------------------------------------------------------------- 1 | 1 2 3 4 5 6 2 | 1 2 3 4 5 6 3 | 1 2 3 4 5 6 4 | 1 2 3 4 5 6 5 | 1 2 3 4 5 6 6 | 1 2 3 4 5 6 7 | 1 2 3 4 5 6 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/Grid/grid5-data2.txt: -------------------------------------------------------------------------------- 1 | 1 2 3 2*2 5 6 2 | 1 3-1 3 2<<1 5 6 3 | 1 5%3 3 pow(2,2) 5 6 4 | 1 2 3 2**2 5 6 5 | 1 2 3 [4,3][0] 5 6 6 | 1 {'a':2}['a'] 3 len('abcd') 5 6 7 | 1 abs(-2) 3 eval('2+2') 5 6 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/Grid/xxx.txt: -------------------------------------------------------------------------------- 1 | xxx 2 | yyy 3 | zzz 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/__init__.py: -------------------------------------------------------------------------------- 1 | # in case anything here is imported elsewhere 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/config-button.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | widget = Button(text='Spam', padx=10, pady=10) 3 | widget.pack(padx=20, pady=20) 4 | widget.config(cursor='gumby') 5 | widget.config(bd=8, relief=RAISED) 6 | widget.config(bg='dark green', fg='white') 7 | widget.config(font=('helvetica', 20, 'underline italic')) 8 | mainloop() 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demo-radio-auto.py: -------------------------------------------------------------------------------- 1 | # radio buttons, the easy way 2 | 3 | from Tkinter import * 4 | root = Tk() # IntVars work too 5 | var = IntVar() # state = var.get() 6 | for i in range(10): 7 | rad = Radiobutton(root, text=str(i), value=i, variable=var) 8 | rad.pack(side=LEFT) 9 | root.mainloop() 10 | print var.get() # show state on exit 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demo-radio-multi.py: -------------------------------------------------------------------------------- 1 | # see what happens when some buttons have same value 2 | 3 | from Tkinter import * 4 | root = Tk() 5 | var = StringVar() 6 | for i in range(10): 7 | rad = Radiobutton(root, text=str(i), variable=var, value=str(i % 3)) 8 | rad.pack(side=LEFT) 9 | root.mainloop() 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demo-report.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | import sys 3 | exec 'from %s import Demo' % sys.argv[1] # import by name string 4 | root = Tk() 5 | demo = Demo(root) 6 | Button(Toplevel(), text='state', command=demo.report).pack(fill=X) 7 | root.mainloop() 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demo-scale-simple.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | root = Tk() 3 | scl = Scale(root, from_=-100, to=100, tickinterval=50, resolution=10) 4 | scl.pack(expand=YES, fill=Y) 5 | def report(): print scl.get() 6 | Button(root, text='state', command=report).pack(side=RIGHT) 7 | root.mainloop() 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demoCheck.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/Tour/demoCheck.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demoDlg.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/Tour/demoDlg.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demoRadio.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/Tour/demoRadio.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/demoScale.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/Tour/demoScale.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/dialogTable.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/Tour/dialogTable.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/imgButton.py: -------------------------------------------------------------------------------- 1 | gifdir = "../gifs/" 2 | from Tkinter import * 3 | win = Tk() 4 | igm = PhotoImage(file=gifdir+"ora-pp.gif") 5 | Button(win, image=igm).pack() 6 | win.mainloop() 7 | 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/imgCanvas.py: -------------------------------------------------------------------------------- 1 | gifdir = "../gifs/" 2 | from Tkinter import * 3 | win = Tk() 4 | img = PhotoImage(file=gifdir+"ora-lp.gif") 5 | can = Canvas(win) 6 | can.pack(fill=BOTH) 7 | can.create_image(2, 2, image=img, anchor=NW) # x, y coordinates 8 | win.mainloop() 9 | 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/menu_win-multi.py: -------------------------------------------------------------------------------- 1 | from menu_win import makemenu 2 | from Tkinter import * 3 | 4 | root = Tk() 5 | for i in range(3): # 3 popup windows with menus 6 | win = Toplevel(root) 7 | makemenu(win) 8 | Label(win, bg='black', height=5, width=15).pack(expand=YES, fill=BOTH) 9 | Button(root, text="Bye", command=root.quit).pack() 10 | root.mainloop() 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/message.py: -------------------------------------------------------------------------------- 1 | from Tkinter import * 2 | msg = Message(text="Oh by the way, which one's Pink?") 3 | msg.config(bg='pink', font=('times', 16, 'italic')) 4 | msg.pack() 5 | mainloop() 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/quitter.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/Tour/quitter.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/temp.py: -------------------------------------------------------------------------------- 1 | f = open('temp.txt', 'w') 2 | for i in range(250): 3 | f.write('%03d) All work and no play makes Jack a dull boy.\n' % i) 4 | f.close() 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/toplevel1.py: -------------------------------------------------------------------------------- 1 | import Tkinter 2 | from Tkinter import Tk, Button 3 | Tkinter.NoDefaultRoot() 4 | 5 | win1 = Tk() # two independent root windows 6 | win2 = Tk() 7 | 8 | Button(win1, text='Spam', command=win1.destroy).pack() 9 | Button(win2, text='SPAM', command=win2.destroy).pack() 10 | win1.mainloop() -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/Tour/xxx: -------------------------------------------------------------------------------- 1 | aaa 2 | bbb 3 | ccc 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/LJsuppcover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/LJsuppcover.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/LJsuppcover.note: -------------------------------------------------------------------------------- 1 | The cover of the Python supplement in the May 2000 issue of 2 | the Linux Journal. It's supposed to mimic a Monty Python skit, 3 | but was a bit controversial. Python creator Guido van Rossum 4 | and Open Source evangelist Eric Raymond appear in the upper 5 | right (not the middle). Photo courtesy of Linux Journal. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/charmingpython.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/charmingpython.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/charmingpython.note: -------------------------------------------------------------------------------- 1 | A picture grabbed from the O'Reilly Python DevCenter 2 | site, today at http://www.oreillynet.com/python. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/frank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/frank.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/frank.note: -------------------------------------------------------------------------------- 1 | This book's original editor, Frank Willison. 2 | Laura Lewin was the second edition's editor, 3 | but I couldn't find a photo of her to swipe. 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/guido.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/guido.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/guido.note: -------------------------------------------------------------------------------- 1 | Python creator, Guido van Rossum (photo 2 | taken by his brother, Just van Rossum). -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/guido_ddj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/guido_ddj.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/guido_ddj.note: -------------------------------------------------------------------------------- 1 | A picture taken of Guido, when he was awarded a Programming 2 | Excellence award for Python, by Dr. Dobbs Journal, 1999. 3 | Photo courtesy of Dr. Dobbs Journal. 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/hahaha.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/hahaha.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/hahaha.note: -------------------------------------------------------------------------------- 1 | A controversial O'Reilly banner ad which appeared on slashdot. 2 | This ad was pulled after complaints from insecure Perl fans. 3 | Your mileage may vary. 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/hills.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/hills.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/hills.note: -------------------------------------------------------------------------------- 1 | Another Colorado shot, from a hiking trip. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-lp-france.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-lp-france.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-lp-france.note: -------------------------------------------------------------------------------- 1 | The French language tranlation of 2 | the book Learning Python. It's also 3 | available in Japanese and German. 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-lp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-lp.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-lp.note: -------------------------------------------------------------------------------- 1 | Learning Python - an introductory-level Python book. 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp-japan2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-pp-japan2.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp-japan2.note: -------------------------------------------------------------------------------- 1 | Cover shot from Volume 2 of the Japanese language 2 | translation of the first edition of this book. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-pp.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp.note: -------------------------------------------------------------------------------- 1 | The book you're holding right now, eh? 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp1e-s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-pp1e-s.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp1e-s.note: -------------------------------------------------------------------------------- 1 | A newer cover shot, first edition. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp2e.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-pp2e.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-pp2e.note: -------------------------------------------------------------------------------- 1 | Second edition cover shot. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-ppr-german.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-ppr-german.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-ppr-german.note: -------------------------------------------------------------------------------- 1 | The German language translation of 2 | the book Python Pocket Reference. 3 | Also available in French and Japanese. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-ppr.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ora-ppr.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-ppr.note: -------------------------------------------------------------------------------- 1 | Python Pocket Reference - a quick reference book. 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ora-ppython-s.note: -------------------------------------------------------------------------------- 1 | A newer cover shot, first edition. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/oreilly_giraffe3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/oreilly_giraffe3.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/oreilly_giraffe3.note: -------------------------------------------------------------------------------- 1 | O'Reilly giraffe - 2 | gifs you can fetch from oreilly.com 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/oreilly_moose3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/oreilly_moose3.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/oreilly_moose3.note: -------------------------------------------------------------------------------- 1 | O'Reilly moose - 2 | gifs you can fetch from oreilly.com 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/oreilly_weasel3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/oreilly_weasel3.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/oreilly_weasel3.note: -------------------------------------------------------------------------------- 1 | O'Reilly weasel - 2 | gifs you can fetch from oreilly.com 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ousterhout.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ousterhout.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ousterhout.note: -------------------------------------------------------------------------------- 1 | John Ousterhout, the creator of Tk, the API 2 | on which Python's Tkinter extension is based. 3 | Photo shipped with the Tcl/Tk distribution. 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ppython_sm_ad.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/ppython_sm_ad.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/ppython_sm_ad.note: -------------------------------------------------------------------------------- 1 | A small O'Reilly web ad. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/pythonHi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/pythonHi.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/pythonHi.note: -------------------------------------------------------------------------------- 1 | The image currently on Python's home page, at 2 | www.python.org. Also created by Guido's brother, 3 | Just van Rossum. 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/pythonPowered.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/pythonPowered.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/pythonPowered.note: -------------------------------------------------------------------------------- 1 | One of a set of gifs you can put on your web pages, 2 | available at www.python.org and created by Guido's 3 | brother, Just. Some are animated (i.e., they blink). 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/python_conf_ora.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/python_conf_ora.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/python_conf_ora.note: -------------------------------------------------------------------------------- 1 | An image shamelessly stolen from the '99 O'Reilly 2 | Python conference web page at oreilly.com. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/pythonwin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/pythonwin.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/pythonwin.note: -------------------------------------------------------------------------------- 1 | The icon used for Python ports on MS-Windows. 2 | Originally used in Mark Hammond's PythonWin, 3 | which is more Windows-specific than the main 4 | Windows port at python.org right now (see the 5 | new O'Reilly book on Python for Win32). 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/rmnp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/rmnp.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/rmnp.note: -------------------------------------------------------------------------------- 1 | Where the author lived when he wrote this book (not 2 | exactly, but close enough for bragging rights). This 3 | is just inside Rocky Mountain National Park, and just 4 | outside Estes Park, Colorado. 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-alameda.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/training-alameda.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-alameda.note: -------------------------------------------------------------------------------- 1 | From a recent Python training trip I took to Alameda, California. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-nyc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/training-nyc.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-nyc.note: -------------------------------------------------------------------------------- 1 | From a recent Python training trip to New York City: the class was 2 | in downtown Manhatten, but the hotel was in Times Square (where I 3 | met the most interesting people at night). 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-puertorico-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/training-puertorico-1.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-puertorico-1.note: -------------------------------------------------------------------------------- 1 | From a Python training trip to Puerto Rico. 2 | (Yes, I actually got paid to do this one :-). -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-puertorico-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/training-puertorico-2.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-puertorico-2.note: -------------------------------------------------------------------------------- 1 | Another scene from a Python training trip to Puerto Rico. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-uk-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/training-uk-1.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-uk-1.note: -------------------------------------------------------------------------------- 1 | From a recent Python training trip I took to 2 | England (Newmarket, in Suffolk). 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-uk-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Gui/gifs/training-uk-2.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Gui/gifs/training-uk-2.note: -------------------------------------------------------------------------------- 1 | From a recent Python training trip I took to England (Newmarket, in Suffolk). 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/ApiClients/module.py: -------------------------------------------------------------------------------- 1 | # call this class from C to make objects 2 | 3 | class klass: 4 | def method(self, x, y): 5 | return "brave %s %s" % (x, y) # run me from C 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/Basics/Old/basic1.c: -------------------------------------------------------------------------------- 1 | #include /* standard API def */ 2 | 3 | main() { 4 | /* acts like the interactive prompt */ 5 | printf("basic1\n"); 6 | Py_Initialize(); 7 | PyRun_SimpleString("import string"); 8 | PyRun_SimpleString("print string.uppercase"); 9 | PyRun_SimpleString("x = string.uppercase"); 10 | PyRun_SimpleString("print string.lower(x)"); 11 | } 12 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/HighLevelApi/Readme.txt: -------------------------------------------------------------------------------- 1 | This is the home directory of the ppembed 2.0 embedding API. 2 | See ppembed.h for most details. This directory's makefile 3 | generates a library file used in other example directories, 4 | so there is no expected output here. 5 | 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/HighLevelApi/copyright.txt: -------------------------------------------------------------------------------- 1 | PPEMBED, VERSION 2.0 2 | AN ENHANCED PYTHON EMBEDDED-CALL INTERFACE 3 | 4 | Copyright 1996-2000, by Mark Lutz, and O'Reilly and Associates. 5 | Permission to use, copy, modify, and distribute this software 6 | for any purpose and without fee is hereby granted. This software 7 | is provided on an as is basis, without warranties of any kind. 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/Inventory/WithDbase/Data/ordersfile.data: -------------------------------------------------------------------------------- 1 | 111 2 GRossum 2 | 222 5 LWall 3 | 333 3 JOusterhout 4 | 222 1 4Spam 5 | 222 0 LTorvalds 6 | 444 9 ERaymond 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/Inventory/WithDbase/Data/ordersfile2.data: -------------------------------------------------------------------------------- 1 | 111 4 GRossum 2 | 444 5 LWall 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/Inventory/WithDbase/Dbase/dbbuyers: -------------------------------------------------------------------------------- 1 | (lp0 2 | S'GRossum' 3 | p1 4 | aS'JOusterhout' 5 | p2 6 | aS'LWall' 7 | p3 8 | a. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/Inventory/WithDbase/Dbase/dbinventory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Integrate/Embed/Inventory/WithDbase/Dbase/dbinventory -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/Inventory/WithDbase/Dbase/readme.txt: -------------------------------------------------------------------------------- 1 | Note that shelve files are not necessarily compatible 2 | across platforms or Python releases. You may need to 3 | recreate these from scratch. 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/Inventory/ordersfile.py: -------------------------------------------------------------------------------- 1 | # simulated orders file/dbase shared by all python tests 2 | 3 | orders = [(111, 2, 'GRossum'), # (product, quantity, buyer) 4 | (222, 5, 'LWall'), 5 | (333, 3, 'JOusterhout'), 6 | (222, 1, '4Spam'), 7 | (222, 0, 'LTorvalds'), 8 | (444, 9, 'ERaymond')] 9 | 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/TestApi/WithPackages/pkgdir/__init__.py: -------------------------------------------------------------------------------- 1 | # I am a package 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Embed/TestApi/testapi_c.py: -------------------------------------------------------------------------------- 1 | # how to reload in Python, 2 | # like testapi.c does in C 3 | 4 | import testapi, traceback 5 | for i in range(5): 6 | try: 7 | reload(testapi) 8 | res = testapi.func(4, 8) 9 | except: 10 | print 'error' 11 | traceback.print_exc() 12 | else: print res 13 | if i < 4: raw_input('change testapi.py now...') 14 | 15 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Extend/Hello/hellouse.py: -------------------------------------------------------------------------------- 1 | import hello 2 | 3 | print hello.message('C') 4 | print hello.message('module ' + hello.__file__) 5 | 6 | for i in range(3): 7 | print hello.message(str(i)) 8 | 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Extend/Swig/Environ/environ_wrap.doc: -------------------------------------------------------------------------------- 1 | environ_wrap.c 2 | 3 | [ Python Module : environ ] 4 | 5 | 6 | getenv(varname) 7 | [ returns char * ] 8 | 9 | putenv(assignment) 10 | [ returns int ] 11 | 12 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Extend/Swig/Shadow/number.h: -------------------------------------------------------------------------------- 1 | class Number 2 | { 3 | public: 4 | Number(int start); 5 | ~Number(); 6 | void add(int value); 7 | void sub(int value); 8 | void display(); 9 | int data; 10 | }; 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Extend/Swig/hellolib_wrap.doc: -------------------------------------------------------------------------------- 1 | hellolib_wrap.c 2 | 3 | [ Python Module : hellowrap ] 4 | 5 | 6 | message(char *) 7 | [ returns char * ] 8 | or: %include "../HelloLib/hellolib.h" or: %include hellolib.h, and 9 | use -I arg 10 | 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Extend/Swig/myswig: -------------------------------------------------------------------------------- 1 | #!/bin/csh 2 | # run custom swig install 3 | 4 | source $PP2EHOME/Integrate/Extend/Swig/setup-swig.csh 5 | swig $* 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Extend/Swig/setup-swig.csh: -------------------------------------------------------------------------------- 1 | # source me in csh to run SWIG with an unofficial install 2 | # you won't need this file if you 'make install' in swig 3 | 4 | setenv SWIG_LIB /home/mark/PP2ndEd/dev/examples/SWIG/SWIG1.1p5/swig_lib 5 | alias swig "/home/mark/PP2ndEd/dev/examples/SWIG/SWIG1.1p5/swig" 6 | 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/Mixed/Regist/output.txt: -------------------------------------------------------------------------------- 1 | [mark@toy ~/PP2ndEd/dev/examples/Part3/Mixed/Regist]$ python register.py 2 | 3 | Test1: 4 | callback1 => spam number 0 5 | callback1 => spam number 1 6 | callback1 => spam number 2 7 | 8 | Test2: 9 | callback2 => spamspamspam 10 | callback2 => spamspamspamspam 11 | callback2 => spamspamspamspamspam 12 | 13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Integrate/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web.tar.gz -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/getfile.html: -------------------------------------------------------------------------------- 1 | Getfile: download page 2 | 3 |
4 |

Type name of server file to be viewed

5 |

6 |

7 |

8 |
View script code 9 | 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/mlutz.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/mlutz.jpg -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/ora-pp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/ora-pp.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/ppsmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/ppsmall.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/temp.html: -------------------------------------------------------------------------------- 1 | Content-type: text/html 2 | 3 | test5.cgi 4 |

Greetings

5 |
6 |

Your name is Bob

7 |

You wear rather Small shoes

8 |

Your current job: (unknown)

9 |

You program in Python and C++ and HTML

10 |

You also said:

11 |

ni, Ni, NI

12 |
13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/test0.html: -------------------------------------------------------------------------------- 1 | 2 | HTML 101 3 |

A First HTML page

4 |

Hello, HTML World!

5 | 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/test0.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | # It has exxecutable priviledges, and lives in ~lutz/public_html 3 | # This page is at http://starship.python.net/~lutz/Basics/test0.py 4 | 5 | print "Content-type: text/html\n" 6 | print "CGI 101" 7 | print "

A First CGI script

" 8 | print "

Hello, CGI World!

" 9 | 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/test1.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | text = """Content-type: text/html 4 | 5 | CGI 101 6 |

A Second CGI script

7 |
8 |

Hello, CGI World!

9 | [image] 10 |
11 | """ 12 | 13 | print text 14 | 15 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/test3-minimal.html: -------------------------------------------------------------------------------- 1 | 2 | CGI 101 3 |

A first user interaction: forms

4 |
5 |
6 |

Enter your name: 7 |

8 |

9 |

10 | 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/test3.html: -------------------------------------------------------------------------------- 1 | 2 | CGI 101 3 |

A first user interaction: forms

4 |
5 |
6 |

Enter your name: 7 |

8 |

9 |

10 | 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Basics/uploads/README.txt: -------------------------------------------------------------------------------- 1 | When the CGI examples are uploaded to a server, this 2 | is the directory where client-sode files uploaded over 3 | HTTP are stored (see putfile.cgi). -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Extern/Email/__init__.py: -------------------------------------------------------------------------------- 1 | # I am a package 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/Extern/__init__.py: -------------------------------------------------------------------------------- 1 | # I am a package 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/DbaseFiles.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/DbaseFiles.tar.gz -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/DbaseFilesIndexed/commentDB/indexes.lck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/DbaseFilesIndexed/commentDB/indexes.lck -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/DbaseFilesIndexed/errataDB/indexes.lck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/DbaseFilesIndexed/errataDB/indexes.lck -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/backupFiles.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | import os 3 | os.system('tar -cvf DbaseFiles.tar ../DbaseFiles') 4 | os.system('gzip DbaseFiles.tar') 5 | 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/backupShelve.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | import os 3 | os.system('tar -cvf DbaseShelve.tar ../DbaseShelve') 4 | os.system('gzip DbaseShelve.tar') 5 | 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/AdminTools/dumpFiles.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | import glob, pickle 3 | 4 | def dump(kind): 5 | print '\n', kind, '='*60, '\n' 6 | for file in glob.glob("../DbaseFiles/%s/*.data" % kind): 7 | print '\n', '-'*60 8 | print file 9 | print pickle.load(open(file, 'r')) 10 | 11 | dump('errataDB') 12 | dump('commentDB') 13 | 14 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/DbaseFiles/README: -------------------------------------------------------------------------------- 1 | To start from scratch, you need subdirectories 2 | commentDB and errataDB here; the system will 3 | populate them with flat pickle files. See 4 | ../dbswitch.py for enabling file mode. 5 | 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/DbaseShelve/commentDB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/DbaseShelve/commentDB -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/DbaseShelve/commentDB.lck: -------------------------------------------------------------------------------- 1 | -- for locking only, to implement shelve cross-process mutex -- 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/DbaseShelve/errataDB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/DbaseShelve/errataDB -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/DbaseShelve/errataDB.lck: -------------------------------------------------------------------------------- 1 | -- for locking only, to implement shelve cross-process mutex -- 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/Mutex/test.lck: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/PythonPoweredSmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/PythonPoweredSmall.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/browseComments.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | from dbswitch import DbaseComment # dbfiles or dbshelve 4 | from browse import generatePage # reuse html formatter 5 | generatePage(DbaseComment, 'Comment') # load data, send page 6 | 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/browseErrata.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | from dbswitch import DbaseErrata # dbfiles or dbshelve 4 | from browse import generatePage # reuse html formatter 5 | generatePage(DbaseErrata) # load data, send page 6 | 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/ppsmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/ppsmall.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/resourcePatchfiles.html: -------------------------------------------------------------------------------- 1 | 2 | PP2E Browse Patch Files 3 |

PP2E Browse Patch Files

4 | 5 |

Sorry, no patch files have been posted yet. Please 6 | check back again later. 7 |

8 | 9 |
10 | Back to errata page 11 | 12 | 13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/resourcePythonchanges.html: -------------------------------------------------------------------------------- 1 | 2 | PP2E Browse Python Changes 3 |

PP2E Browse Python Changes

4 | 5 |

Sorry, no Python changes have been posted yet. Please 6 | check back again later. 7 |

8 | 9 |
10 | Back to errata page 11 | 12 | 13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyErrata/resourceSupplements.html: -------------------------------------------------------------------------------- 1 | 2 | PP2E Browse Supplements 3 |

PP2E Browse Supplements

4 | 5 |

Sorry, no supplements have been posted yet. Please 6 | check back again later. 7 |

8 | 9 |
10 | Back to errata page 11 | 12 | 13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyMailCgi/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Directory listings not suported. Please use address 3 | PyMailCgi/pymailcgi.html 4 | to access the root page of this application.

5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/PyMailCgi/onRootSendLink.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | # On 'send' click in main root window 3 | 4 | import commonhtml 5 | from externs import mailconfig 6 | 7 | commonhtml.editpage(kind='Write', headers={'From': mailconfig.myaddress}) 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Cgi-Web/python_snake_ora.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Cgi-Web/python_snake_ora.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Email/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | # mail tools also used in ..\Cgi-Web\PyMailCgi scripts 5 | 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Email/mailconfig.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Email/mailconfig.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Email/pymail.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Email/pymail.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Email/test/readme.txt: -------------------------------------------------------------------------------- 1 | Output files here were deleted. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Ftp/S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Ftp/S -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Ftp/__init__.py: -------------------------------------------------------------------------------- 1 | # empty 2 | 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Ftp/sousa.au: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Ftp/sousa.au -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/Com/copy.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Other/Com/copy.doc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/Com/pycom.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Other/Com/pycom.doc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/CxxSyntax.html: -------------------------------------------------------------------------------- 1 | Languages 2 |

Syntax


3 |

C++

4 |  cout << "Hello World" << endl;    
5 | 


6 |
7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/PythonPoweredSmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Internet/Other/PythonPoweredSmall.gif -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/README.txt: -------------------------------------------------------------------------------- 1 | Examples from the last part of the second Internet 2 | chapter ("Other topics"). Also see Internet resources 3 | for examples of other major 3rd-party (not part of Python) 4 | Internet packages: 5 | 6 | - JPython 7 | - Zope 8 | - HTMLGen 9 | 10 | Most can be found via links and search tools at 11 | www.python.org, Python's main web site. Many are 12 | on the book CD as well. 13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/grail.html: -------------------------------------------------------------------------------- 1 | 2 | Grail Applet Test Page 3 | 4 | 5 |

Test an Applet Here!

6 | Click this button! 7 | 8 | 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/hello.psp: -------------------------------------------------------------------------------- 1 | $[ 2 | # Generate a simple message page with the client's IP address 3 | ]$ 4 | 5 | Hello PSP World 6 | 7 | 8 | $[include banner.psp]$ 9 |

Hello PSP World

10 |
11 | $[ 12 | Response.write("Hello from PSP, %s." % (Request.server["REMOTE_ADDR"]) ) 13 | ]$ 14 |
15 | 16 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/messages.py: -------------------------------------------------------------------------------- 1 | "A Python module published on the web by Zope" 2 | 3 | def greeting(size='brief', topic='zope'): 4 | "a published Python function" 5 | return 'A %s %s introduction' % (size, topic) 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/output.txt: -------------------------------------------------------------------------------- 1 | Languages 2 |

Syntax


3 |

Python

4 |  print 'Hello World'               
5 | 


6 |
7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Other/readnews-post.txt: -------------------------------------------------------------------------------- 1 | ############################################################# 2 | # to post, say this (but only if you really want to post!): 3 | # connection = NNTP(servername) 4 | # localfile = open('filename') # file has proper headers 5 | # connection.post(localfile) # send text to newsgroup 6 | # connection.quit() 7 | ############################################################# -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Sockets/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Sockets/testdir/python15.lib: -------------------------------------------------------------------------------- 1 | [removed; was copied from c:\"Program Files"\python\libs\python15.lib] 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/Sockets/testdir/textfile: -------------------------------------------------------------------------------- 1 | Bring 2 | us 3 | a shrubbery! 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Internet/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Calculator/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Calculator/calculator.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Lang/Calculator/calculator.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-Intro/replace.out: -------------------------------------------------------------------------------- 1 | % python 2 | >>> from replace import replace 3 | >>> replace("A B C D", " ", "..") 4 | 'A..B..C..D' 5 | >>> replace("C++", "+", "-") 6 | 'C--' 7 | >>> replace("foo = foo+1", "foo", "spam") 8 | 'spam = spam+1' 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-Intro/replace.py: -------------------------------------------------------------------------------- 1 | import string 2 | def replace(str, old, new): # global substitution 3 | list = string.splitfields(str, old) # split around old's 4 | return string.joinfields(list, new) # rejoin, inserting new's 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-Intro/table1.txt: -------------------------------------------------------------------------------- 1 | 1 5 10 2 1.0 2 | 2 10 20 4 2.0 3 | 3 15 30 8 3 4 | 4 20 40 16 4.0 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-Intro/table2.txt: -------------------------------------------------------------------------------- 1 | 2 1+1 1<<1 eval("2") 2 | 16 2*2*2*2 pow(2,4) 16.0 3 | 3 len('abc') [1,2,3][2] {'spam':3}['spam'] 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-Intro/test.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define SPAM 5 | #define SHOE_SIZE 7.5 6 | 7 | # include "local_constants.h" 8 | # define PARROT dead + bird 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-Intro/test.out: -------------------------------------------------------------------------------- 1 | > cheader.py test.h 2 | 1 include stdio.h 3 | 2 include usr/local/include/Py/Python.h 4 | 4 SPAM = 5 | 5 SHOE_SIZE = 7.5 6 | 7 include local_constants.h 7 | 8 PARROT = dead + bird 8 | 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-regex/filter1: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | from sys import * 3 | while 1: 4 | c = stdin.read(1) # read one character at a time 5 | if c == '': # change all tabs to 4 '.'s 6 | break 7 | elif c == '\t': 8 | stdout.write('.'*4) 9 | else: 10 | stdout.write(c) 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-regex/filter2: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys, regsub # use regex/regsub 3 | line = sys.stdin.readline() # read line-by-line 4 | while line: 5 | sys.stdout.write( regsub.gsub('\t', '.'*4, line) ) 6 | line = sys.stdin.readline() 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-regex/filter3: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys, regsub 3 | sys.stdout.write( regsub.gsub('\t', '.'*4, sys.stdin.read()) ) 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-regex/filter4: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | from string import * # use spilt/joinfields 3 | import sys # read a line at a time, 4 | line = sys.stdin.readline() # in case stdin is a pipe 5 | while line: 6 | sys.stdout.write( joinfields( splitfields(line, '\t'), '.'*4) ) 7 | line = sys.stdin.readline() 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Old-regex/filter5: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | from sys import * # use splitfields, read input all at once 3 | from string import * 4 | stdout.write( joinfields( splitfields(stdin.read(), '\t'), '.'*4) ) 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Parser/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/Parser/parse.tre: -------------------------------------------------------------------------------- 1 | PlusNode( NumNode(1), 2 | TimesNode( NumNode(3), 3 | PlusNode( TimesNode(NumNode(2), NumNode(3)), 4 | NumNode(4) ))).apply({}) 5 | 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/filter6.py: -------------------------------------------------------------------------------- 1 | from sys import * 2 | from string import * 3 | stdout.write( join( split(stdin.read(), '\t'), '.'*4) ) 4 | 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/filter7.py: -------------------------------------------------------------------------------- 1 | from sys import * 2 | from string import * 3 | stdout.write( replace(stdin.read(), '\t', '.'*4) ) 4 | 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/re-subst.py: -------------------------------------------------------------------------------- 1 | # substitutions (replace occurrences of patt with repl in string) 2 | 3 | import re 4 | print re.sub('[ABC]', '*', 'XAXAXBXBXCXC') 5 | print re.sub('[ABC]_', '*', 'XA-XA_XB-XB_XC-XC_') 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/table1.txt: -------------------------------------------------------------------------------- 1 | 1 5 10 2 1.0 2 | 2 10 20 4 2.0 3 | 3 15 30 8 3 4 | 4 20 40 16 4.0 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/table2.txt: -------------------------------------------------------------------------------- 1 | 2 1+1 1<<1 eval("2") 2 | 16 2*2*2*2 pow(2,4) 16.0 3 | 3 len('abc') [1,2,3][2] {'spam':3}['spam'] 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Lang/test.h: -------------------------------------------------------------------------------- 1 | #ifndef TEST_H 2 | #define TEST_H 3 | 4 | #include 5 | #include 6 | # include "Python.h" 7 | 8 | #define DEBUG 9 | #define HELLO 'hello regex world' 10 | # define SPAM 1234 11 | 12 | #define EGGS sunny + side + up 13 | #define ADDER(arg) 123 + arg 14 | #endif 15 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Launch_PyDemos.pyw: -------------------------------------------------------------------------------- 1 | #!/bin/env python 2 | ############################################### 3 | # PyDemos + environment search/config first 4 | # run this if you haven't setup your paths yet 5 | # you still must install Python first, though 6 | ############################################### 7 | 8 | import Launcher 9 | Launcher.launchBookExamples(['PyDemos.pyw'], 0) 10 | 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Launch_PyGadgets.py: -------------------------------------------------------------------------------- 1 | #!/bin/env python 2 | ############################################### 3 | # PyGadgets + environment search/config first 4 | # run this if you haven't setup your paths yet 5 | # you still must install Python first, though 6 | ############################################### 7 | 8 | import Launcher 9 | Launcher.launchBookExamples(['PyGadgets.py'], 0) 10 | 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Launch_PyGadgets_bar.pyw: -------------------------------------------------------------------------------- 1 | #!/bin/env python 2 | ################################################## 3 | # PyGadgets_bar + environment search/config first 4 | # run this if you haven't setup your paths yet 5 | # you still must install Python first, though 6 | ################################################## 7 | 8 | import Launcher 9 | Launcher.launchBookExamples(['PyGadgets_bar.pyw'], 0) 10 | 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Launcher.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Launcher.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/args.out: -------------------------------------------------------------------------------- 1 | % python 2 | >>> def f(a, b, c=1, *d): print a, b, c, d 3 | ... 4 | >>> f(3) 5 | Traceback (innermost last): 6 | File "", line 1, in ? 7 | File "", line 1, in f 8 | TypeError: not enough arguments 9 | >>> f(3, 4) 10 | 3 4 1 () 11 | >>> f(3, 4, 5) 12 | 3 4 5 () 13 | >>> f(3, 4, 5, 6) 14 | 3 4 5 (6,) 15 | >>> f(3, 4, 5, 6, 7, 8) 16 | 3 4 5 (6, 7, 8) 17 | 18 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/input1.txt: -------------------------------------------------------------------------------- 1 | unpack 2 | packed1 3 | pack 4 | packed2 5 | *.py 6 | stop 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/ipc2.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | ##while 1: pass 4 | 5 | for i in range(1000): pass 6 | for i in range(1000): print i 7 | print 'ipc2 exit' 8 | 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/keywords.py: -------------------------------------------------------------------------------- 1 | def func(spam, eggs, toast=0, ham=0): print (spam, eggs, toast, ham) 2 | 3 | func(1, 2) # output: (1, 2, 0, 0) 4 | func(1, ham=1, eggs=0) # output: (1, 0, 0, 1) 5 | func(spam=1, eggs=0) # output: (1, 0, 0, 0) 6 | func(toast=1, eggs=2, spam=3) # output: (3, 2, 1, 0) 7 | func(1, 2, 3, 4) # output: (1, 2, 3, 4) 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/knight.py: -------------------------------------------------------------------------------- 1 | def says(rept): 2 | return 'Ni!...' * rept # change me 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/lines.py: -------------------------------------------------------------------------------- 1 | import knight # changes out from under this module 2 | 3 | def text(): 4 | print knight.says(3) # get most recent version (fails if "from" used) 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/nest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Other/Old-Part2/Basics/nest.py -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pack1.bad: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | import sys 4 | marker = '::::::' 5 | 6 | for name in sys.argv[1:]: # for all command-line args 7 | input = open(name, 'r') 8 | print marker + name # write separator line 9 | print input.read() # write file contents 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pack1.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | import sys # load the system module 4 | marker = '::::::' 5 | 6 | for name in sys.argv[1:]: # for all command arguments 7 | input = open(name, 'r') # open the next input file 8 | print marker + name # write a separator line 9 | print input.read(), # and write the file's contents 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pack1b.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | from sys import argv, stdout # use stdout explictly 4 | marker = '::::::' 5 | 6 | for name in argv[1:]: 7 | input = open(name, 'r') 8 | stdout.write(marker + name + '\n') # add an end-line 9 | stdout.write( input.read() ) # no end-line to strip 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pack1c.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | from sys import argv 4 | marker = '::::::' 5 | output = open('pack.out', 'w') # use a real output file 6 | 7 | for name in argv[1:]: 8 | input = open(name, 'r') # input.close() automatic... 9 | output.write(marker + name + '\n') 10 | output.write( input.read() ) # output.close() automatic... -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pack1d.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | from sys import * 3 | for name in argv[1:]: 4 | print '::::::' + name + '\n', open(name, 'r').read(), 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pack1e.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | from sys import argv 3 | marker = ':' * 6 # string repetition 4 | 5 | for i in range(1, len(argv)): # for (i=1; i < argc; i++) 6 | input = open(argv[i], 'r') 7 | print marker + argv[i] 8 | print input.read(), 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pack1e.txt: -------------------------------------------------------------------------------- 1 | for i in range(len(argv)-1): # for (i=0; i < argc-1; i++) 2 | input = open(argv[i+1], 'r') 3 | print marker + argv[i+1] 4 | print input.read(), -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/packcmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Other/Old-Part2/Basics/packcmd.py -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/pmap.py: -------------------------------------------------------------------------------- 1 | import sys; map( # pack, the hard way 2 | lambda name: 3 | sys.stdout.write("::::::"+name+'\n' + open(name,'r').read()), 4 | sys.argv[1:]) 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/textpak1.py: -------------------------------------------------------------------------------- 1 | marker = '::::::' # shared by packer and unpacker -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/umap.py: -------------------------------------------------------------------------------- 1 | import sys; files = [sys.stdout]; map( # unpack (right?...) 2 | lambda line: 3 | (line[:6] != "::::::" and [files[-1].write(line)]) 4 | or files.append( open(line[6:-1],'w') ), 5 | sys.stdin.readlines()) 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/unpack1.bad: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | from sys import * 4 | marker = '::::::' 5 | 6 | for line in stdin.readlines(): # for all input lines 7 | if line[:6] != marker: 8 | print line[:-1] # write real lines 9 | else: 10 | stdout = open(line[6:-1], 'w') # or make new output file -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Basics/unpack1.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | import sys 4 | marker = '::::::' 5 | 6 | for line in sys.stdin.readlines(): # for all input lines 7 | if line[:6] != marker: 8 | print line, # write real lines 9 | else: 10 | sys.stdout = open(line[6:-1], 'w') # or make new output file 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Oop/guimgr.py: -------------------------------------------------------------------------------- 1 | from config import platform 2 | 3 | class GuiManager: 4 | if platform == 'unix': 5 | gui = 'X11' 6 | else: 7 | gui = 'Windows' 8 | 9 | def display(self): 10 | if self.gui == "X11": pass # ...etc... 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Oop/logger.py: -------------------------------------------------------------------------------- 1 | def record(x, y): print 'logger.record', x, y 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Oop/menu0b.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Other/Old-Part2/Oop/menu0b.py -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Oop/menu0b3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/Other/Old-Part2/Oop/menu0b3.py -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Oop/menutest.py: -------------------------------------------------------------------------------- 1 | d = { 'spam': lambda:1, 'ham': lambda:1 } 2 | l = [('eggs', lambda:0), ('toast', lambda:0)] 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Oop/security.py: -------------------------------------------------------------------------------- 1 | def allow(x, y): print 'security.allow', x, y; return 0 2 | 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/Oop/testmenu.py: -------------------------------------------------------------------------------- 1 | from sys import stdout, exit 2 | 3 | dmenu = {'spam': lambda:stdout.write('SPAM\n'), 4 | 'stop': exit } 5 | 6 | lmenu = [('eggs', lambda:stdout.write('EGGS\n')), 7 | ('stop', lambda:1)] 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Part2/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/class1.py: -------------------------------------------------------------------------------- 1 | class FirstClass: 2 | def printer(self, text): 3 | print text 4 | 5 | class SecondClass(FirstClass): # SecondClass is a FirstClass 6 | def print_name(self): 7 | self.printer(self.name) 8 | def set_name(self, value): 9 | self.name = value 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/class3.py: -------------------------------------------------------------------------------- 1 | class Incarnation: 2 | def __init__(self): 3 | print 'Hello world!' 4 | def __del__(self): 5 | print 'Goodbye world!' 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/client1.py: -------------------------------------------------------------------------------- 1 | from stack import * 2 | push(123) # 'stack' prefix not needed 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/client2.py: -------------------------------------------------------------------------------- 1 | import stack 2 | if not stack.empty(): 3 | x = stack.pop() # qualify by module name 4 | stack.push(1.23) 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/except1.py: -------------------------------------------------------------------------------- 1 | def kaboom(list, n): 2 | print list[n] # trigger IndexError 3 | 4 | x = [0, 1, 2] 5 | try: 6 | kaboom(x, 3) 7 | except IndexError: 8 | print 'Hello world!' # print 'Hello world!' the hard way... 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/except3.py: -------------------------------------------------------------------------------- 1 | file = open('data', r) # open a file (discussed later) 2 | try: 3 | stuff(file) # the file has been opened here 4 | finally: 5 | file.close() # close the file no matter what happens in stuff 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/func2.py: -------------------------------------------------------------------------------- 1 | def optional(real, *rest): 2 | for arg in rest: print arg, # rest is a tuple of arguments 3 | 4 | def default(real, a=1, b=2): 5 | print a, b 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/func3.py: -------------------------------------------------------------------------------- 1 | def argumentMagic(a, b, (c, d, e)): 2 | a = 'xyz' 3 | b[1] = 9 4 | e = c + d 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/func4.py: -------------------------------------------------------------------------------- 1 | def countDown(N): 2 | if N == 0: # stop the call chain 3 | print 'Hello world!' 4 | else: 5 | print N; countDown(N-1) # call myself again: N, N-1, N-2,...0 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/primes1.py: -------------------------------------------------------------------------------- 1 | x = y / 2 2 | while x > 1: 3 | if y % x == 0: # remainder is zero? 4 | print y, 'has factor', x 5 | break # skip the loop's 'else' 6 | x = x-1 7 | else: # exited normally: no factor found 8 | print y, 'is prime' 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/script.py: -------------------------------------------------------------------------------- 1 | def doStuff(): 2 | print 'The owls are not what they seem.' 3 | 4 | if __name__ == '__main__': doStuff() 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/stack.py: -------------------------------------------------------------------------------- 1 | stack = [] 2 | 3 | def push(data): 4 | global stack # changes a global 5 | stack = [data] + stack # add node to front 6 | 7 | def pop(): 8 | global stack 9 | top, stack = stack[0], stack[1:] # delete front node 10 | return top 11 | 12 | def empty(): return not stack 13 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/t1.py: -------------------------------------------------------------------------------- 1 | import t2 2 | 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/t2.py: -------------------------------------------------------------------------------- 1 | import t3 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/t3.py: -------------------------------------------------------------------------------- 1 | import t4 2 | 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/t4.py: -------------------------------------------------------------------------------- 1 | print 'in t1.t2.t3.t4' 2 | 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/ta.py: -------------------------------------------------------------------------------- 1 | import tb, tc 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/table1.py: -------------------------------------------------------------------------------- 1 | table ={'Perl': 'Larry Wall', 2 | 'Tcl': 'John Ousterhout', 3 | 'Python': 'Guido van Rossum' } 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/table2.py: -------------------------------------------------------------------------------- 1 | table = { 2 | 'Perl': {'author': ('Wall', 'L.'), 'use': ['sys'] }, 3 | 'Tcl': {'author': ('Ousterhout', 'J.'), 'use': ['glue'] }, 4 | 'Python': {'author': ('van Rossum', 'G.'), 'use': ['rad'] } 5 | } 6 | 7 | table['Python']['author'] # ('van Rossum', 'G.') 8 | table['Perl']['author'][0] # 'Wall' 9 | table['Python']['use'][0] # 'rad' 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/tb.py: -------------------------------------------------------------------------------- 1 | import td 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/tc.py: -------------------------------------------------------------------------------- 1 | import td 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/td.py: -------------------------------------------------------------------------------- 1 | print 'in ta.tb.td, ta.tc.td' 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/tx.py: -------------------------------------------------------------------------------- 1 | import ty 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/ty.py: -------------------------------------------------------------------------------- 1 | import tx 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/while1.py: -------------------------------------------------------------------------------- 1 | i = 0 2 | while i < 5: 3 | print 'Hello world!' 4 | i = i+1 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-Tutor/while3.py: -------------------------------------------------------------------------------- 1 | i = 0 2 | while 1: 3 | if i == 5: 4 | break 5 | else: 6 | print 'Hello world!' 7 | i = i+1 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-other/grail0.htm: -------------------------------------------------------------------------------- 1 | 2 | Grail Applet Test Page 3 | 4 | 5 | 6 |

Test an Applet Here!

7 | Click this button! 8 | 9 | 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/Old-other/sockclie.py: -------------------------------------------------------------------------------- 1 | # Echo client program 2 | from socket import * 3 | HOST = 'daring.cwi.nl' # the remote host 4 | PORT = 50007 # the same port as used by the server 5 | s = socket(AF_INET, SOCK_STREAM) 6 | s.connect((HOST, PORT)) 7 | s.send('Hello, world') 8 | data = s.recv(1024) 9 | s.close() 10 | print 'Received', `data` 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/cp1: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys 3 | while 1: 4 | ch = sys.stdin.read(1) # read character-by-character 5 | if not ch: break 6 | sys.stdout.write(ch) # print adds a space after 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/cp2: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys 3 | while 1: 4 | line = sys.stdin.readline() # read line-by-line 5 | if not line: break 6 | print line, # print adds a '\n' 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/cp3: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys 3 | for line in sys.stdin.readlines(): # load lines into a list 4 | print line, 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/cp4: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys 3 | map(sys.stdout.write, sys.stdin.readlines() ) # apply method 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/cp5: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys 3 | sys.stdout.write(sys.stdin.read()) # run method on whole file 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/cp6: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | import sys 3 | print sys.stdin.read(), # print sends to stdout 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/docstr.py: -------------------------------------------------------------------------------- 1 | "module documentation: docstr.__doc__" 2 | 3 | class spam: 4 | "class documentation: spam.__doc__, docstr.spam.__doc__" 5 | def method(self, arg): 6 | "method documentation: spam.method.__doc__, self.method.__doc__" 7 | code... 8 | 9 | def func(args): 10 | "function documentation: docstr.func.__doc__" 11 | code... 12 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/ilu1.txt: -------------------------------------------------------------------------------- 1 | INTERFACE pythonExPC; 2 | 3 | TYPE consumer = OBJECT 4 | METHODS 5 | ASYNCHRONOUS fromProducer (producerID : ilu.CString, data : ilu.CString) 6 | END; 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/reloadall_test.py: -------------------------------------------------------------------------------- 1 | import reloadall 2 | import string, os, Tkinter # get some larger modules 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/Other/test2.py: -------------------------------------------------------------------------------- 1 | def test(): 2 | for i in range(10): 3 | print 'hello' 4 | 5 | test() 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/PyGadgets.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/PyGadgets.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/PyGadgets_bar.pyw: -------------------------------------------------------------------------------- 1 | # run PyGadgets tool bar only, instead of starting all the 2 | # gadgets immediately; filename avoids dos popup on windows 3 | 4 | import PyGadgets 5 | PyGadgets.runLauncher(PyGadgets.mytools) 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/PyTools/__init__.py: -------------------------------------------------------------------------------- 1 | # I'm a package--modules imported from other dirs 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/PyTools/old-tounix.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | # --SEE FIXEOLN FOR A BETTER SOLUTION-- 3 | 4 | import old_toboth # dos->unix in current dir 5 | old_toboth.convert(From="\r\n", To="\n") # it's okay to run me > once 6 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/PyTools/pack.inet: -------------------------------------------------------------------------------- 1 | #!/bin/csh -X 2 | 3 | mv exinet.tgz bkp-exinet.tgz 4 | rm -f exinet* 5 | rm -rf Internet 6 | mkdir Internet 7 | cp -R ../public_html/* Internet 8 | 9 | tar -cvf exinet.tar Internet pack.inet unpack.inet 10 | gzip exinet.tar 11 | mv exinet.tar.gz exinet.tgz 12 | 13 | # ftp exinet.tgz from here 14 | 15 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/PyTools/renamer.py: -------------------------------------------------------------------------------- 1 | # rename files with all lower case 2 | # some dos tools make them all upper 3 | # cmdline arg is name pattern (ex: *.*) 4 | # see also: fixnames_all.py 5 | 6 | import os, sys, string 7 | from glob import glob 8 | 9 | for name in glob(sys.argv[1]): 10 | print name 11 | os.rename(name, string.lower(name)) 12 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/PyTools/unpack.inet: -------------------------------------------------------------------------------- 1 | #!/bin/csh -X 2 | 3 | # ftp exinet.tgz to here 4 | 5 | gzip -d exinet.tgz 6 | tar -xvf exinet.tar 7 | cp *.py ../public_html 8 | cd Internet 9 | cp -R * ../../public_html 10 | 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Bases/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/__init__.py: -------------------------------------------------------------------------------- 1 | ### 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/eggs.txt: -------------------------------------------------------------------------------- 1 | EGGS 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/ham.txt: -------------------------------------------------------------------------------- 1 | ham 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/out1: -------------------------------------------------------------------------------- 1 | ::::::::::textpak=>spam.txt 2 | SPAM 3 | spam 4 | ::::::::::textpak=>eggs.txt 5 | EGGS 6 | ::::::::::textpak=>ham.txt 7 | ham 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/packed.all: -------------------------------------------------------------------------------- 1 | ::::::::::textpak=>spam.txt 2 | SPAM 3 | spam 4 | ::::::::::textpak=>eggs.txt 5 | EGGS 6 | ::::::::::textpak=>ham.txt 7 | ham 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/packedapp.all: -------------------------------------------------------------------------------- 1 | ::::::::::textpak=>spam.txt 2 | SPAM 3 | spam 4 | ::::::::::textpak=>eggs.txt 5 | EGGS 6 | ::::::::::textpak=>ham.txt 7 | ham 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/spam.txt: -------------------------------------------------------------------------------- 1 | SPAM 2 | spam 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/unpack/eggs.txt: -------------------------------------------------------------------------------- 1 | EGGS 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/unpack/ham.txt: -------------------------------------------------------------------------------- 1 | ham 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/unpack/spam.txt: -------------------------------------------------------------------------------- 1 | SPAM 2 | spam 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/unpackapp/eggs.txt: -------------------------------------------------------------------------------- 1 | EGGS 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/unpackapp/ham.txt: -------------------------------------------------------------------------------- 1 | ham 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Clients/test/unpackapp/spam.txt: -------------------------------------------------------------------------------- 1 | SPAM 2 | spam 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/Kinds/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/App/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Environment/README.txt: -------------------------------------------------------------------------------- 1 | Also see: 2 | 3 | - the Launcher.py and echoEnvironment.pyw scripts at the top-level 4 | of the examples distribution tree 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Environment/echoenv.py: -------------------------------------------------------------------------------- 1 | import os 2 | print 'echoenv...', 3 | print 'Hello,', os.environ['USER'] 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Environment/timefmt.py: -------------------------------------------------------------------------------- 1 | import time 2 | gmt = time.gmtime(time.time()) 3 | fmt = '%a, %d %b %Y %H:%M:%S GMT' 4 | str = time.strftime(fmt, gmt) 5 | hdr = 'Date: ' + str 6 | print hdr 7 | 8 | # C:\testdir>python timefmt.py 9 | # Date: Fri, 02 Jun 2000 16:46:27 GMT 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Exits/testexit_os.py: -------------------------------------------------------------------------------- 1 | def outahere(): 2 | import os 3 | print 'Bye os world' 4 | os._exit(99) 5 | print 'Never reached' 6 | 7 | if __name__ == '__main__': outahere() 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Exits/testexit_sys.py: -------------------------------------------------------------------------------- 1 | def later(): 2 | import sys 3 | print 'Bye sys world' 4 | sys.exit(42) 5 | print 'Never reached' 6 | 7 | if __name__ == '__main__': later() 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/__init__.py: -------------------------------------------------------------------------------- 1 | # empty -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/hillbillies.txt: -------------------------------------------------------------------------------- 1 | *Granny 2 | +Jethro 3 | *Elly-Mae 4 | +"Uncle Jed" -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/pytemp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/System/Filetools/pytemp -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/scanfile.py: -------------------------------------------------------------------------------- 1 | def scanner(name, function): 2 | file = open(name, 'r') # create a file object 3 | while 1: 4 | line = file.readline() # call file methods 5 | if not line: break # until end-of-file 6 | function(line) # call a function object 7 | file.close() 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0001: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0001 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0002 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0003: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0003 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0004: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/System/Filetools/tempsplit/part0004 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Processes/README.txt: -------------------------------------------------------------------------------- 1 | Also see: 2 | 3 | - the PyDemos.py and PyGadgets.py scripts in the top-level 4 | PP2E examples distribution directory (use launchmodes.py) 5 | 6 | - the cleanpyc.py script in the top-level PP2E\PyTools directory 7 | 8 | - fork-server*.py and signal-demo.py in PP2E\Internet\sockets 9 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Processes/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Processes/child-wait.py: -------------------------------------------------------------------------------- 1 | import os, sys 2 | print 'Hello from child', os.getpid(), sys.argv[1] 3 | raw_input("Press ") # don't flash on Windows 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Processes/child-wait.pyw: -------------------------------------------------------------------------------- 1 | import os, sys 2 | print 'Hello from child', os.getpid(), sys.argv[1] 3 | raw_input("Press ") # don't flash on Windows 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Processes/child.py: -------------------------------------------------------------------------------- 1 | import os, sys 2 | print 'Hello from child', os.getpid(), sys.argv[1] 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Processes/output2.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Processes/pipes.out.txt: -------------------------------------------------------------------------------- 1 | 2 | [mark@toy ~/tmp]$ python pipes.py 3 | Child 797 of 796 got arg: spam 4 | Parent got: "Child 797 got: [Hello 1 from parent 796]" 5 | Parent got: "Child 797 got: [Hello 2 from parent 796]" 6 | 7 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/adder.py: -------------------------------------------------------------------------------- 1 | import sys, string 2 | sum = 0 3 | while 1: 4 | try: 5 | line = raw_input() # or call sys.stdin.readlines(): 6 | except EOFError: # or sys.stdin.readline() loop 7 | break 8 | else: 9 | sum = sum + string.atoi(line) # int(line[:-1]) treats 042 as octal 10 | print sum 11 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/adder2.py: -------------------------------------------------------------------------------- 1 | import sys, string 2 | sum = 0 3 | while 1: 4 | line = sys.stdin.readline() 5 | if not line: break 6 | sum = sum + string.atoi(line[:-1]) 7 | print sum 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/data.txt: -------------------------------------------------------------------------------- 1 | 123 2 | 000 3 | 999 4 | 042 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/hello-in-out.py: -------------------------------------------------------------------------------- 1 | print 'Hello', raw_input() 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/hello-in.py: -------------------------------------------------------------------------------- 1 | input = raw_input() 2 | open('hello-in.txt', 'w').write('Hello ' + input + '\n') 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/hello-in.txt: -------------------------------------------------------------------------------- 1 | Hello Gumby 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/hello-out.py: -------------------------------------------------------------------------------- 1 | print 'Hello shell world' 2 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/input.txt: -------------------------------------------------------------------------------- 1 | 8 2 | 6 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/output.txt: -------------------------------------------------------------------------------- 1 | Hello stream world 2 | Enter a number>8 squared is 64 3 | Enter a number>6 squared is 36 4 | Enter a number>Bye 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/reader.py: -------------------------------------------------------------------------------- 1 | print 'Got this" "%s"' % raw_input() 2 | import sys 3 | data = sys.stdin.readline()[:-1] 4 | print 'The meaning of life is', data, int(data) * 2 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/sorter.py: -------------------------------------------------------------------------------- 1 | import sys 2 | lines = sys.stdin.readlines() # sort stdin input lines, 3 | lines.sort() # send result to stdout 4 | for line in lines: print line, # for further processing 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/souse.py: -------------------------------------------------------------------------------- 1 | def seuss(letter, repeat): 2 | line = '=>' 3 | while 1: 4 | next = raw_input('Word? ') # read from stdin 5 | if not next: # until blank line 6 | break 7 | else: 8 | line = line + ' ' + next 9 | print line + ((', ' + letter) * repeat) # write to stdout 10 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/writer.py: -------------------------------------------------------------------------------- 1 | print "Help! Help! I'm being repressed!" 2 | print 42 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Streams/writer2.py: -------------------------------------------------------------------------------- 1 | for data in (123, 0, 999, 42): 2 | print '%03d' % data 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/System.txt: -------------------------------------------------------------------------------- 1 | This directory contains operating system interface examples. 2 | 3 | Many of the examples in this unit appear elsewhere in the examples 4 | distribution tree, because they are actually used to manage other 5 | programs. See the README.txt files in the subdirectories here 6 | for pointers. -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Threads/README.txt: -------------------------------------------------------------------------------- 1 | Also see: 2 | 3 | - Thread exit example in .. 4 | - Thread examples in GUI section (MovingPics) 5 | - Thread examples in Internet section (PyMailGui, Ftp gui, 6 | threading socket servers) 7 | 8 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Threads/etc/thread-basics4.txt: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | . 4 | [8] => 97 5 | [0] => 98 6 | [9] => 97 7 | [6] => 98 8 | [1] => 98 9 | [2] => 98 10 | [3] => 98 11 | [4] => 98 12 | [5] => 98 13 | [7] => 98 14 | [8] => 98 15 | [0] => 99 16 | [9] => 98 17 | [6] => 99 18 | [1] => 99 19 | [2] => 99 20 | [3] => 99 21 | [4] => 99 22 | [5] => 99 23 | [7] => 99 24 | [8] => 99 25 | [9] => 99 26 | Main thread exiting. 27 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Threads/race2.py: -------------------------------------------------------------------------------- 1 | import thread, time, sys 2 | sys.setcheckinterval(20) 3 | count = 0 4 | 5 | def adder(): 6 | global count 7 | count = count + 1 # update shared global 8 | count = count + 1 # thread swapped out before returns 9 | 10 | for i in range(100): 11 | thread.start_new(adder, ()) # start 100 update threads 12 | time.sleep(5) 13 | print count 14 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/Threads/thread1.py: -------------------------------------------------------------------------------- 1 | # spawn threads until you type 'q' 2 | 3 | import thread 4 | 5 | def child(tid): 6 | print 'Hello from thread', tid 7 | 8 | def parent(): 9 | i = 0 10 | while 1: 11 | i = i+1 12 | thread.start_new(child, (i,)) 13 | if raw_input() == 'q': break 14 | 15 | parent() 16 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/helloshell.py: -------------------------------------------------------------------------------- 1 | # a Python program 2 | print 'The Meaning of Life' 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/testargv.py: -------------------------------------------------------------------------------- 1 | import sys 2 | print sys.argv 3 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/System/whereami.py: -------------------------------------------------------------------------------- 1 | import os, sys 2 | print 'my os.getcwd =>', os.getcwd() # show my cwd execution dir 3 | print 'my sys.path =>', sys.path[:6] # show first 6 import paths 4 | raw_input() # wait for keypress if clicked 5 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | #empty 3 | 4 | -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/launchmodes.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/launchmodes.pyc -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/pyformData-1.5.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Examples/Examples/PP2E/pyformData-1.5.2 -------------------------------------------------------------------------------- /project/Examples/Examples/PP2E/towriteable.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | ###################################################################### 3 | # Run me to make all files in examples tree writeable 4 | # (e.g., after a drag-and-dop off the book CD) 5 | ###################################################################### 6 | 7 | import os 8 | os.system('python PyTools/fixreadonly-all.py') 9 | -------------------------------------------------------------------------------- /project/README.md: -------------------------------------------------------------------------------- 1 | ## Guitar Effecter 2 | please reference to project report pdf file. 3 | -------------------------------------------------------------------------------- /project/Report.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/Report.docx -------------------------------------------------------------------------------- /project/ezscroll.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/ezscroll.pyc -------------------------------------------------------------------------------- /project/flanger.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/flanger.pyc -------------------------------------------------------------------------------- /project/guitar_effector_presentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/guitar_effector_presentation.pdf -------------------------------------------------------------------------------- /project/jason/00138.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/jason/00138.pptx -------------------------------------------------------------------------------- /project/jason/Report.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/jason/Report.docx -------------------------------------------------------------------------------- /project/jason/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/jason/myfunctions.pyc -------------------------------------------------------------------------------- /project/jason/ppt.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/jason/ppt.pptx -------------------------------------------------------------------------------- /project/jason/ppt_ok.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/jason/ppt_ok.pptx -------------------------------------------------------------------------------- /project/jason/presentation_slides_guitar_effecter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/jason/presentation_slides_guitar_effecter.pdf -------------------------------------------------------------------------------- /project/myfunctions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/myfunctions.pyc -------------------------------------------------------------------------------- /project/project_prototype1.0_with_bug.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/project_prototype1.0_with_bug.rar -------------------------------------------------------------------------------- /project/project_report_guitar_effecter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/project/project_report_guitar_effecter.pdf -------------------------------------------------------------------------------- /pyaudio-0.2.8.py27.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall/0f650a97d8fbaa576142e5bb1745f136b027bc73/pyaudio-0.2.8.py27.exe --------------------------------------------------------------------------------