You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1
Original file line number
Diff line number
Diff line change
@@ -33,19 +33,38 @@ cd leetcode-anki
33
33
```
34
34
35
35
After that initialize and activate python virtualenv somewhere
36
+
37
+
Linux/MacOS
36
38
```
37
39
virtualenv -p python leetcode-anki
38
40
. leetcode-anki/bin/activate
39
41
```
40
42
43
+
Windows
44
+
```
45
+
python -m venv leetcode-anki
46
+
.\leetcode-anki\Scripts\activate.bat
47
+
```
48
+
41
49
Then initialize session id variable. You can get it directly from your browser (if you're using chrome, cookies can be found here chrome://settings/cookies/detail?site=leetcode.com)
50
+
51
+
Linux/Macos
42
52
```
43
53
export LEETCODE_SESSION_ID="yyy"
44
54
```
45
55
46
-
And finally run
56
+
Windows
57
+
```
58
+
set LEETCODE_SESSION_ID="yyy"
59
+
```
60
+
61
+
And finally run for Linux/MacOS
47
62
```
48
63
make generate
49
64
```
65
+
Or for Windows
66
+
```
67
+
python generate.py
68
+
```
50
69
51
70
You'll get `leetcode.apkg` file, which you can import directly to your anki app.
0 commit comments