- Introduction
- account or zone Load Balancer Details
- account or zone Load Balancer Details·续1
- account or zone Load Balancer Details·续2
- account or zone Load Balancer Details·续3
- account or zone Load Balancer Details·续4
- account or zone Load Balancer Details·续5
- List waiting rooms for account or zone
- List waiting rooms for account or zone·续1
- List waiting rooms for account or zone·续2
- List Web3 Hostnames
- JSON object
- Secrets Store
- Secrets Store·续
- Radar
- Radar·续1
- Radar·续2
- Radar·续3
- Radar·续4
- Radar·续5
- Radar·续6
- Radar·续7
- Radar·续8
- Radar·续9
- Radar·续10
- Radar·续11
- Radar·续12
- Radar·续13
- Radar·续14
- Radar·续15
- Radar·续16
- Radar·续17
- Radar·续18
- Radar·续19
- Radar·续20
- Radar·续21
- Radar·续22
- Radar·续23
- Radar·续24
- Radar·续25
- Radar·续26
- Radar·续27
- Radar·续28
- Radar·续29
- Radar·续30
- Radar·续31
- Radar·续32
- Radar·续33
- Radar·续34
- Radar·续35
- Radar·续36
- Radar·续37
- Radar·续38
- Radar·续39
- Radar·续40
- Radar·续41
- Radar·续42
- API Reference
- API Reference·续1
- API Reference·续2
- API Reference·续3
- API Reference·续4
- API Reference·续5
- API Reference·续6
- API Reference·续7
- API Reference·续8
- API Reference·续9
- API Reference·续10
- API Reference·续11
- API Reference·续12
- API Reference·续13
- API Reference·续14
- API Reference·续15
- API Reference·续16
- API Reference·续17
- API Reference·续18
- API Reference·续19
- API Reference·续20
- API Reference·续21
- API Reference·续22
- API Reference·续23
- API Reference·续24
- API Reference·续25
- API Reference·续26
- API Reference·续27
- API Reference·续28
- API Reference·续29
- API Reference·续30
- API Reference·续31
- API Reference·续32
- API Reference·续33
- API Reference·续34
- API Reference·续35
- API Reference·续36
- API Reference·续37
- Get Alert Types
- Related Resources
- Correctly locate and secure devices by c
- Related Resources (2)
- Customize your customers Cloudflare expe
- Registrar
- Registrar·续1
- Registrar·续2
- Registrar·续3
- Read JSON file
- Now you can work with your data
- Now you can work with your data·续
- Example usage
- Pretty-print JSON data
- Read with specific encoding
- If your JSON file contains a list
- If your JSON file contains a list·续
- Output: 3, 2, 1, Blastoff!
- Open the file and load its contents
- Accessing data
- Looping through data
- Using loads() for a string
- Using loads() for a string·续
- Open the file and load its contents (2)
- Now 'data' is a Python dictionary (or li
- Now 'data' is a Python dictionary (or li·续
- "hobbies": ["reading", "coding"]
- }
- }·续
- Read JSON file (2)
- Read JSON file (2)·续
- Open and read the JSON file
- Access values like a normal dictionary
- Access values like a normal dictionary·续
- Given: {"users": [{"name": "Alice"}, {"n
- Loop through items
- Loop through items·续
- From a string
- Equivalent to the file version
- data.json: {"users": [{"name": "Ada", "r
- Read JSON file (3)
- Reading JSON file
- Access the data
- Access the data·续
- Open and read the JSON file (2)
- Access values
- Access values·续
- The name of your JSON file
- Use a 'with' statement for safe file han
- Now 'data' is a Python dictionary (or li
- Example of accessing data
- This module is built into Python, so no
- Step 2: Open the JSON file for reading
- The 'with' statement is highly recommend
- handles closing the file, even if errors
- 'r' stands for "read mode".
- Step 4: Work with your new Python object
- The 'data' variable now holds the conten
- JSON objects are converted to Python dic
- JSON arrays are converted to Python list
- You can now access the data just like an
- Loop through the list of skills
- Load data from the string
- Open the file and load the data
- Now 'data' is a Python dictionary or lis
- Now 'data' is a Python dictionary or lis·续
- Open the file and load the data (2)
- Now 'data' is a Python dictionary or lis
- Now 'data' is a Python dictionary or lis·续
- Open the file in read mode
- Now you can use 'data' like a normal Pyt
- Now you can use 'data' like a normal Pyt·续1
- Now you can use 'data' like a normal Pyt·续2
- Open the JSON file and load its contents
- Now 'data' is a Python dictionary (or li
- Parse the string
- Load JSON into a DataFrame
- Load JSON into a DataFrame·续1
- Load JSON into a DataFrame·续2
- Load JSON into a DataFrame·续3
- Example Usage:
- Test
- maxsize=None allows the cache to grow in
- Example usage:
- Test (2)
- Test (3)
- Example usage: (2)
- print(merge_sorted_lists([1, 3, 5], [2,
- print(merge_sorted_lists_manual([1, 3, 5
- print(merge_sorted_lists_manual([1, 3, 5·续
- Worked outputs (do not claim without cal
- x1/y1 top-left: trustworthy True, all fl
- x2/y2 top-right: nonlinear True (F~80),
- x3/y3 bottom-left: outlier_influential T
- x4/y4 bottom-right: high_leverage_low_va
- or
- Open the JSON file
- Now you can use `data` like a regular Py
- Now you can use `data` like a regular Py·续
- Specify the path to your JSON file
- Open the file and load the JSON data
- Now you can work with 'data' as a Python
- Specify the path to your JSON file (2)
- Open the file and load the JSON data (2)
- Now `data` is a Python dictionary (or li
- Example usage: (3)
- Open the JSON file for reading
- Now you can access the data
- Now you can access the data·续
- Example usage (2)
- Path to your JSON file
- Path to your JSON file·续
- For NDJSON:
- For NDJSON:·续1
- For NDJSON:·续2
- 1. Open the file
- 3. Now `data` is a normal Python dict/li
- 3. Now `data` is a normal Python dict/li·续
- Method 1: Using pathlib (modern and clea
- Usage
- Option 1: Using pathlib (Recommended)
- Option 2: Traditional way
- Option 3: One-liner
- Usage examples:
- Access the data (2)
- Test it
- Method A: Using pathlib (modern and clea
- Usage (2)
- Usage (3)
- Access the data (3)
- Access the data (3)·续
- Open and read the JSON file (3)
- Open and read the JSON file (3)·续
- List gateways
- List gateways·续1
- List gateways·续2
- List gateways·续3
- AI Search (2)
- AI Search (2)·续1
- AI Search (2)·续2
- AI Search (2)·续3
- AI Search (2)·续4
- AI Search (2)·续5
- AI Search (2)·续6
- AI Search (2)·续7
- AI Search (2)·续8
- AI Search (2)·续9
- AI Search (2)·续10
- AI Search (2)·续11
- AI Search (2)·续12
- AI Search (2)·续13
- AI Search (2)·续14
- AI Search (2)·续15
- AI Search (2)·续16
- AI Search (2)·续17
- AI Search (2)·续18
- AI Search (2)·续19
- AI Search (2)·续20
- AI Search (2)·续21
- AI Search (2)·续22
- AI Search (2)·续23
- AI Search (2)·续24
- AI Search (2)·续25
- AI Search (2)·续26
- AI Search (2)·续27
- AI Search (2)·续28
- AI Search (2)·续29
- AI Search (2)·续30
- AI Search (2)·续31
- AI Search (2)·续32
- AI Search (2)·续33
- Pipelines (2)
- Pipelines (2)·续1
- Pipelines (2)·续2
- Pipelines (2)·续3
- Pipelines (2)·续4
- Pipelines (2)·续5
- Pipelines (2)·续6
- Pipelines (2)·续7
- Pipelines (2)·续8
- Pipelines (2)·续9
- Pipelines (2)·续10
- Pipelines (2)·续11
- Pipelines (2)·续12
- Pipelines (2)·续13
- Pipelines (2)·续14
- Pipelines (2)·续15
- Browser Rendering
- Browser Rendering·续1
- Browser Rendering·续2
- Browser Rendering·续3
- List Workers for Platforms Dispatch Name
- List Custom Hostnames
- List Custom Hostnames·续1
- List Custom Hostnames·续2
- List Custom Hostnames·续3
- List images
- Create D1 Database
- List Durable Object Namespaces
- Email Routing
- Email Routing·续1
- Email Routing·续2
- Email Sending
- Email Sending·续1
- Email Sending·续2
- Flagship
- Flagship·续1
- Flagship·续2
- Flagship·续3
- Flagship·续4
- Flagship·续5
- Flagship·续6
- Flagship·续7
- Flagship·续8
- Flagship·续9
- Flagship·续10
- Flagship·续11
- Flagship·续12
- Flagship·续13
- Flagship·续14
- Flagship·续15
- Flagship·续16
- Flagship·续17
- Flagship·续18
- Flagship·续19
- Flagship·续20
- Flagship·续21
- Flagship·续22
- Flagship·续23
- Flagship·续24
- Flagship·续25
- Flagship·续26
- Flagship·续27
- Flagship·续28
- Flagship·续29
- Flagship·续30
- Flagship·续31
- Flagship·续32
- Flagship·续33
- Flagship·续34
- Flagship·续35
- Flagship·续36
- List Hyperdrives
- List Hyperdrives·续
- KV
- Create Queue
- Create Queue·续
- Realtime Kit
- Realtime Kit·续1
- Realtime Kit·续2
- Realtime Kit·续3
- Realtime Kit·续4
- Realtime Kit·续5
- Realtime Kit·续6
- Realtime Kit·续7
- Realtime Kit·续8
- Realtime Kit·续9
- Realtime Kit·续10
- Realtime Kit·续11
- Realtime Kit·续12
- Realtime Kit·续13
- Realtime Kit·续14
- Realtime Kit·续15
- Realtime Kit·续16
- Realtime Kit·续17
- Realtime Kit·续18
- Realtime Kit·续19
- Realtime Kit·续20
- Realtime Kit·续21
- Realtime Kit·续22
- Realtime Kit·续23
- Realtime Kit·续24
- Realtime Kit·续25
- Realtime Kit·续26
- Realtime Kit·续27
- Realtime Kit·续28
- Realtime Kit·续29
- Realtime Kit·续30
- Realtime Kit·续31
- Realtime Kit·续32
- Realtime Kit·续33
- Realtime Kit·续34
- Realtime Kit·续35
- Realtime Kit·续36
- Realtime Kit·续37
- Realtime Kit·续38
- Realtime Kit·续39
- Realtime Kit·续40
- Realtime Kit·续41
- Realtime Kit·续42
- Realtime Kit·续43
- Realtime Kit·续44
- Realtime Kit·续45
- Realtime Kit·续46
- Quick deployment
- Production usage, stable URLs & custom d
- List live inputs
- List videos
- List videos·续
- List Vectorize Indexes
- **Using Keyboard Shortcuts to Execute Ce
- **Using Keyboard Shortcuts to Execute Ce·续
- Run a Workers AI model
- Run a Workers AI model·续1
- Run a Workers AI model·续2
- Run a Workers AI model·续3
- List all Workflows
- Bionic + Cloudflare
- Bionic + Cloudflare·续
- Claude Code + Cloudflare
- Claude Code + Cloudflare·续
- Codex + Cloudflare
- Codex + Cloudflare·续
- Command Code + Cloudflare
- Command Code + Cloudflare·续
- Cursor + Cloudflare
- Cursor + Cloudflare·续
- Devin + Cloudflare
- Devin + Cloudflare·续
- Droid + Cloudflare
- Droid + Cloudflare·续
- GitHub Copilot + Cloudflare
- GitHub Copilot + Cloudflare·续
- OpenCode + Cloudflare
- OpenCode + Cloudflare·续
- Vibe + Cloudflare
- Vibe + Cloudflare·续
- Visual Studio Code + Cloudflare
- Visual Studio Code + Cloudflare·续
