Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
digraph Tree { | |
node [shape=box, style="filled", color="black"] ; | |
0 [label=<node #0<br/>cumin ≤ 0.5<br/>samples = 2448<br/>value = [442, 598, 320, 799, 289]<br/>class = korean>, fillcolor="#3c39e51c"] ; | |
1 [label=<node #1<br/>roasted_sesame_seed ≤ 0.5<br/>samples = 1986<br/>value = [438, 237, 314, 796, 201]<br/>class = korean>, fillcolor="#3c39e53b"] ; | |
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ; | |
2 [label=<node #2<br/>starch ≤ 0.5<br/>samples = 1738<br/>value = [433, 237, 309, 560, 199]<br/>class = korean>, fillcolor="#3c39e519"] ; | |
1 -> 2 ; | |
3 [label=<node #3<br/>samples = 1507<br/>value = [273, 235, 293, 519, 187]<br/>class = korean>, fillcolor="#3c39e52f"] ; | |
2 -> 3 ; | |
4 [label=<node #4<br/>samples = 231<br/>value = [160, 2, 16, 41, 12]<br/>class = chinese>, fillcolor="#e58139a0"] ; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 tkinter import * | |
from tkinter.colorchooser import askcolor | |
class Paint(object): | |
DEFAULT_PEN_SIZE = 5.0 | |
DEFAULT_COLOR = 'black' | |
def __init__(self): |
This file contains 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
{ | |
"id": "dd809867-e207-43b8-ae65-2e9cd14903f7", | |
"name": "dubey_zoho_env_2", | |
"values": [ | |
{ | |
"key": "accounts-url", | |
"value": "https://accounts.zoho.in", | |
"enabled": true | |
}, | |
{ |
This file contains 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 pprint import pprint | |
import requests | |
import json | |
url = "https://www.zohoapis.in/crm/v2/Leads" | |
# trying to insert a lead using api and requests | |
''' | |
this is just a sample dummy input to the crm | |
''' |
This file contains 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
{"scope":["ZohoCreator.report.READ"], | |
"expiry_time":"auto-generated", | |
"client_id":"add-your-client-secret", | |
"client_secret":"add-your-client-secret", | |
"code":"code-add-from-client", | |
"grant_type":"authorization_code" | |
} |
This file contains 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
import requests | |
import pprint | |
import json | |
''' | |
Note : add https:// to the url it wont work without it | |
and for indian region use .in for accounts-domain(or accounts-url) | |
, and for api-domain | |
to get conversation from zoho crm | |
url = https://www.zohoapis.in/crm/v2/custom-module-name |
This file contains 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
import requests | |
''' | |
16 may 2022 | |
create new client for new tokens | |
-> try new scopes for insert | |
-> tokens expire after 1hr so refresh and create new access tokens | |
''' | |
url = "https://accounts.zoho.in/oauth/v2/token?" | |
payload={ |
OlderNewer