Did I find the right examples for you? yes no

All Samples(502)  |  Call(18)  |  Derive(1)  |  Import(483)

src/i/t/ithkuil-HEAD/ithkuil/writing/bottom_ending.py   ithkuil(Download)
    UNDER,
)
from .util import hook
 
 
        pen.turn_to(45)
        pen.move_forward(slant_width / 2)
        hook(pen, -90, 30, 2.5, adjust_outside=15)
 
 
        pen.turn_to(45)
        pen.move_forward(slant_width / 2)
        hook(pen, -90, -30, 2.5, adjust_outside=15)
 
 
            pen.turn_to(-45)
            pen.move_forward(pen.mode.width * slant45 / 2)
            hook(pen, 90, -30, 2.5, adjust_outside=15)
        else:
            pen.line_to_y(BOTTOM, end_slant=0)
            pen.turn_to(0)
            pen.move_forward(pen.last_slant_width() / 2)
            hook(pen, 60, -30, 2.5, adjust_outside=15)

src/i/t/ithkuil-HEAD/ithkuil/writing/side_ending.py   ithkuil(Download)
from .common import Ending, TOP, slant45
from .util import hook
 
 
class SideEnding(Ending):
    def draw(self, pen):
        pen.line_forward(pen.mode.width, end_slant=45)
        pen.turn_to(-135)
        pen.move_forward(pen.mode.width * slant45 / 2)
        hook(pen, 120, -30, 2.5, adjust_inside=15)
    def draw(self, pen):
        pen.line_forward(pen.mode.width, end_slant=45)
        pen.turn_to(-135)
        pen.move_forward(pen.mode.width * slant45 / 2)
        hook(pen, 90, 30, 2.5, adjust_inside=15)
    def draw(self, pen):
        pen.line_forward(2 * pen.mode.width, end_slant=-45)
        pen.turn_to(-45)
        pen.move_forward(pen.mode.width * slant45 / 2)
        hook(pen, -90, -30, 2.5, adjust_inside=15)
    def draw(self, pen):
        pen.line_forward(2 * pen.mode.width, end_slant=-45)
        pen.turn_to(-45)
        pen.move_forward(pen.mode.width * slant45 / 2)
        hook(pen, -105, 30, 2.5, adjust_inside=15)

src/u/g/uguubot-HEAD/plugins/google.py   uguubot(Download)
import random
from util import hook, http, text, database, web
import re
 
def api_get(kind, query):

src/f/r/frogbot-HEAD/plugins/wikia.py   frogbot(Download)
# -*- coding: utf-8 -*-
# wikia scrapper made by Red_M on esper.net or Red-M on GitHub.com
# direct clone of the minecraft wiki scrapper but for wikia
# used parts of the SCP wiki scrapper to build this one...
from util import hook, http, urlnorm, perm, text

src/f/r/frogbot-HEAD/plugins/mcwiki.py   frogbot(Download)
from util import hook, http, urlnorm, perm, text
import re
import time
 
wordDic = {

src/f/r/frogbot-HEAD/plugins/cobaltwiki.py   frogbot(Download)
# -*- coding: utf-8 -*-
# cobalt wiki scrapper made by Red_M on esper.net or Red-M on GitHub.com
# direct clone of the minecraft wiki scrapper but for the cobalt wiki
# used parts of the SCP wiki scrapper to build this one...
from util import hook, http, urlnorm, perm, text

src/f/r/frogbot-HEAD/plugins/allserv.py   frogbot(Download)
#plugin made by Red-M on github or Red_M on esper.net  help from Luke.
from util import hook, perm, http, mcrcon, webserver
from datetime import timedelta
import cherrypy
import os

src/u/g/uguubot-HEAD/plugins/media.py   uguubot(Download)
# IMDb lookup plugin by Ghetto Wizard (2011).
 
from util import hook, http
import re
 
 
from lxml import etree
from util import hook, http, web
 
 

src/u/g/uguubot-HEAD/plugins/wolframalpha.py   uguubot(Download)
import re
 
from util import hook, http, text, web
import random
 

src/u/g/uguubot-HEAD/plugins/weather.py   uguubot(Download)
from util import hook, http, web, database
 
 
def get_weather(location):
    """uses the yahoo weather API to get weather information for a location"""

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next