Search results

  1. fukurou

    🐟 fish fried fish

  2. fukurou

    🥐 pastry bolani

  3. fukurou

    🥐 pastry pita

  4. fukurou

    🍪 cookies cookies

    2 cups flower 1.5 cups water 1 spn yeast .25 cups oil 1 spn salt khawayege (the spice) cut to cookies, bake
  5. fukurou

    🧵 3d poppy humanoid robot

    https://www.thingiverse.com/thing:2280067/files
  6. fukurou

    🧵 3d poppy humanoid robot

    https://cults3d.com/en/3d-model/gadget/poppy-humanoid
  7. fukurou

    🐍 python python grimoire

    get : get data post : post data put : update data delete pixe.la post command to create user account import requests import PlayGround pixela_endpoint = "https://pixe.la/v1/users" USERNAME = "forge" TOKEN = "secret" GRAPH_ID = "graph1" # token can be any 8 to 128 char string...
  8. fukurou

    🐍 python python grimoire

    environment variables create environment var on mac : terminal, type env, to get a list of environment variables used to hide API keys export var1=something create environment variable on windows : windows btn, type environment variables, on the user variables window add the var type a name on...
  9. fukurou

    🐍 python python grimoire

    teillio whatapp bot
  10. fukurou

    🐍 python python grimoire

    python : read gmail inbox programmatically : ORG_EMAIL = "@gmail.com" FROM_EMAIL = "your_email" + ORG_EMAIL FROM_PWD = "your-password" SMTP_SERVER = "imap.gmail.com" SMTP_PORT = 993 def read_email_from_gmail(): try: mail = imaplib.IMAP4_SSL(SMTP_SERVER)...
  11. fukurou

    🐍 python python grimoire

    escape unescape html : import html str1 = "&quot;eating burgers, without no honey mustard&quot;" print(html.unescape(str1)) # "eating burgers, without no honey mustard" explicit type : str2: str = "" explicit function : def isThin(BMI: int) -> bool: return BMI < 17
  12. fukurou

    🐍 python python grimoire

    import requests # example 1 API with parameter (yoda api): txt = "i like to eat hummus" response = requests.get(url=f"https://api.funtranslations.com/translate/yoda.json?text={txt}") # ISS satelite response.raise_for_status() print(response.status_code) data = response.json() # treat as...
  13. fukurou

    🐍 python python grimoire

    example python API with Tkinter UI from tkinter import * import requests def get_quote(): response = requests.get(url="https://api.kanye.rest/") quote = response.json()["quote"] canvas.itemconfig(quote_text, text=quote) window = Tk() window.title("Kanye Says...")...
  14. fukurou

    🐍 python python grimoire

    python API import requests # url=endpoint response = requests.get(url="http://api.open-notify.org/iss-now.json") #ISS satelite # response codes : # httpstatuses.com # 1xx: hold on # 2xx: here you go # 3xx: go away, no permission # 4xx: you screwed up # 5xx: server screwed up...
  15. fukurou

    🐍 python python grimoire

    scedule run the code online : pythonanywhere.com and create an account 1 files, upload the pythone project files respective of the directories set up 2 consoles, bash (or click the main.py, bash to just test), type : python3 main.py if you see the smtplib.SMTPAuthenticationError : go to the...
  16. fukurou

    🐍 python python grimoire

    # auto sender # csv example : # name,email,year,month,day # Test,[email protected],1961,12,21 from datetime import datetime import pandas import random import smtplib MY_EMAIL = "YOUR EMAIL" MY_PASSWORD = "YOUR PASSWORD" today = datetime.now() today_tuple = (today.month, today.day) # tuple as...
  17. fukurou

    🐍 python python grimoire

    python sending emails programmatically set up gmail : manage acc, security, set use phone to sign in -> off set 2 step verification -> off less secure apps -> on set up yahoo mail account info, acc security generate new app pass other app, custom name: python code, generate copy the...
  18. fukurou

    🐍 python python grimoire

    tkinter timer manipulations inside a function : global current_card, flip_timer window.after_cancel(flip_timer) flip_timer = window.after(3000, func=flip_card)
  19. fukurou

    🐍 python python grimoire

    tkinter image button : from tkinter import * check_image = PhotoImage(file="images/right.png") known_button = Button(image=check_image, highlightthickness=0, command=is_known) known_button.grid(row=1, column=1 pandas csv to dictionary type (.to_dict()) parameter list ...
  20. fukurou

    🐍 python python grimoire

    JSON format : import json def save_json(): website = "supremegents.club" email = "[email protected]" password = "qwerty" new_data = { website: { "email": email, "password": password } } with open("data.json", "w") as data_file...
Top