[issue27051] Create PIP gui

2016-06-20 Thread Terry J. Reedy
expressed interest. Another student joined the competition in March. March 27, I posted on pydev "Adding a Pip GUI to IDLE and idlelib (GSOC project)" https://mail.python.org/pipermail/python-dev/2016-March/143586.html and said at the top "Before I commit to mentoring a st

[issue27051] Create PIP gui

2016-06-20 Thread Ned Deily
ment - what commands are available, what options each has, default values, current best practices - are the purview of the Python Packaging Authority and the pip project, not Python development. This translates directly into the whole user experience when using a gui instead of a cli. As we all k

[issue27051] Create PIP gui

2016-06-20 Thread Ned Deily
Ned Deily added the comment: Terry et al: is anyone from the Python Packaging Authority (and or distutils-sig) involved in this project? After all, pip is developed and maintained by them, not by python-dev. I don't think we should be committing code to the Python Standard library for an

[issue27051] Create PIP gui

2016-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should mention that the reason we have multiple alpha and beta releases for a new version is that new modules such as this are *typically* incomplete, a bit rough in the API, and even buggy, when first committed. We have had the most problems when modules

[issue27051] Create PIP gui

2016-06-20 Thread Terry J. Reedy
am working on an IDLE patch that already includes the sort of end-to-end testing I have talked about: enter data into gui, simulate 'go' click, and then check final result. I will post the new issue number when there is something to look at. -- assignee: -> terry.re

[issue27051] Create PIP gui

2016-06-20 Thread Upendra Kumar
Variables : Just a light post 4. Page Layouts and Application Flow of Logic 5. Ist Design Iteration of ‘pip’ GUI 6. My First GSoC Post : Notes on process of designing a GUI application -- ___ Python tracker <rep...@bugs.python.org>

[issue27051] Create PIP gui

2016-06-15 Thread lorenzogotuned
lorenzogotuned added the comment: I made it run from the root directory with: python pip_tkinter/__main__.py For sure the right way should be python -m pip_tkinter The first view works fine for PyPi, the second one is just void. I added a issue for an enhancement at

[issue27051] Create PIP gui

2016-06-14 Thread Upendra Kumar
Upendra Kumar added the comment: For executing it currently, we need to run it like this: python -m pip_tkinter Recently, I have changed code. Therefore we can't execute individual pages/layouts by running it with "python -m pip_tkinter.". I will change the code in "__main__" section so that

[issue27051] Create PIP gui

2016-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: install_page.py fails with Traceback (most recent call last): File "F:\Python\mypy\tem2.py", line 611, in install_app = InstallPage(root) TypeError: __init__() missing 1 required positional argument: 'controller' manage_installed_modules_page.py would

Re: Recommendation for GUI lib?

2016-06-11 Thread Jan Erik Moström
Thanks everybody for your answers. I really appreciate your answers and I do have a few things to investigate later this summer (after finishing my current "excursion" into Java, and trying to learn KDB/Q). = jem -- https://mail.python.org/mailman/listinfo/python-list

[issue27051] Create PIP gui

2016-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: sys.executable has the path to the current executable. But you don't even need that. When you import pip, it gets that itself to find site-packages. You are making this way too complicated and are trying to do what pip can do. I don't see that we need to

[issue27051] Create PIP gui

2016-06-10 Thread Upendra Kumar
Upendra Kumar added the comment: I, actually want to make a 'configuration object' before running the 'pip' GUI. Therefore one of the parameters of the configuration object will be to detect the path to installed 'python.exe' in Windows. In order to get executable paths I need to read

[issue27051] Create PIP gui

2016-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't know what you mean by 'print with winreg'. I presume you need admin privilege to alter the registry. But why are you involved with it? I just want you to use the pip interface, and let pip worry about such low level stuff. --

[issue27051] Create PIP gui

