質問編集履歴
1
エラー内容を追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -69,9 +69,63 @@
|
|
69
69
|
pythonのインストール。
|
70
70
|
API有効化とOAuthの設定。
|
71
71
|
|
72
|
+
### 気になったところ
|
73
|
+
jsonとreでエラー?が出ている。
|
74
|
+

|
75
|
+
```json
|
76
|
+
"json" is not accessedPylance
|
77
|
+
(module) json
|
72
78
|
|
79
|
+
JSON (JavaScript Object Notation) <http://json.org> is a subset of JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data interchange format.
|
73
80
|
|
81
|
+
json exposes an API familiar to users of the standard library marshal and pickle modules. It is derived from a version of the externally maintained simplejson library.
|
74
82
|
|
83
|
+
Encoding basic Python object hierarchies:
|
84
|
+
|
85
|
+
>>> import json
|
86
|
+
>>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
|
87
|
+
'["foo", {"bar": ["baz", null, 1.0, 2]}]'
|
88
|
+
>>> print(json.dumps("\"foo\bar"))
|
89
|
+
----------------------日本語訳-----------------
|
90
|
+
「json」はPylanceにアクセスできません。
|
91
|
+
(モジュール)json
|
92
|
+
|
93
|
+
JSON(JavaScriptObjectNotation)<http:/>は、軽量データ交換フォーマットとして使用されるJavaScript構文(ECMA-2623rdEdition)のサブセットです。
|
94
|
+
|
95
|
+
jsonは標準ライブラリマーシャルおよびピクルスモジュールのユーザに馴染みのあるAPIを公開する。 これは外部で管理されている単純なjsonライブラリのバージョンから派生したものである。
|
96
|
+
|
97
|
+
基本的なPythonオブジェクト階層の符号化:
|
98
|
+
|
99
|
+
>>>インポートjson
|
100
|
+
>>>json.dumps(['foo'、'bar':('baz'、None、1.0、2)})
|
101
|
+
'''foo'''バー:["baz",null,1.0,2]]''
|
102
|
+
>>>print(json.publish("\"\"foo\bar"))
|
103
|
+
```
|
104
|
+
|
105
|
+
```re
|
106
|
+
"re" is not accessedPylance
|
107
|
+
(module) re
|
108
|
+
Support for regular expressions (RE).
|
109
|
+
|
110
|
+
This module provides regular expression matching operations similar to those found in Perl. It supports both 8-bit and Unicode strings; both the pattern and the strings being processed can contain null bytes and characters outside the US ASCII range.
|
111
|
+
|
112
|
+
Regular expressions can contain both special and ordinary characters. Most ordinary characters, like "A", "a", or "0", are the simplest regular expressions; they simply match themselves. You can concatenate ordinary characters, so last matches the string 'last'.
|
113
|
+
|
114
|
+
The special characters are:
|
115
|
+
"." Matches any character except a newline. "^" Matches the start of the string. "$" Matches the end of the string or just before the newline at
|
116
|
+
----------------------日本語訳-----------------
|
117
|
+
「re」はPylanceにアクセスできません。
|
118
|
+
(モジュール)re
|
119
|
+
正規表現(RE)のサポート。
|
120
|
+
|
121
|
+
このモジュールでは、Perlと同様の正規表現照合操作を提供します。 8ビット文字列とUnicode文字列の両方をサポートします。パターンと処理中の文字列の両方にヌルバイトとUSASCII範囲外の文字を含めることができます。
|
122
|
+
|
123
|
+
正規表現には、特殊文字と通常文字の両方を含めることができます。 「A」、「a」、または「0」のような一般的な文字は、最も単純な正規表現であり、それらは単に自分自身と一致するだけです。 通常の文字を連結できるため、lastは文字列「last」と一致します。
|
124
|
+
|
125
|
+
特殊文字は次のとおりです。
|
126
|
+
""。改行以外の任意の文字と一致します。 "^"文字列の先頭と一致します。 "$"文字列の末尾、または次の改行の直前と一致します。
|
127
|
+
```
|
128
|
+
|
75
129
|
### 補足情報(FW/ツールのバージョンなど)
|
76
130
|
|
77
131
|
python3.9.6
|