K-Meleon

KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > Python

Submitted by: Yan Weng - yweng»cs - http://www.cs.uoregon.edu



Notes: Just a easy way to keep tracking python and do "quick idea tesing".


In Macros:

# Python
go_Python{
menu=Main site
open("http://www.python.org/"); 
}

go_python_dialy {
menu= daily news
open("http://www.pythonware.com/daily/");
}

go_python_weekly {
menu=weekly news
open("http://www.ddj.com/topics/pythonurl/");
}

go_python_halfmonth {
menu=half month summary
open("http://www.python.org/dev/summary/");
}

go_pythondoc{
menu=doc
open("http://www.python.org/doc/current/")
}

go_Python_ASPN {
menu = ASPN
open("http://aspn.activestate.com/ASPN/Cookbook/Python/");
}

go_pypi {
menu=packages
open("http://www.python.org/pypi");
}

go_python_vop {
menu=Vaults of Parnassus
open("http://py.vaults.ca/apyllo.py?a=l");
}

go_pythonProject{
menu=Projects
open("http://sourceforge.net/projects/python/");
}

go_pythoncvs {
menu=cvs
open("http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/");
}



# Tools
open_UltraEdit{
menu=UltraEdit
exec("uedit32")
}

exec_Python{
menu=Python
exec("python")
}

exec_Pythonwin {
menu=Pythonwin
exec("D:\\GNU\\Python22\\Lib\\site-packages\\Pythonwin\\pythonwin.exe");
}

exec_cmd{
menu=CMD
exec("cmd")
}


In Menus:

&Python {
        macros(go_Python)
        macros(go_pythondoc)
        macros(go_Python_ASPN)
        -
        macros(go_python_dialy)
        macros(go_python_weekly)
        macros(go_python_halfmonth)
        -
        macros(go_pypi)
        macros(go_python_vop)
        -
        macros(go_pythonProject)
        macros(go_pythoncvs)
        -
        macros(open_UltraEdit)
        macros(exec_Python)
        macros(exec_Pythonwin)
        macros(exec_cmd)
}

#Then you can add this menu to the main menu bar.

Main {
        :&File
        ....
        :&Python # Notice here
        :&Tools
        :&Help
        bmpmenu()
}


Comments & Questions

K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.