2016-06-10 Thread Upendra Kumar
Upendra Kumar added the comment: I am unable to print anything using winreg module. Does it require administrative privileges? I am using this code sample : import os import errno import winreg proc_arch = os.environ['PROCESSOR_ARCHITECTURE'].lower() try: proc_arch64 =

Re: Recommendation for GUI lib?

2016-06-08 Thread Dietmar Schwertberger
On 07.06.2016 23:45, Roland Koebler via Python-list wrote: Both are free, have Python bindings and a graphical GUI designer, and both have ports for Windows and Mac OS X. Qt does have a better cross-platform- support and supports more platforms, but GTK+3 also works for Linux, Mac OS X

Re: Recommendation for GUI lib?

2016-06-07 Thread Michael Torrie
Accidentally didn't reply to the list... On 06/07/2016 03:45 PM, Roland Koebler via Python-list wrote: > You can also try Qt (http://qt.io), and one of its Python-bindings. > But I was never happy with Qt and think some GUI-concepts of GTK+ are much > better than the ones of Qt, and I l

Re: Recommendation for GUI lib?

2016-06-07 Thread Roland Koebler via Python-list
Hi, the two "big" GUI toolkits on Linux are GTK+ and Qt. Both are free, have Python bindings and a graphical GUI designer, and both have ports for Windows and Mac OS X. Qt does have a better cross-platform- support and supports more platforms, but GTK+3 also works for Linux, Mac OS X a

Re: Recommendation for GUI lib?

2016-06-07 Thread Dietmar Schwertberger
projects. The small static piece will just import the GUI. Still then, if the GUI actually serves a purpose, you need to address all the controls and events yourself. At that point, you will soon find that you need to know as much as if you created the GUI in code. Anway, for GUI development I

Re: Recommendation for GUI lib?

2016-06-07 Thread Nick Sarbicki
> > Qt Designer is certainly a good GUI builder, but not more than that. > When you actually want to use the designed GUI in Python, you will find > that this needs almost as much know how and work as if you did the GUI > in code. > I think that's a bit of an unfair statement. S

Re: Everything good about Python except GUI IDE?

2016-06-06 Thread Lawrence D’Oliveiro
On Sunday, February 28, 2016 at 12:19:21 AM UTC+13, wrong.a...@gmail.com wrote: > I have some VB forms with more than a hundred objects. If I cannot drag and > drop text boxes, list boxes, labels, etc., it will be too much work to create > that with several lines of code for each object. You

Re: Recommendation for GUI lib?

2016-06-06 Thread Dietmar Schwertberger
On 05.06.2016 01:08, John Pote wrote: Qt and Qt Creator often come up in searches for Python GUI libraries. I need to decide weather to upgrade to wxPython.Phoenix and Python 3.5 (as soon as I upgrade to win 7!) or switch to Qt which I don't know at all. It would be interesting to hear your

Re: Everything good about Python except GUI IDE?

2016-06-05 Thread Michael Torrie
On 06/05/2016 10:01 PM, Michael Torrie wrote: > I've thought about this before and even tried my hand at creating a nice > library for doing this sort of thing with Python. Generators seem like > a natural analog for the shell pipes. However there is one big problem > with them and that is they

Re: Everything good about Python except GUI IDE?

2016-06-05 Thread Michael Torrie
On 03/02/2016 03:36 PM, Marko Rauhamaa wrote: > Requirements for what I have in mind: > > 1. It would have to be and feel like real Python. > > 2. External commands should be available as callable Python functions. > > 3. Functions/commands should return streams. (Generators, maybe?) > >

Re: Lineendings (was Everything good about Python except GUI IDE?)

2016-06-05 Thread MRAB
On 2016-06-05 08:34, Rustom Mody wrote: Just came across this new data (for me) to this old question: On Monday, February 29, 2016 at 8:05:33 AM UTC+5:30, Ben Finney wrote: Rustom Mody writes: > On Monday, February 29, 2016 at 7:33:18 AM UTC+5:30, Chris Angelico wrote: > > Never has for any

