Tell us about yourself!

Complete Your Profile
  • krowley1 commented on PumpkinSmasher's instructable Create a simple Python Text Editor!9 months ago
    Create a simple Python Text Editor!

    Because sys.version is a property and not a method. It should read: v=sys.versionwithout the (). Possibly the author was thinking of platform.python_version() which is a method that prints the same information (if you include platform).This is a nice little tutorial, but that error should be corrected...

    Also, font.menu.add_checkbutton for Helvetica has the variable name in lower case (variable=helvetica), but this gives an error as the font name was earlier defined and should start with a cap:variable=Helveticaor, you could change the definition to: helvetica=IntVar()fix those two errors (sys.version and Helvetica) and it should run.

    View Instructable »