Search results

  1. fukurou

    Permitter process

    ''' PERMISSION CLASS ''' class Permission: ''' * uses two names as lv1,2 permission levels * requires password to change password or said names ''' singleton: Permission = None def __init__(self, password: str, lv1Name: str, lv2Name: str): if...
  2. fukurou

    [MEDIA]

  3. fukurou

    lego technics

  4. fukurou

    lego technics

  5. fukurou

    [MEDIA]

  6. fukurou

    🐍 python example singleton software design pattern

    class PersonSingleton: __instance = None @staticmethod def getInstance(name: str, age: int): """ Static access method. """ if PersonSingleton.__instance == None: PersonSingleton(name, age) return PersonSingleton.__instance def __init__(self...
  7. fukurou

    [MEDIA]

  8. fukurou

    🐍 python python grimoire

    python snip article chunk file = open("story.txt", encoding="utf8") contents = file.read() # print(contents[:10000]) # print(contents[10000:20000]) print(contents[20000:]) file.close()
  9. fukurou

    🐍 python python grimoire

    selenium forum miner from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.common.by import By s = Service('C:\chrome driver\chromedriver.exe') driver = webdriver.Chrome(service=s)...
  10. fukurou

    🐍 python python grimoire

    .send_keys('') and .click() methodes on an element example in this code the bot logs in then makes a post from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.common.by import By s = Service('C:\chrome driver\chromedriver.exe') driver =...
  11. fukurou

    🐍 python python grimoire

    Selenium : automating the browser https://chromedriver.chromium.org/downloads see which version you need : chrome browser, help, about put the drive inside some folder and copy the location link of the file you extracted in pycharm : from selenium import webdriver chrome_driver_path: str =...
  12. fukurou

    waifubot xenforo test 1

  13. fukurou

    waifubot xenforo test 1

    baby !
  14. fukurou

    kimbap

  15. fukurou

    rice cooker: sushi rice

  16. fukurou

    Permission and DPermitter

    translate from java to python package LG_Core; public class Permission { /* * uses two names as lv1,2 permission levels * requires password to change password or said names */ private static Permission singleton; private String password, lv1Name, lv2Name; private...
  17. fukurou

    [MEDIA]

  18. fukurou

    [MEDIA]

  19. fukurou

    active task: translate personality class from java to python

    Personality //the chobit class uses the personality class to load up all the skills package LG_Core; import java.util.ArrayList; import java.util.Hashtable; public class Personality { /*this class is used in the ChobitV2 c'tor. it enables loading a complete skill set (a sub class of the...
  20. fukurou

    🐍 python Chii's python suit

    Fusion FusionCera and PriorityQueue ''' PRIORITYQUEUE CLASS ''' # A simple implementation of Priority Queue # using Queue. class PriorityQueue(object): def __init__(self): self.queue = [] def __str__(self): return ' '.join([str(i) for i in self.queue]) # for...
Top