Re: Lineendings (was Everything good about Python except GUI IDE?)

2016-06-05 Thread Rustom Mody
Just came across this new data (for me) to this old question: On Monday, February 29, 2016 at 8:05:33 AM UTC+5:30, Ben Finney wrote: > Rustom Mody writes: > > > On Monday, February 29, 2016 at 7:33:18 AM UTC+5:30, Chris Angelico wrote: > > > Never has for any of my projects. Examples please?

Re: Recommendation for GUI lib?

2016-06-04 Thread John Pote
On 02/06/2016 22:57, Dietmar Schwertberger wrote: On 02.06.2016 12:35, John Pote wrote: I've used wxPython (www.wxpython.org) for a few GUI projects and found it ok. It's a wrapper for the wxWidgets C++ library. There's even a reasonable free GUI builder, wxGlade, which I use as I prefer

[issue27051] Create PIP gui

2016-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is apparently no way to insert widgets in a Treeview -- text only. See for instance https://stackoverflow.com/questions/16755176/tkinter-insert-a-combobox-inside-a-treeview-widget. I don't know whether clicks on a row can be pinpointed to a specific

[issue27051] Create PIP gui

2016-06-03 Thread Upendra Kumar
Upendra Kumar added the comment: @Terry and @Lorenzo, As shown in the GUI of "install_pyPI_v1.png", I needed to add some tkinter widget into treeview. For example, adding a checkbox to the treeview so that multiple selections are possible. In figure "install_pyPI_v1.png",

Re: Recommendation for GUI lib?

2016-06-02 Thread Dietmar Schwertberger
On 02.06.2016 12:35, John Pote wrote: I've used wxPython (www.wxpython.org) for a few GUI projects and found it ok. It's a wrapper for the wxWidgets C++ library. There's even a reasonable free GUI builder, wxGlade, which I use as I prefer constructing GUI's that way rather than writing raw

Re: Recommendation for GUI lib?

