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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/l/a/languageflash-HEAD/vocab.py   language flashcards(Download)
from PyQt4 import QtGui
import random
from flashcard import FlashCard
from activecarddialog import ActiveCardDialog
from editcarddialog import EditCardDialog
        file.close()
        self.cards = []
        pythonWontDoStaticMethods = FlashCard(self)
        for line in lines:
            self.cards.append(pythonWontDoStaticMethods.fromString(self, parent, line))
    def newCard(self):
        card = FlashCard(self, self.mainGui)
        dialog = EditCardDialog(card, self.mainGui)
        dialog.show()
        self.cards.append(card)

src/l/a/languageflash-HEAD/flashcardgui.py   language flashcards(Download)
import sys
from PyQt4 import QtGui, QtCore
from flashcard import FlashCard
from vocab import Vocab