从URL获取内容的结构数据

时间:2017-11-23 23:15:55

标签: javascript php python html ruby

我从3. Data model — Python 3.6.3 documentation获得了内容结构 手动如下:

{'None'},
{'NotImplemeted'},
{'Ellipsis'},
{'numbers.Number':
    {'Integral':{'int','bool'}},
    {    'Real':'float'},
    { 'Complex':'complex'}
    },
{'Sequences':
    {'Immutable sequences':['Strings', 'Tuples', 'Bytes'],
       'Mutable sequences':['List', 'Byte Arrays'],
    },
{'Set types':
    {'Sets', 'Frozen sets'}
    },
{'Mappings':
    {'Dictionary'}
    },
{'Callable types':
    {'User-defined functions':{'Special attributes'}},
    {'Instance methods'},
    {'Generator functions'},
    {'Coroutine functions'},
    {'Asynchrous generator functions'},
    {'Built-in Functions'},
    {'Built-in Methods'},
    {'Classes'},
    {'Class Instances'},
    },
{'Modules'},
{'Custom class'},
{'Class instances'},
{'File objects'},
{'Internal Types':
    {'Code objects', 'Frame objects', 'Traceback objects', 'Slice objects',
    'Static method objects', 'Class method objects'},
    },

如何以专业的方式从URL中检索这样的数据结构?

0 个答案:

没有答案