<jupyter_start><jupyter_text>Python Programming Tutorials (Computer Science)The 🦉 [Socratica](https://www.youtube.com/channel/UCW6TXMZ5Pq6yL6_k5NZ2e0Q) YouTube Channel has a 33-video [playlist](https://www.youtube.com/playlist?list=PLi01XoE8jYohWFPpC17Z-wWhPOSuh8Er-) devoted to the introduction of Python. 25 PyDoc—A Celebration of Documentation<jupyter_code>%run video-00.py
from IPython import display

video = display.YouTubeVideo('URBSvqib0xw')
video
display.HTML(f'<a href="{video.src}">link</a>')<jupyter_output><empty_output><jupyter_text>From [the documentation](https://docs.python.org/3/library/pydoc.html):>The `pydoc` module automatically generates documentation from Python modules. The documentation can be presented as pages of text on the console, served to a Web browser, or saved to HTML files.`pydoc` can be run from the command line, displaying documentation on itself, on modules that are not loaded and any memeber of a module:<jupyter_code>!python -m pydoc
!python -m pydoc math
!python -m pydoc tuple
!python -m pydoc pow<jupyter_output>Help on built-in function pow in module builtins:

pow(x, y, z=None, /)
    Equivalent to x**y (with two arguments) or x**y % z (with three arguments)
    
    Some types, such as ints, are able to use a more efficient algorithm when
    invoked using the three argument form.<jupyter_text>`pydoc` can used as a keyword search tool:<jupyter_code>!python -m pydoc -k ftp<jupyter_output>ftplib - An FTP client class and some helper functions.
[0;39mDownloading https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat[0m
|[0;34m==========================================[0m| 1.3k/1.3k (100.00%)         0s
conda.gateways.connection.adapters.ftp 
fsspec.implementations.ftp 
fsspec.implementations.sftp 
numpy.fft.tests.test_helper - Test functions for fftpack.helper module
scipy.fftpack - =========================================================
scipy.fftpack.basic - Discrete Fourier Transforms - basic.py
scipy.fftpack.convolve 
scipy.fftpack.helper 
scipy.fftpack.pseudo_diffs - Differential and pseudo-differential operators.
scipy.fftpack.realtransforms - Real spectrum transforms (DCT, DST, MDCT)
scipy.fftpack.setup 
scipy.fftpack.tests 
scipy.fftpack.tests.gen_fftw_ref 
scipy.fftpack.tests.gendata 
scipy.fftpack.tests.test_basic 
scipy.fftpack.tests.test_helper 
scipy.fftpack.tests.test_import - Test possibility of patching fftpack with pyfftw.
scipy.fftpack.tests.test_ps[...]<jupyter_text>`pydoc` can also spin up a server at the specified port number to HTTP-serve documentation:<jupyter_code>!python -m pydoc -p 8080<jupyter_output>Server ready at http://localhost:8080/
Server commands: [b]rowser, [q]uit
server>^C
{'fraction_non_alphanumeric': 0.133630289532294, 'fraction_numerical': 0.017446176688938383, 'mean_word_length': 5.573170731707317, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 18, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '630947', 'license': 'MIT', 'n_tokens_mistral': 983, 'n_tokens_neox': 931, 'n_words': 239, 'path': 'socratica/video-25.ipynb', 'repo_name': 'BryanWilhite/guido-van-r-snake', 'size': '2694'}