Jure Šorn
298ffed9ad
List, Duck type, Operator
3 years ago
Jure Šorn
d2d1b20841
Numbers
3 years ago
Jure Šorn
d362705e28
Class
3 years ago
Jure Šorn
e6fb59f478
String
3 years ago
Jure Šorn
47b4c77df7
Operator
3 years ago
Jure Šorn
cf5de3d934
Operator
3 years ago
Jure Šorn
60f1d2be9f
One word change
3 years ago
Jure Šorn
6468d76833
Small one character or word changes
3 years ago
Jure Šorn
65a7b69f0f
Updated faq.html
3 years ago
Jure Šorn
4723a30946
List and Datetime
3 years ago
Jure Šorn
017bb13f65
Updated TOC
3 years ago
Jure Šorn
4599663ca2
Updated remove_links.py script
3 years ago
Jure Šorn
4d64e63cbd
Datetime, Decorator
3 years ago
Jure Šorn
86fa13022b
String, Regex
3 years ago
Jure Šorn
079ffeea8b
Image, Pygame
3 years ago
Jure Šorn
8ea62aaa86
Class, Duck types, Paths, Web, Image
3 years ago
Jure Šorn
2cbeb5d2e7
Audio, Pygame, Pandas
3 years ago
Jure Šorn
fd1df4a073
CSV, Introspection, Metaprogramming
3 years ago
Jure Šorn
cae27c1fb3
Imports
3 years ago
Jure Šorn
f340968b23
Updated index
3 years ago
Jure Šorn
dd2f928c29
Added Imports
3 years ago
Jure Šorn
ac54ab1e1f
Input, Pygame
3 years ago
Jure Šorn
4c53f91181
Parsed changes to OS Commands
3 years ago
Jure Šorn
6341ac577e
Merge pull request #111 from imba-tjd/patch-1
subprocess.run: encoding -> text=True
3 years ago
Jure Šorn
85bbdb43d9
Path, SQLite, Synthesizer
3 years ago
Jure Šorn
2be9c2df86
Format, Class, Enum, Exception
3 years ago
谭九鼎
a9454ebabd
subprocess.run: encoding -> text=True
3 years ago
Jure Šorn
bbde7a70b5
Format, Pygame
3 years ago
Jure Šorn
fd773050e3
Reverted link changes
3 years ago
Jure Šorn
6344398401
Fixed links at the top
3 years ago
Jure Šorn
7af8bec7c3
Curses
3 years ago
Jure Šorn
19eb97ccf5
String
3 years ago
Jure Šorn
dd37505f3f
Inline
3 years ago
Jure Šorn
1fa9a9939b
Parse.js now automatically updates the date of index.html
3 years ago
Jure Šorn
332bf7e913
Removed .gitignore
3 years ago
Jure Šorn
6b23015f73
Updated parse.js documentation
3 years ago
Jure Šorn
de1f11380c
Updated parse.js documentation
3 years ago
reyadussalahin
92a302deec
added cumulative sum for list
sometimes we need to calculate cumulative sum for a list as follows:
```
def get_cumulative_sum(num_list: List[int]) -> List[int]:
cumulative_sum = [0] * len(num_list)
for i, v in enumerate(num_list):
cumulative_sum[i] = v + (0 if i == 0 else cumulative_sum[i-1])
return cumulative_sum
```
but it can be easily done with `itertools.accumulate` as follows:
```
cumulative_sum = list(itertools.accumulate(<list>))
```
4 years ago
Jure Šorn
f4d5399d2d
Updated remove_links.py script
4 years ago
Jure Šorn
f3ea09fe8b
Regex
4 years ago
Jure Šorn
52abd7b82b
Changed date
4 years ago
Jure Šorn
a658334dfe
Regex, Format, Struct, Threading
4 years ago
Jure Šorn
606208ac68
Web, Profiling
4 years ago
Jure Šorn
cab456867b
OS commands, SQLite, Bytes
4 years ago
Jure Šorn
3ab66cd3aa
Updated a link to text file
4 years ago
Jure Šorn
e2cdb93ff6
Struct, Array, Memoryview, Plot
4 years ago
Jure Šorn
ead33624a3
Introspection
4 years ago
Jure Šorn
05ea5c02dc
Introspection
4 years ago
Jure Šorn
d1bdde452d
Numbers
4 years ago
Jure Šorn
ce3261bed8
Numbers
4 years ago