Python Main.__version__() Examples
The following are 6
code examples of Main.__version__().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
Main
, or try the search function
.
Example #1
Source File: About.py From nodemcu-pyflasher with MIT License | 5 votes |
def __init__(self, parent): wx.Dialog.__init__(self, parent, wx.ID_ANY, "About NodeMCU PyFlasher") html = HtmlWindow(self, wx.ID_ANY, size=(420, -1)) if "gtk2" in wx.PlatformInfo or "gtk3" in wx.PlatformInfo: html.SetStandardFonts() txt = self.text.format(self._get_bundle_dir(), __version__) html.SetPage(txt) ir = html.GetInternalRepresentation() html.SetSize((ir.GetWidth() + 25, ir.GetHeight() + 25)) self.SetClientSize(html.GetSize()) self.CentreOnParent(wx.BOTH)
Example #2
Source File: PyncheWidget.py From oss-ftp with MIT License | 5 votes |
def __popup_about(self, event=None): from Main import __version__ tkMessageBox.showinfo('About Pynche ' + __version__, '''\ Pynche %s The PYthonically Natural Color and Hue Editor For information contact: Barry A. Warsaw email: bwarsaw@python.org''' % __version__)
Example #3
Source File: BaseClasses.py From ALttPEntranceRandomizer with MIT License | 5 votes |
def parse_data(self): self.medallions = OrderedDict([('Misery Mire', self.world.required_medallions[0]), ('Turtle Rock', self.world.required_medallions[1])]) self.locations = {'other locations': OrderedDict([(str(location), str(location.item)) if location.item is not None else 'Nothing' for location in self.world.get_locations()])} from Main import __version__ as ERVersion self.metadata = {'version': ERVersion, 'seed': self.world.seed, 'logic': self.world.logic, 'mode': self.world.mode, 'goal': self.world.goal, 'shuffle': self.world.shuffle, 'algorithm': self.world.algorithm, 'difficulty': self.world.difficulty, 'completeable': not self.world.check_beatable_only, 'dungeonitems': self.world.place_dungeon_items, 'quickswap': self.world.quickswap}
Example #4
Source File: PyncheWidget.py From datafari with Apache License 2.0 | 5 votes |
def __popup_about(self, event=None): from Main import __version__ tkMessageBox.showinfo('About Pynche ' + __version__, '''\ Pynche %s The PYthonically Natural Color and Hue Editor For information contact: Barry A. Warsaw email: bwarsaw@python.org''' % __version__)
Example #5
Source File: PyncheWidget.py From odoo13-x64 with GNU General Public License v3.0 | 5 votes |
def __popup_about(self, event=None): from Main import __version__ messagebox.showinfo('About Pynche ' + __version__, '''\ Pynche %s The PYthonically Natural Color and Hue Editor For information contact: Barry A. Warsaw email: bwarsaw@python.org''' % __version__)
Example #6
Source File: PyncheWidget.py From android_universal with MIT License | 5 votes |
def __popup_about(self, event=None): from Main import __version__ messagebox.showinfo('About Pynche ' + __version__, '''\ Pynche %s The PYthonically Natural Color and Hue Editor For information contact: Barry A. Warsaw email: bwarsaw@python.org''' % __version__)