Re: Python GUI application embedding a web browser - Options?
Paul Mooresaid : > On 9 October 2017 at 04:25, wrote: >> Did you find out the answer for that? > > Nothing much beyond the pointer to PyQt (which basically said "a lot > of the info on the web is out of date" so I should check the latest > docs). I didn't take it much further, though, as it was a hobby > project and the learning curve for PyQt (any GUI framework, really) > was a bit high for the amount of spare time I had at the time. > > Paul Have you looked at CEFpython ? It seems to work with all major GUIs (Qt, wx, Tk, gtk..) https://github.com/cztomczak/cefpython/tree/master/examples -- https://mail.python.org/mailman/listinfo/python-list
Re: Choosing a Python IDE. what is your Pythonish recommendation? I do
> On Thu, Jan 5, 2017 at 12:12 PM, Chris Clark> wrote: >> I want an IDE that I can use at work and home, linux and dare I say >> windows. >> Sublime, had to remove it from my work PC as it is not licensed. >> Atom, loved it until it slowed down. >> VIM, ok the best if you know vi inside out. >> Any JAVA based IDE, just slows up on work PC's due to all the >> background stuff that corporates insist they run. >> Why can not someone more clever than I fork DrPython and bring it up >> to date. >> Its is fast, looks great and just does the job ? I'm suprised no one in this rich thread has even mentioned SciTE : http://www.scintilla.org/ Admittedly it's closer to an excellent code editor than a full-blown IDE. But it's very lightweight and fast, cross-platform, has superb syntax coloring and UTF8 handling, and is highly configurable through its configuration file(s) and embedded LUA scripting. It's also well maintained : version 1.0 came out in 1999, and the latest (3.7.2) is just a week old... Its IDE side consists mostly of hotkeys to run the interpreter or compiler for the language you're editing, with the file in the current tab. A side pane shows the output (prints, exceptions, errors etc.) of the running script. A nice touch is that it understands these error messages and makes them clickable, taking you to the tab/module/line where the error occurred. Also, it can save its current tabs (and their state) to a "session" file for later reloading, which is close to the idea of a "project" in most IDEs. Oh, and it had multi-selection and multi-editing before most of the new IDEs out there :-) Personally that's about all I need for my Python activities, but it can be customized much further than I have done : there are "hooks" for other external programs than compilers/interpreters, so you can also run a linter, debugger or cvs from the editor. One word of warning: unlike most newer IDEs which tend to be shiny-shiny and ful of bells and whistles at first sight, out of the box SciTE is *extremely* plain looking (you could even say drab, or ugly :-). It is up to you to decide how it should look and what it should do or not, through the configuration file. Fortunately the documentation is very thorough, and there are a lot of examples lying around to be copy/pasted (like a dark theme, LUA scripts etc.). Did I mention it's lightweight ? The archive is about 1.5 MB and it just needs unzipping, no installation. May be worth a look if you haven't tried it yet... fp -- https://mail.python.org/mailman/listinfo/python-list
Re: Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.
> On Thu, Jan 5, 2017 at 12:12 PM, Chris Clark> wrote: >> I want an IDE that I can use at work and home, linux and dare I say >> windows. >> Sublime, had to remove it from my work PC as it is not licensed. >> Atom, loved it until it slowed down. >> VIM, ok the best if you know vi inside out. >> Any JAVA based IDE, just slows up on work PC's due to all the >> background stuff that corporates insist they run. >> Why can not someone more clever than I fork DrPython and bring it up >> to date. >> Its is fast, looks great and just does the job ? I'm suprised no one in this rich thread has even mentioned SciTE : http://www.scintilla.org/ Admittedly it's closer to an excellent code editor than a full-blown IDE. But it's very lightweight and fast, cross-platform, has superb syntax coloring and UTF8 handling, and is highly configurable through its configuration file(s) and embedded LUA scripting. It's also well maintained : version 1.0 came out in 1999, and the latest (3.7.2) is just a week old... Its IDE side consists mostly of hotkeys to run the interpreter or compiler for the language you're editing, with the file in the current tab. A side pane shows the output (prints, exceptions, errors etc.) of the running script. A nice touch is that it understands these error messages and makes them clickable, taking you to the tab/module/line where the error occurred. Also, it can save its current tabs (and their state) to a "session" file for later reloading, which is close to the idea of a "project" in most IDEs. Oh, and it had multi-selection and multi-editing before most of the new IDEs out there :-) Personally that's about all I need for my Python activities, but it can be customized much further than I have done : there are "hooks" for other external programs than compilers/interpreters, so you can also run a linter, debugger or cvs from the editor. One word of warning: unlike most newer IDEs which tend to be shiny-shiny and ful of bells and whistles at first sight, out of the box SciTE is *extremely* plain looking (you could even say drab, or ugly :-). It is up to you to decide how it should look and what it should do or not, through the configuration file. Fortunately the documentation is very thorough, and there are a lot of examples lying around to be copy/pasted (like a dark theme, LUA scripts etc.). Did I mention it's lightweight ? The archive is about 1.5 MB and it just needs unzipping, no installation. May be worth a look if you haven't tried it yet... fp -- https://mail.python.org/mailman/listinfo/python-list