This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #EXTINF:-1,北京卫视4K | |
| rtp://239.3.1.22:8001 | |
| #EXTINF:-1,云南卫视 | |
| rtp://239.3.1.26:8108 | |
| #EXTINF:-1,四川卫视 | |
| rtp://239.3.1.29:8288 | |
| #EXTINF:-1,广西卫视 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from .weixin_compat import fixup_weixin_oauth | |
| oauth = OAuth() | |
| weixin = oauth.remote_app( | |
| 'weixin', | |
| app_key='WEIXIN', | |
| request_token_params={'scope': 'snsapi_base'}, | |
| base_url='https://api.weixin.qq.com', | |
| authorize_url='https://open.weixin.qq.com/connect/oauth2/authorize', | |
| access_token_url='https://api.weixin.qq.com/sns/oauth2/access_token', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import struct | |
| ''' | |
| 同花顺自选股文件格式: | |
| 0000000: 0900 0721 3030 3039 3731 0711 3630 3036 ...!000971..6006 | |
| 0000010: 3738 0721 3030 3231 3134 0721 3030 3232 78.!002114.!0022 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Two dashes start a one-line comment. | |
| --[[ | |
| Adding two ['s and ]'s makes it a | |
| multi-line comment. | |
| --]] | |
| ---------------------------------------------------- | |
| -- 1. Variables and flow control. | |
| ---------------------------------------------------- |