2016-06-02 Thread Igor Korot
gt;> PyQt is the only one I know which currently supports Qt5+ so gets my vote. >> There are loads of resources around - works well on all operating systems >> (with most Qt5 having some focus on mobile). It comes with a ton of >> utilities and a really nice GUI editor ( >> h

Re: Recommendation for GUI lib?

2016-06-02 Thread Rob Gaddi
a plus. >> > > I generally use PyQt which is one of two (the other being pyside) python > wrappers for the Qt libraries. > > PyQt is the only one I know which currently supports Qt5+ so gets my vote. > There are loads of resources around - works well on all operating systems

Re: Recommendation for GUI lib?

2016-06-02 Thread Nick Sarbicki
of two (the other being pyside) python wrappers for the Qt libraries. PyQt is the only one I know which currently supports Qt5+ so gets my vote. There are loads of resources around - works well on all operating systems (with most Qt5 having some focus on mobile). It comes with a ton of utilities an

Re: Recommendation for GUI lib?

2016-06-02 Thread John Pote
On 01/06/2016 18:13, Jan Erik Moström wrote: I want to write a few programs with a GUI but I don't want to use Tk. Instead I'm looking for some other library, I've tried to look around and also asked a few but I don't really know what to use. I've used wxPython (www.wxpython.org) for a few GUI

Recommendation for GUI lib?

2016-06-02 Thread Jan Erik Moström
I want to write a few programs with a GUI but I don't want to use Tk. Instead I'm looking for some other library, I've tried to look around and also asked a few but I don't really know what to use. Do you have any recommendations? Primary platforms are OS X and Linux. I, of course, want

[issue27051] Create PIP gui

2016-06-01 Thread Upendra Kumar
Upendra Kumar added the comment: Actually now we don't need "pip list" command to get list of installed distributions. We can directly get it : from pip_tkinter._vendor import pkg_resources installed_packages = [p.project_name for p in pkg_resources.working_set] --

[issue27051] Create PIP gui

2016-06-01 Thread Upendra Kumar
Upendra Kumar added the comment: @Terry, code updates can be followed on https://github.com/upendra-k14/pip_gui/tree/dump_code Please review the code in dump_code branch. For now, only pip_gui_v3.py is relevant. 1. I had doubt about including a private module from pip ( "pip._vendor" ). As

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42998/update_package_v1.png ___ Python tracker ___

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42997/install_local_archive_v1.jpg ___ Python tracker ___

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42996/install_requirement_v1.jpg ___ Python tracker ___

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42995/install_pyPI_v1.png ___ Python tracker ___

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42993/welcome_v1.jpg ___ Python tracker ___

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Changes by Upendra Kumar : Added file: http://bugs.python.org/file42994/select_venv_system.jpg ___ Python tracker ___

[issue27051] Create PIP gui

2016-05-25 Thread Upendra Kumar
Upendra Kumar added the comment: I am posting flow of logic for application and related page layouts. Related layouts are : 1. welcome_v1 2. select_venv_system 3. install_pyPI_v1 4. install_local_archive_v1 5. install_pythonlibs_v1 6. install_requirements_v1 7. update_package_v1 8.

[issue27051] Create PIP gui

2016-05-25 Thread lorenzogotuned
lorenzogotuned added the comment: @Terry: Fine, we can do it. @Upendra: All the checks you mentioned have to be performed at start-up, so create a script that returns a configuration object for the UI. I think you can try to build a first easy view in which a package is selected (an input

[issue27051] Create PIP gui

2016-05-24 Thread Upendra Kumar
Upendra Kumar added the comment: 3. Detecting Virtual Environment Virtual environment can be detected using pip module : from pip.locations import running_under_virtualenv if running_under_virtualenv(): #If user provided path for virtual environment, evrything okay else: #Prompt

[issue27051] Create PIP gui

2016-05-24 Thread Upendra Kumar
Upendra Kumar added the comment: 2. Detecting different versions of Python installed : For Windows : It is explained in PEP 514 by Steve Dower. Windows has registry keys which can be accessed by winreg or _winreg module. Priority of registry keys : HKEY_CURRENT_USER > HKEY_LOCAL_MACHINE

[issue27051] Create PIP gui

2016-05-24 Thread Upendra Kumar
Upendra Kumar added the comment: These are some of the code parts which may be necessary : 1. Code for identification of OS from sys import platform if platform.startswith("linux"): #linux elif platform == "darwin": #mac os x else platform == "win32": # Windows --

[issue27051] Create PIP gui

2016-05-21 Thread Terry J. Reedy
(08-08) or even alpha 3 (07-11). It would be good to get user feedback before the summer is over. I will try to document the GUI in such a way that the detailed layout and operation are not locked in, but can be amended and augmented. For style, follow PEP 8. Ask any questions about

[issue27051] Create PIP gui

2016-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I posted notice of this issue on #23551. I did some research on simulating user interaction for testing. The results are exemplified in the attached tk.generate_event.py with test setups and assertions. Events are generated, to fire event handlers, with

[issue23551] IDLE to provide menu link to PIP gui.

2016-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upendra Kumar's GSOC pip-gui proposal has been accepted. It is issue #27051 and progress can be followed there. I leave this issue open, at least for now, for invoking the gui from IDLE. -- ___ Python tracker

[issue27051] Create PIP gui

2016-05-21 Thread lorenzogotuned
lorenzogotuned added the comment: Ok Upendra. Nice summary. In the next days: - Explain each *top task* (install, unistall, update) and in detail the way the underlying pip commands work (underline mandatory and optional parameters, requests performed to servers, filesystem storage and

[issue27051] Create PIP gui

2016-05-21 Thread Upendra Kumar
Upendra Kumar added the comment: I have uploaded my first iteration of design process for Tkinter. In the uploaded document "Design_notes_v1.docx", we have tried to identify different use cases and tasks to be fulfilled by the PIP GUI. If there are any suggestions regarding furth

[issue27051] Create PIP gui

2016-05-18 Thread lorenzogotuned
Changes by lorenzogotuned : -- nosy: +lorenzogotuned ___ Python tracker ___ ___

[issue27051] Create PIP gui

2016-05-17 Thread Upendra Kumar
New submission from Upendra Kumar: This is new issue opened for creating a GUI (tkinter) front end for pip. It is in continuation with Issue #23551. -- components: Tkinter messages: 265810 nosy: terry.reedy, upendra-k14 priority: normal severity: normal status: open title: Create PIP

[issue20607] multiprocessing cx_Freeze windows GUI bug (& easy fixes)

2016-04-14 Thread Alwin Kahlert
Alwin Kahlert added the comment: I have also trouble with this bug. It wasn't fixed in Python 3.4 and Python 3.5. It should be reopened. -- nosy: +Alwin Kahlert ___ Python tracker

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-07 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: The search button of search tab still not done yet, so it still cannot be used now -- Added file: http://bugs.python.org/file42396/pip_gui_v5.py ___ Python tracker

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is wrong for Run Module to open a new shell window when there is a shell window already. But I am not seeing this today with IDLE restarted, so for now, forget about it. V4 is improved, but the list of installed packages is repeated and 2/3 repeated

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-06 Thread Eric Khoo Jiun Hooi
Changes by Eric Khoo Jiun Hooi : Added file: http://bugs.python.org/file42379/pip_gui_v4.py ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-06 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: I try to open the script in editor mode and run the script. It restart shell and run the script. I upload the picture of it, is there any wrong with it? -- Added file: http://bugs.python.org/file42378/tem_v3_idle.png

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: F5 from the editor, with a Shell window already present. -- ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: Terry, how do you run the script on idle? I try to run the script with idle -r "script name" and it was ok. -- ___ Python tracker

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eric: some of my comments on Upendra's file apply to yours also. -- ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Terry J. Reedy
of the gui, runpip should be replaced with a mock that looks up a response string in a dictionary of argument-response pairs. The response string should have the same format as pip responses, though they will usually be shorted. For instance, the dummy 'machine' might have only two packages

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at the last two prototypes, an 'Installed packages' page would not need install, only update and remove. A minor issue. The PyCharm page with Install appears to contain part of an alphabetical listing of all packages on PyPI (there are 1s I

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-03 Thread Upendra Kumar
Upendra Kumar added the comment: I have one doubt about writing unittests for pip_gui. For writing the unittest what should I use as a test instance? For example, if we take particular pip package like : Flask Now, if I have to test the 'get_data_show()' function in temp_pip_v3.py (using the

Re: writing to command line thru python gui

2016-04-02 Thread Ned Batchelder
On Saturday, April 2, 2016 at 1:20:52 PM UTC-4, Thomas 'PointedEars' Lahn wrote: > A. ElKader wrote: > > > I posted this question, no reply : > > > > Any advice : > > > > http://unix.stackexchange.com/questions/273573/write-to-terminal-in-tkinter-gui >

Re: writing to command line thru python gui

2016-04-02 Thread Thomas 'PointedEars' Lahn
A. ElKader wrote: > I posted this question, no reply : > > Any advice : > > http://unix.stackexchange.com/questions/273573/write-to-terminal-in-tkinter-gui I do not think that this newsgroup/mailing list is meant as an advertisement board to get your questions answered on Q fo

writing to command line thru python gui

2016-04-01 Thread A. ElKader
I posted this question, no reply : Any advice : http://unix.stackexchange.com/questions/273573/write-to-terminal-in-tkinter-gui -- https://mail.python.org/mailman/listinfo/python-list

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-28 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: Is there any other uses of the ensurepip script? -- ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-28 Thread Eric Khoo Jiun Hooi
;have to put it inside the gui script to ensure that the pip is installed. >Otherwise, pass the "python -m ensurepip" to subprocess to install the package >before start the gui of pip. Am I understand it correctly? -- ___ Python tracker &l

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sunday morning I posted "Adding a Pip GUI to IDLE and idlelib (GSOC project)" to the pydev list requesting that any objections to the current plan be raised and resolved soon, before final acceptance of a student proposal and official initiati

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-27 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: @Terry, this is the code segment that I wrote to display the latest as you mention. Do give comment for improvement. -- Added file: http://bugs.python.org/file42308/pip_gui_v3.py ___ Python tracker

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: gohlke/pythonlibs/: Search will have to use a custom function. If direct download from url by pip does not work, then we write a custom function to download to a temp file and pip install from local file. (This is suggestion on site.) runpip: It would be

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-25 Thread Aivar Annamaa
Changes by Aivar Annamaa : -- nosy: -Aivar.Annamaa ___ Python tracker ___ ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-25 Thread Upendra Kumar
Upendra Kumar added the comment: I had just one more idea after carefully going through all the options provided by pip. Other than the features suggested by Raymond, we should also provide option for installing using proxy settings. Sometimes, configuring proxy can also be tricky while

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-25 Thread Upendra Kumar
Upendra Kumar added the comment: @Terry, I have tried to implement the treeview (as suggested by Alexander) and separate out the functions for retrieving data and displaying data. But, I have doubt on how to separate out the functions for getting data and displaying data. Further, I have

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-25 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: One more thing, window should be able to install package with pip. So, why the need of http://www.lfd.uci.edu/~gohlke/pythonlibs/ ? -- Added file: http://bugs.python.org/file42284/Design reference from pycharm.png

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-25 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: Terry, now I have done two more mockup for the installed package tab which is referenced from your suggestion and belopolsky's suggestion. Which you do you prefer? About the http://www.lfd.uci.edu/~gohlke/pythonlibs/ repo that you suggested to be

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I said on core-mentorship list, I decided that we should use Raymond's initial list for the feature list. If anyone has any elaborations or additions, now is the time to post them. -- ___ Python tracker

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upendra and Eric: get_list_data() should first parse the string into a list of lines with .splitlines. At some point, I think the scrolled list should become a scrolled ttk.Treeview, which can have multiple columns. Then get_line_data should parse each line

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: You may want to take a look a PyCharm's preferences dialog for inspiration. I am attaching a screenshot. I like the way they show installed and the latest available versions. -- nosy: +belopolsky Added file:

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Answering Eric: 'change default repository' would set a value that pip_gui would pass to subsequent install requests with the --index-url option. On Windows, http://www.lfd.uci.edu/~gohlke/pythonlibs/ is essential and should be pre-listed as an option to

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Upendra Kumar
Upendra Kumar added the comment: Here, I have one doubt regarding the get_data function that should the get_data function be a common function for different features for example : def _get_data(self, func_option): """ A separate function for extracting data from the runpip()

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: The implementation of features that already provided by command line interface should not be a problem. However, I do not understand how the search for package and change default repository function. Is it going to search the package from other website?

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Terry J. Reedy
either from IDLE or with 'python -m turtledemo' to see an example. Eric: make sure you read my response to Upendra on core-mentorship list: "Inquiry about the "PIP GUI Project". Raymond and Donald: I am seriously considering mentoring this as a GSOC project next summer. Can I count

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Steve Dower
Changes by Steve Dower : -- nosy: -steve.dower ___ Python tracker ___ ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: I also change some of the design like instead of showing the installed package information beside the list, I think that it will be better to show the package information on a new pop up window. You can try to double click the list of search tab and

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Eric Khoo Jiun Hooi
Changes by Eric Khoo Jiun Hooi : Added file: http://bugs.python.org/file42270/GSoC2016Proposal(1).pdf ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-24 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: Thank @Terry for your suggestion. I have been working on this few hour to fix and improve the code. I have also add some new feature into the application. Hope you can help me to review it again. Thank. About the proposal, please help me to review it if

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-23 Thread Terry J. Reedy
and a display_data. (An extra reason to do this in the stdlib context is that only a small subset of CPython buildbots have graphic screens and run gui tests.) Another change would be to replace Get_data sends a request to pip and parses the output strings into a Python data object. Its

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-23 Thread Eric Khoo Jiun Hooi
Changes by Eric Khoo Jiun Hooi : Added file: http://bugs.python.org/file42253/prototype_design.png ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-23 Thread Eric Khoo Jiun Hooi
. As for the virtualenv that you mention, how about I just let the user decide the path of the pip that they want to use by making a setting for path in menubar? I also design the prototype of the PIP gui. Please give me some review about those design. If you have any idea to improve it, feel free to comment

Re: Everything good about Python except GUI IDE?

2016-03-02 Thread Mike S via Python-list
On 2/27/2016 10:13 AM, wrong.addres...@gmail.com wrote: On Saturday, 27 February 2016 18:08:36 UTC+2, Dietmar Schwertberger wrote: On 27.02.2016 12:18, wrong.addres...@gmail.com wrote: Isn't there any good GUI IDE like Visual Basic? I hope there are some less well known GUI IDEs which I did

Re: Everything good about Python except GUI IDE?

2016-03-02 Thread Marko Rauhamaa
Christian Gollwitzer : > Have a look at PowerShell. It's not Python, and it is from MS - but it > works along those lines, passing .NET objects through the pipe. Owing > to that, instead of $2=="something" in the awk progra, you can address > the field(attribute) $2 by the

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Jon Ribbens
On 2016-03-02, Chris Angelico wrote: > On Thu, Mar 3, 2016 at 5:29 AM, Jon Ribbens > wrote: >> On 2016-03-02, Chris Angelico wrote: >>> You're no more vulnerable looking at one of those listings >>> than you would be going to a

Re: Everything good about Python except GUI IDE?

2016-03-02 Thread Christian Gollwitzer
Am 02.03.16 um 09:20 schrieb Marko Rauhamaa: Chris Angelico : On Wed, Mar 2, 2016 at 4:41 PM, Marko Rauhamaa wrote: I was talking about JSON for the standard I/O, not the command-line arguments, as in: ps -ef | awk '/httpd/ { print $2 }' where "ps

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Chris Angelico
On Thu, Mar 3, 2016 at 5:29 AM, Jon Ribbens wrote: > On 2016-03-02, Chris Angelico wrote: >> To be fair, this isn't a JS exploit; it's a trusting-of-trust issue - >> eBay has declared that you can trust them to sanitize their sellers' >> listings,

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Jon Ribbens
On 2016-03-02, Chris Angelico wrote: > To be fair, this isn't a JS exploit; it's a trusting-of-trust issue - > eBay has declared that you can trust them to sanitize their sellers' > listings, and so you trust eBay, but this exploit gets past the > filter. This is true. It

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Chris Angelico
On Thu, Mar 3, 2016 at 4:05 AM, Steven D'Aprano wrote: > Speaking of Javascript exploits: > > http://thedailywtf.com/articles/bidding-on-security > > > This is a real exploit, and Ebay have refused to fix it. Yay them! > > More here: > >

Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Steven D'Aprano
Speaking of Javascript exploits: http://thedailywtf.com/articles/bidding-on-security This is a real exploit, and Ebay have refused to fix it. Yay them! More here: http://blog.checkpoint.com/2016/02/02/ebay-platform-exposed-to-severe-vulnerability/ -- Steven --

<    1   2   3   4   5   6   7   8   9   10   >