![]() Number2 += 1 for settings in flashtransfer_settings:Īdd_to_revtmd( '//revtmd:codingProcessHistory' + '/revtmd:settings' + '', settings, revtmd_xmlfile) Number2 = 2 for interventions in capture_interventions:Īdd_to_revtmd( '//revtmd:codingProcessHistory' + '/revtmd:settings' + '', interventions, revtmd_xmlfile) Disk sizes are always in GB\n." "Please start small, you can always resize." " "Memory sizes are in MB, unless you add G " "(e.g. Msg = ( "Please select the size of your machine. Return False if chce.startswith( 'New '):Īrgs.subcommand = 'new' if chce != "New linux machine": 'Start machine', 'Stop machine', 'Modify machine', " "Example: 'prox new mybox1 mybox2 mybox3' will create " "3 Linux machines.")Ĭhce = easygui.choicebox(msg, _app_,[ 'New linux machine', 'New docker host', 'New virtual machine', 'List machines', Msg = ( "Running 'prox assist'! Please select from the list " "below or 'Cancel' and run 'prox -help' for other options. Print( 'running "prox assist" command which will guide you ' 'through a number of choices, however no GUI is available') Prn( "\nContact list: " + ' '.join(recip)) No_of_emptyfields = 16 #temp, this will be a variable.ĭeck = choicebox(msg, title, choices) print deckĪdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:role', 'Playback', revtmd_xmlfile)Īdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:manufacturer', 'Sony', revtmd_xmlfile)Īdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:modelName', 'DVW-A500P', revtmd_xmlfile)Īdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:signal', 'SDI', revtmd_xmlfile)Īdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:serialNumber', '10317', revtmd_xmlfile)Īdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:settings', 'Timecode = Auto', revtmd_xmlfile)Īdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:modelName', 'DVW-A510p', revtmd_xmlfile)Īdd_to_revtmd( '//revtmd:codingProcessHistory' + str() + '/revtmd:serialNumber', '11414', revtmd_xmlfile) # Forking path in order to get more accurate info depending on workflow if workflow not in ( "Telecine One Light", "bestlight", "Telecine Grade", "Audio Extraction", "Scanning"): ![]() Workflow = choicebox(msg, title, choices) ics File', title= '', default=expanduser( '~/') + 'calendar.ics', filetypes=), 'wb') # For testing comment 4 lines above (2 x if / else) and use this: # f = open('path_to_', 'wb')Įasygui.msgbox( 'Looks like the conversion went okay, but there was some kind of error writing the file.Print 'all is well' # Begin Interview using Easygui.Ĭhoices = ics File', title= '', default=expanduser( '~/Desktop/') + 'calendar.ics', filetypes=), 'wb')į = open(easygui.filesavebox(msg= 'Save. if isdir(expanduser( '~/Desktop')):į = open(easygui.filesavebox(msg= 'Save. ics file to same directory as input file. Sorry!')Įasygui.msgbox( 'Somehow it looks like I processed negative events. ![]() format(rownum, row))Įasygui.msgbox( 'Looks like I didn\'t even get through the first event. I think I might have gotten through about. # Open the input PDF, rotate all of the pages, and add the rotatedĮasygui.msgbox( 'I had a problem with an event. ![]() # If nothing was returned by gui.fileopenbox(), the user either hit # cancel or closed the window so we should exit the program. Output_path = gui.filesavebox(title=save_title, default=file_type) Warn_message = "Cannot overwrite original file!" while input_path = output_path: # Keep doing this until a valid file path is chosen. Save_title = "Save the rotated PDF as." output_path = gui.filesavebox(title=save_title, default=file_type) # If the user tries to overwrite the file they originally selected # for rotation, warn them and ask them to select a new file path. # Ask the user what they would like to call the new PDF and where # it should be saved. # Convert the chosen number of degrees to an integer Message = "Rotate the PDF clockwise by how many degrees?"ĭegrees = gui.buttonbox(message, "Choose rotation.", choices) # If the user dosn't select anything, keep displaying the # buttonbox() element until they do. # Ask the user by how many degrees each page should be rotated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |