for free Sublime Text 3 + w2p plugin Work and gives you a web2py console and some other stuff
Regards 2018-01-26 18:57 GMT+00:00 Andrea Fae' <and...@gmail.com>: > Thanks a lot, but I'd like free IDE, without cost. > > > Il giorno venerdì 26 gennaio 2018 13:32:14 UTC+1, Jim S ha scritto: >> >> Great post Mirek! >> >> I can confirm that paid PyCharm does work better with web2py than the >> Community version. What I like about PyCharm is that in addition to a >> Python IDE, you also get a good editor for HTML, javascript, CSS and a nice >> database editor if you're using the paid version. >> >> If not using the paid version or using some other IDE that isn't >> web2py-aware, see this section of the book: >> >> http://web2py.com/books/default/chapter/29/14/other-recipes# >> Using-general-purpose-IDEs-with-web2py >> >> -Jim >> >> On Thursday, January 25, 2018 at 5:08:47 PM UTC-6, Mirek Zvolský wrote: >>> >>> If you use a simple editor only, it is similar as the work with web2py >>> integrated environment. You can just create and edit python files. >>> Of course the suitable editor must be special for Python writting: It >>> must at least convert the Tab into 4 spaces. And work with utf-8. >>> >>> If you want more, then use some Python IDE. >>> What means more? Intellisense, Find strings through all projects folders >>> and files, Find usages of defined fuction or class (in all files), Go to >>> function or class definitions through click on their call/usage, ... >>> You have about 30 different Python IDE's to choose your best. I have no >>> good knowledge about all of them. I just have worked short time with >>> Eclipse and now about 3 years with PyCharm. >>> From my opinion when I compare Eclipse and PyCharm, then PyCharm is much >>> much better. I speak about stability and speed. I cannot compare >>> properties, because I still use just basics from PyCharm. Example: I still >>> debug with the command line "from pdb import set_trace; set_trace()" >>> instead to use the Python integrated debugger. >>> However I believe PyCharm solution is excellent in such areas too. At >>> least I hear some experienced developers to say so. >>> >>> PyCharm has the free ("community") edition. And has a payed edition. I >>> use the free edition. >>> Web2py is special Python software - model+controller+view run in same >>> scope, which was earlier prepared by Web2py internals. It makes things a >>> little easier for you because you have some useful things already imported >>> (request, response, session, html helpers, names from model). This is crazy >>> for the Python purists because they say: this is completly bad; this is not >>> Python, when you have inside the file some names from outside which are not >>> imported. I think, for the developer itself it is not so much bad. Because >>> we have here the limited number of well known and often used names and the >>> developer know from where these names come. >>> >>> However it is serious problem for the IDE. If you have nice pure Python >>> code, where the names are from the current file or they are imported, then >>> for the IDE is easy to find name references in other files. >>> Here I am not sure if following is true (could somebody confirm it?), >>> but I think: Payed PyCharm version has improved support for Web2py to help >>> find the references, but free version hasn't such support. That means you >>> cannot work with Web2py excellent in the free version. Instead you still >>> work very poor, not much better as in the basics editors. Yes, a little >>> better. Clicking or rightclicking the name can find the reference in same >>> file. But to search the whole project, you cannot do this. You are however >>> able to search the name as string through all files of the project. Which >>> is fast too, but not so fast as Ctrl+click or RightClick+FindUsages. >>> >>> I think you will make no mistake when you learn to work with PyCharm. >>> Regardless the possibilities can be (for Web2py) limited with regard to the >>> previous. >>> >>> I don't know about Windows IDE's (Visual Studio) and probably they can >>> be good for you if you work with other programming languages in same IDE >>> too (if you already know such IDE). >>> However PyCharm belongs to the family of JetBrains company IDE's. So you >>> can use same environment in other programming languages too. However not >>> everything from JetBrains is for free. >>> >>> And of course there is other way: A hard way for the beginning but >>> during 6 months I think you will be happy. Install double boot >>> Windows+Linux (even better, if you know Linux has not some fatal problem >>> with your hardware, then remove Windows and install Linux only). Then use >>> Python+VirtualEnv+PyCharm. >>> VirtualEnv is not absolutely neccessary. However you should understand, >>> that more and more parts of Linux system are written in Python. >>> Example: You will use Debian on your notebook (which I can recommend >>> (but of course there is a lot of good possibilities): Debian Stable for >>> highest stability or Debian Testing for newer software versions (which is >>> probably good for the developers machine). In Debian (and I think all other >>> Linux distributions) Python2 and Python3 are already installed (because >>> part of system and lot of software use them) and packaging system has lot >>> of python2-xxx or python3-xxx packages which are installed together with >>> some additional (later installed) software. >>> And this is the problem: Distributions contains some versions of python >>> and of python-packages. However with system updates the versions can be >>> upgraded ! >>> So you have possibility: You can develop your software with system >>> versions of Python and its components, and fix the behaviour when the >>> system versions will change. This is possible but not the best solution. >>> Better is install and activate virtualenv for the project folder. Then >>> you will work with fixed versions and you will upgrade versions when YOU >>> will want. >>> >>> With Python3.4+ you have no need to install virtualenv. Just call: >>> python3 -m venv venvdirectory/ >>> Then you can switch the paths with: . venvdirectory/bin/activate >>> and you have the proper python+pip version and you can install what you >>> want with: pip install .... >>> >>> >>> >>> >>> >>> >>> Dne středa 24. ledna 2018 22:28:05 UTC+1 Andrea Fae' napsal(a): >>>> >>>> Web2py integrated ide environment is not bad, but with limited >>>> debugging, no intellisense and so on. >>>> I'd like to know what is a completely free IDE for using with web2py. >>>> Visual Studio Community? Visual Code Editor? In which way? How can I >>>> integrate web2py with these IDE? Is it possible? >>>> Can you suggest the best free IDE for web2py, with HTML, CSS, >>>> Javascript and, obviously Python 2? >>>> Thank you >>>> >>> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.