Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

        def enum(sequence, **kwargs):
    symbols = sequence.split() if isinstance(sequence, basestring) else sequence
    start = int(kwargs.get("start", 0))
    name = str(kwargs.get("name", "enum"))
    if start < 0:
        start = 0
    return _enum_factory(symbols, start, name)
        


src/s/u/sublime-settings-HEAD/quickcal.py   sublime-settings(Download)
import sublime_plugin
import sublime
from CalendarLib.enum import enum
import re
from os.path import join
 
 
months = enum("January February March April May June July August September October November December", start=1, name="Months")
weekdays = enum("Monday Tuesday Wednesday Thursday Friday Saturday Sunday", start=1, name="Days")
def show_calendar_row(first, last, today, month, empty_cells=(0, 0)):
    pos = enum("left center right")
    row = u""
 
    for p in pos: