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 math import gcd, sqrt | |
import random | |
def area(radius): | |
c = 0 | |
for total in range(4_631_219): | |
a = random.randint(1, 666) | |
b = random.randint(1, 666) |
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 re | |
import textwrap | |
from gimpfu import _obj_mapping, gimp | |
BASE_DOC_TEMPLATE = "%s\n\n%s" | |
PARAM_DOC_TEMPLATE = "\n\nParameters\n----------\n%s" | |
RUNMODE_DOC = """run_mode : int, optional | |
the run mode, RUN_INTERACTIVE or RUN_NONINTERACTIVE\n""" | |
RETURN_DOC_TEMPLATE = "\nReturns\n-------\n%s" |