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

All Samples(33)  |  Call(25)  |  Derive(0)  |  Import(8)

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/interactiveHistogramGraph.py   Pymol-script-repo(Download)
import sys
import Tkinter
from Canvas import Line, CanvasText, Rectangle
import tkFileDialog
import string, math, os
                p1 = (scale[0]*lower)+shift[0], (scale[1]*y)+shift[1]
                p2 = (scale[0]*upper)+shift[0], (scale[1]*y)+shift[1]
                Line(self.draw, p1[0], p1[1], p2[0], p2[1],
                     fill = 'black', width = 1)
                if xticks:
                    for x, label in xticks:
                        p = (scale[0]*x)+shift[0], \
                            (scale[1]*y)+shift[1]
                        Line(self.draw, p[0], p[1], p[0], p[1]+d,
                p1 = (scale[0]*x)+shift[0], (scale[1]*lower)+shift[1]
                p2 = (scale[0]*x)+shift[0], (scale[1]*upper)+shift[1]
                Line(self.draw, p1[0], p1[1], p2[0], p2[1],
                     fill = 'black', width = 1)
                if yticks:
                    for y, label in yticks:
                        p = (scale[0]*x)+shift[0], \
                            (scale[1]*y)+shift[1]
                        Line(self.draw, p[0], p[1], p[0]-d, p[1],

src/p/y/pytaint-HEAD/Python-2.7.5-pytaint/Demo/tkinter/guido/sortvisu.py   pytaint(Download)
 
from Tkinter import *
from Canvas import Line, Rectangle
import random
 
        self.report = Label(self.frame)
        self.report.pack()
        self.left = Line(self.canvas, 0, 0, 0, 0)
        self.right = Line(self.canvas, 0, 0, 0, 0)
        self.pivot = Line(self.canvas, 0, 0, 0, 0)

src/p/y/Py2crazy-HEAD/Python-2.7.5/Demo/tkinter/guido/sortvisu.py   Py2crazy(Download)
 
from Tkinter import *
from Canvas import Line, Rectangle
import random
 
        self.report = Label(self.frame)
        self.report.pack()
        self.left = Line(self.canvas, 0, 0, 0, 0)
        self.right = Line(self.canvas, 0, 0, 0, 0)
        self.pivot = Line(self.canvas, 0, 0, 0, 0)

src/p/y/PyCPython-HEAD/Python-2.7.1/Demo/tkinter/guido/sortvisu.py   PyCPython(Download)
 
from Tkinter import *
from Canvas import Line, Rectangle
import random
 
        self.report = Label(self.frame)
        self.report.pack()
        self.left = Line(self.canvas, 0, 0, 0, 0)
        self.right = Line(self.canvas, 0, 0, 0, 0)
        self.pivot = Line(self.canvas, 0, 0, 0, 0)

src/i/n/IncPy-HEAD/Demo/tkinter/guido/sortvisu.py   IncPy(Download)
 
from Tkinter import *
from Canvas import Line, Rectangle
import random
 
        self.report = Label(self.frame)
        self.report.pack()
        self.left = Line(self.canvas, 0, 0, 0, 0)
        self.right = Line(self.canvas, 0, 0, 0, 0)
        self.pivot = Line(self.canvas, 0, 0, 0, 0)

src/p/y/python-with-braces-HEAD/Demo/tkinter/guido/sortvisu.py   python-with-braces(Download)
 
from Tkinter import *
from Canvas import Line, Rectangle
import random
 
        self.report = Label(self.frame)
        self.report.pack()
        self.left = Line(self.canvas, 0, 0, 0, 0)
        self.right = Line(self.canvas, 0, 0, 0, 0)
        self.pivot = Line(self.canvas, 0, 0, 0, 0)

src/p/y/python2.7-mod-HEAD/Demo/tkinter/guido/sortvisu.py   python2.7-mod(Download)
 
from Tkinter import *
from Canvas import Line, Rectangle
import random
 
        self.report = Label(self.frame)
        self.report.pack()
        self.left = Line(self.canvas, 0, 0, 0, 0)
        self.right = Line(self.canvas, 0, 0, 0, 0)
        self.pivot = Line(self.canvas, 0, 0, 0, 0)

src/s/l/SlopPy-HEAD/Demo/tkinter/guido/sortvisu.py   SlopPy(Download)
 
from Tkinter import *
from Canvas import Line, Rectangle
import random
 
        self.report = Label(self.frame)
        self.report.pack()
        self.left = Line(self.canvas, 0, 0, 0, 0)
        self.right = Line(self.canvas, 0, 0, 0, 0)
        self.pivot = Line(self.canvas, 0, 0, 0, 0)