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

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/n/u/nuke.env-HEAD/python/bookmarker.py   nuke.env(Download)
        else:
            if ask:
                clear=nuke.ask('Clear Bookmark and Label?')
                if clear:
                    sn['icon'].setValue('')

src/n/u/nuke.env-HEAD/python/makewritefromread.py   nuke.env(Download)
 
		if selectedFormat == "nochange":
			result = nuke.ask( "Warning, your write nodes will have the same filename as\nyour Read-nodes.\n\n Are you sure that this is what you want?" )
		else:
			result = nuke.ask( "Warning, you only changed the file format.\n\nYour write nodes MIGHT have the same filename as\nyour Read-nodes.\n\n Are you sure that this is what you want?" )

src/n/u/nuke.env-HEAD/python/NukeCollect.py   nuke.env(Download)
		# Check if local directory already exists. Ask to create it if it doesn't
		if not os.path.exists(targetPath):
			if nuke.ask("Directory does not exist. Create now?"):
				try:
					os.makedirs(targetPath)

src/z/y/zync-nuke-HEAD/zync_nuke.py   zync-nuke(Download)
 
        if self.skip_check.value():
            skip_answer = nuke.ask( "You've asked ZYNC to skip the file check for this job. If you've added new files to your script this job WILL error. Your nuke script will still be uploaded. Are you sure you want to continue?" )
            if not skip_answer:
                return

src/d/m/dmptools-HEAD/src/nuke/nodes/nukeSequenceManager.py   dmptools(Download)
    def clearSequenceManager(self):
 
        confirm = nuke.ask('Are you sure ?')
 
        if confirm: