Skip to content

It's a long shot, but is there any chance of getting this to work in Python2.7? #37

@MostHated

Description

@MostHated

Hey there,
I know it's a long shot, but is there any chance of getting this to work in Python2.7? Most VFX applications still use Python2.7 unfortunately, and I have been trying to find a proper way to pretty much do exactly what this package looks like it might do for me.

I have files like the ones below, but for some reason, they are all inconsistent with not only the characters used as a delimiter but the number of each character as well. There might be \t, \t\t, \s\t, \s\s\s\s, etc between them, which is making it hard to try and parse them with the DictReader function.

//
// Desktop manager (separate app)
//

HCONTEXT deskmgr "Desktop Manager" "These keys are used in the Desktop Manager dialog."

deskmgr.new		"New"		"Create a new desktop"		Alt+N N
deskmgr.add		"Add"		"Add a desktop"			Alt+D D
deskmgr.apply		"Apply"		"Apply current changes"
deskmgr.accept		"Accept"	"Accept current changes"
deskmgr.discard		"Discard"	"Discard current changes"
deskmgr.reload		"Reload"	"Reload the desktops"
deskmgr.refresh		"Refresh"	"Refresh the desktops"
deskmgr.save		"Save"		"Save current changes"		Alt+S S
deskmgr.cancel		"Cancel"	"Cancel current changes"	Esc

//
// Gplay hotkeys
//

HCONTEXT gplay "GPLAY Geometry Viewer" "These keys apply to the Geometry Viewer application."

// File menu
gplay.open		"Open"			"Open"			Alt+O Ctrl+O
gplay.quit		"Quit"			"Quit"			Alt+Q Ctrl+Q

// Display menu
gplay.display_info	"Geometry Info"		"Geometry Info"		Alt+I
gplay.unpack		"Unpack Geometry"	"Unpack Geometry"	Alt+U
gplay.display_ssheet	"Geometry Spreadsheet"	"Geometry Speadsheet"	Alt+S
gplay.flipbook		"Flipbook Current Viewport" "Flipbook the currently selected viewport"	Alt+F
gplay.display_prefs	"Preferences"		"Preferences"		

// Help menu
gplay.help_menu		"Help Menu"		"Help Menu"		Alt+H

// Commands not in menus
gplay.quick_quit	"Quick Quit"		"Quick Quit"		Q
gplay.next_geo		"Next Geometry"		"Next Geometry"		N
gplay.prev_geo		"Previous Geometry"	"Previous Geometry"	P
gplay.stop_play		"Stop Play"		"Stop Play"		Space

Thanks,
-MH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions