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

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

src/d/a/daily-spent-0.1-alpha/src/dailyspents/view/SpentView.py   daily-spent(Download)
from dailyspents.model.Payment import Payment
from dailyspents.model.Category import Category
from dailyspents.model.Local import Local
import gdchart
from dailyspents.csvUtil import importCSV
                raise Exception('Invalid new local name.')
 
            newLocal = Local(name=newLocalName, user=self.user)
            self.localController.save(newLocal)
            self.message = 'New local inserted sucefully.'