Re: Black boxes

2023-05-10 Thread Igor Korot
Hi,

On Wed, May 10, 2023 at 10:33 AM Ondřej Jůn  wrote:
>
> Good day.
>
> After installing the Python program from your site and restarting the
> computer as requested by the program, problems occurred. Programs like Word
> are all in black. In addition, a black color appears in the file explorer
> which sometimes completely covers everything (the black color). This
> problem also appears everywhere in the "boxes where text is entered"
> throughout the computer. I tried uninstalling and reinstalling the program
> but the problem remained. I also tried to repair the program via the button
> in the program. I didn't get to the modifications part of the program
> because when I clicked on black color appeared.

Was there any updates installed at the time of python installation?

Thank you.

>
> Python version: Python 3.11.3 (64-bit) Setup
>
> The computer I use: ASUS Vivobook
>
> Operating System: Windows 11 Home Edition
>
>   Version 22H2
>
>   Operating system build 22621.1555
>
> Thank you in advance for your reply
>
> Ondřej
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-02 Thread Igor Korot
Hi, Dietmer,

On Sun, Apr 2, 2023 at 1:14 PM Dietmar Schwertberger
 wrote:
>
> On 02.04.2023 18:26, Michael Torrie wrote:
> > Been a long time. I was initially turned off by the event handling
> > system of wx compared to the signals and slots of Gtk and Qt.
> When starting with Python GUIs in 1999, I evaluated both.
> Qt event handling had an advantage for C++ where the wxWidgets
> people had to use event tables. I don't know when wxWidgets
> added dynamic event binding, but with wxPython I don't know
> anything else than dynamic binding.

I think Bind() was added sometime in 2.9 as GSoC project.
And 
https://docs.wxwidgets.org/latest/classwx_evt_handler.html#a3b4a42f7263fd0a257a996a078ef802f
proves me correct: it is in "Since 2.9.0"

Thank you.

>
>
> Regards,
>
> Dietmar
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi, Thomas,

On Sat, Apr 1, 2023 at 12:40 PM Thomas Passin  wrote:
>
> On 4/1/2023 1:28 PM, Thomas Passin wrote:
> > On 4/1/2023 1:21 PM, Jim Schwartz wrote:
> >> Are there any ide’s that will let me design the screen and convert it
> >> to python?  I doubt it because it was mentioned that this is time
> >> consuming.
> >
> > Depends on what you mean by "let me design the screen", but Pyside
> > (which I think is now called Pyside2) may be suitable.  It is part the
> > Qt framework.
>
> I should have added that in my experience, the screen layout of controls
> is not the hardest and most time-consuming part of developing GUIs.  The
> hard part is getting the screen elements and other components to do what
> you want in the way that you want it.
>
> For example, the Tk.Text class can be used as a fairly full-featured
> editor, but try figuring out how to highlight part of the text - not so
> obvious.  Or say you decide you want to have a button flash when
> clicked, but you don't like the standard flash effect and want to change
> it.  Those are a few of the kinds of things that you have to deal with
> and that soak up the time.  It's not usually screen design.

I suggest going with wxPython/wxGlade.

Thank you.

>
> >>
> >> Sent from my iPhone
> >>
> >>> On Apr 1, 2023, at 10:37 AM, Eryk Sun  wrote:
> >>>
> >>> On 4/1/23, Jim Schwartz  wrote:
>  I have another question.  I have an app written in python, but I
>  want to
>  add a windows GUI front end to it.  Can this be done in python?  What
>  packages would allow me to do that?
> >>>
> >>> Here are a few of the GUI toolkit libraries in common use:
> >>>
> >>> * tkinter (Tk)
> >>> * PyQt (Qt)
> >>> * PySide (Qt)
> >>> * wxPython (wxWidgets)
> >>> * PyGObject (GTK)
> >>>
> >>> tkinter is included in Python's standard library.
> >>
> >
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi,

On Sat, Apr 1, 2023 at 12:24 PM Jim Schwartz  wrote:
>
> Are there any ide’s that will let me design the screen and convert it to 
> python?  I doubt it because it was mentioned that this is time consuming.

Look at wxGlade (a project designed for wxWidgets).
You will design you layout and then just save it as a py file.

No conversion needed.
And it's pretty straightforward. And very easy.
You can do it in 5 min or less..

Thank you.

I'm sure other libraries mentioned have their own RAD tool.

>
> Thanks for the responses everyone. I appreciate it.
>
> Sent from my iPhone
>
> > On Apr 1, 2023, at 10:37 AM, Eryk Sun  wrote:
> >
> > On 4/1/23, Jim Schwartz  wrote:
> >> I have another question.  I have an app written in python, but I want to
> >> add a windows GUI front end to it.  Can this be done in python?  What
> >> packages would allow me to do that?
> >
> > Here are a few of the GUI toolkit libraries in common use:
> >
> >* tkinter (Tk)
> >* PyQt (Qt)
> >* PySide (Qt)
> >* wxPython (wxWidgets)
> >* PyGObject (GTK)
> >
> > tkinter is included in Python's standard library.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Hello I want help get rid of that message and help install Python properly and thank you

2023-03-22 Thread Igor Korot
Hi,

On Wed, Mar 22, 2023 at 11:37 AM Mohammed nour Koujan
 wrote:
>
>
> --

What message?

Please don't post screenshots - copy and paste the errors from your machine...

Thank you.

> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: not able to use python

2022-08-17 Thread Igor Korot
Hi,

On Wed, Aug 17, 2022 at 12:20 PM i am unable to use python
 wrote:
>
>

AND I"M UNABLE TO SEE ANYTHING IN YOUR MESSAGE...

THANK YOU.

>
>
>
>Sent from [1]Mail for Windows
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Conecting to MySQL

2022-08-09 Thread Igor Korot
Hi,
@OP,
Can you try to connect with mysql-workbench?
Also - you didn't answer my first question.

Are you using an ODBC wrapper or python module?

Thank you.


On Tue, Aug 9, 2022 at 10:27 AM Axy  wrote:
>
>
> >> trying to connect to MYSQL it appears the error msg below:
> >> InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306'
> >> (111 Connection refused)
> >> [image: conexao.png]
> >> How can i fix that.?
> > What do you use for connection?
> > Does the firewall interfere with the connection?
>
> Firewall usually causes connection to hang and timeout with no response.
>
> But in this case connection looks immediately refused which means either
> port number is wrong or mysql is not listening on 127.0.0.1.
>
>
> Axy
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Conecting to MySQL

2022-08-09 Thread Igor Korot
Hi,

On Tue, Aug 9, 2022 at 9:07 AM Guilherme Campos
 wrote:
>
> Hello folks,
>
> trying to connect to MYSQL it appears the error msg below:
> InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306'
> (111 Connection refused)
> [image: conexao.png]
> How can i fix that.?

What do you use for connection?
Does the firewall interfere with the connection?

Thank you.

>
> thanks in advance
>
> Guilherme Campos
> Belo Horizonte - MG
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: TENGO PROBLEMAS AL INSTALAR PYTHON

2022-07-08 Thread Igor Korot
Hi,

On Fri, Jul 8, 2022 at 2:54 PM ANGIE ODETTE LIMA BANGUERA
 wrote:
>
> buenos dias necesito ayuda, tengo problemas al momento de instalar python
> 10.0 en la aplicación de visual studio code

Can you please describe what the problem is?
Which python are you trying to install? Where did you get it from?
Also - what platform are you using - Windows? Mac? *nix? Which version?

Please post the error if you can't express it in words...

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation

2022-06-21 Thread Igor Korot
Hi,

On Tue, Jun 21, 2022 at 11:43 AM Brian Karinga  wrote:
>
> Hello,
>
> I hope this email finds you well.
>
> I have been trying to download and install the latest version of python on
> my windows device. However, when I run the program, three options arise.
> These are:
>
> Modify
> Repair
> Uninstall
>
> I have executed the modify and repair options several times but nothing has
> changed. Please advise on what the problem could be and how it can be
> resolved.

Is it possible that Python is already installed?

Open "Command Prompt" window, type python and press "Enter".

What do you see on the screen?

Thank you.

>
> I look forward to hearing from you.
>
> Thank you,
> Brian.
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: my vs code isnt working

2022-06-11 Thread Igor Korot
Hi,

‪On Sat, Jun 11, 2022 at 10:05 AM ‫סאסי סאס‬‎  wrote:‬
>
> -- Forwarded message -
> מאת: סאסי סאס 
> ‪Date: שבת, 11 ביוני 2022 ב-11:36‬
> Subject: my vs code isnt working
> To: 
>
>
> what shoud i do to make that work i tried reinstalling and it still
> didnt work

This list DOES NOT accept attachment.
You will have to copy and paste the error you receive.

Thank you.

>
>
>
>
> [image: image.png]
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Sir jupyter note book is not working on my laptop?

2021-12-23 Thread Igor Korot
Hi,

On Thu, Dec 23, 2021 at 1:42 PM IMTIAZ AHMAD  wrote:
>
>

Well, my program just crashed.

Can you help?

Thank you.

>
>
>
>Sent from [1]Mail for Windows
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: help

2021-12-09 Thread Igor Korot
Hi,

On Thu, Dec 9, 2021 at 10:31 AM smita  wrote:
>
>
>
>I am not able to open python on my laptop plzz help

What do you mean by saying "open python"?

Thank you.

>
>
>
>Sent from [1]Mail for Windows
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Free OCR package in Python and selecting appropriate widget for the GUI

2021-09-21 Thread Igor Korot
imgur.com
Then you upload your image and post a perma-link here in reply.


On Tue, Sep 21, 2021, 22:03 Mohsen Owzar  wrote:

> DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2:
> > On 9/21/2021 4:36 AM, Mohsen Owzar wrote:
> > > Hi Guys
> > > Long time ago I've written a program in Malab a GUI for solving Sudoku
> puzzles, which worked not so bad.
> > > Now I try to write this GUI with Python with PyQt5 or TKinter.
> > > First question is:
> > > Is there any free OCR software, packages or code in Python, which I
> can use to recognize the given digits and their positions in the puzzle
> square.
> > > Second:
> > > Because, I can not attach a picture to this post, I try to describe my
> picture of my GUI.
> > Draw your GUI in PyQt designer or other graphics tool, then upload a
> > screenshot of it to imgur, then post the link to the picture.
> Thanks, for your answer.
> But, what is "imgur"?
> I'm not so familiar with handling of pictures in this group.
> How can I call "imgur" or how can I get there?
>
> Regards
> Mohsen
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Problem with python

2021-09-04 Thread Igor Korot
Hi,
Will this syntax work in python 2?

Thank you.

On Sat, Sep 4, 2021 at 1:52 PM dn via Python-list
 wrote:
>
> On 05/09/2021 06.27, Igor Korot wrote:
> > Hi, ALL,
> >
> > [code]
> > igor@WaylandGnome ~/bakefile $ python
> > Python 3.9.6 (default, Aug  8 2021, 17:26:32)
> > [GCC 10.3.0] on linux
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> from distutils import sysconfig
> >>>> print sysconfig.get_python_inc()
> >   File "", line 1
> > print sysconfig.get_python_inc()
> >   ^
> > SyntaxError: invalid syntax
> >>>>
> > [/code]
> >
> > What is the proper way to fix this?
>
> Remember that in Python3 print became a function:
>
>  print( sysconfig.get_python_inc() )
>
> --
> Regards,
> =dn
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Problem with python

2021-09-04 Thread Igor Korot
Thx guys.
I submitted a bug report for the project that uses it.

On Sat, Sep 4, 2021 at 1:42 PM Joel Goldstick  wrote:
>
> On Sat, Sep 4, 2021 at 2:29 PM Igor Korot  wrote:
> >
> > Hi, ALL,
> >
> > [code]
> > igor@WaylandGnome ~/bakefile $ python
> > Python 3.9.6 (default, Aug  8 2021, 17:26:32)
> > [GCC 10.3.0] on linux
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> from distutils import sysconfig
> > >>> print sysconfig.get_python_inc()
> >   File "", line 1
> > print sysconfig.get_python_inc()
>
>  print( sysconfig.get_python_inc())
>
> Since python3 print is a function.
> >   ^
> > SyntaxError: invalid syntax
> > >>>
> > [/code]
> >
> > What is the proper way to fix this?
> >
> > Thank you.
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
>
>
> --
> Joel Goldstick
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Problem with python

2021-09-04 Thread Igor Korot
Hi, ALL,

[code]
igor@WaylandGnome ~/bakefile $ python
Python 3.9.6 (default, Aug  8 2021, 17:26:32)
[GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils import sysconfig
>>> print sysconfig.get_python_inc()
  File "", line 1
print sysconfig.get_python_inc()
  ^
SyntaxError: invalid syntax
>>>
[/code]

What is the proper way to fix this?

Thank you.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: urgent

2021-08-31 Thread Igor Korot
Hi,

On Tue, Aug 31, 2021 at 12:44 AM Hari  wrote:
>
> Yes, I can. Why do you want python?
> option: ?

What do you mean - "option".
I am actually asking you why you want python?

> What task do you want to solve with python?
> option: ?

See above.

> Why python?
> option: ?
> Why not any other language?
> option: ?

Those 2 depend on the task at hand.

Thank you.

>
>
> On Tue, Aug 31, 2021 at 3:08 AM Igor Korot  wrote:
>>
>> Hi,
>>
>> On Mon, Aug 30, 2021 at 4:34 PM Hari  wrote:
>> >
>> > i was download ur python software but it is like boring user interface for
>> > me like young student to learn ,can u have any updates?
>>
>> Can you elaborate a little:
>> Why do you want python?
>> What task do you want to solve with python?
>> Why python? Why not any other language?
>>
>> Thank you.
>>
>> > --
>> > https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: software installation problems

2021-08-30 Thread Igor Korot
Hi,

On Mon, Aug 30, 2021 at 4:37 PM randy darwin lozanovalle
 wrote:
>
> Good morning, when I run the Python program after installing the
> latest version, I get this message (attached file), I have already
> reinstalled the program several times and the same message keeps
> appearing; What solution could you give me, thank you!

This is "no-attachment" list.
Please copy and paste the error inside the message body.

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: urgent

2021-08-30 Thread Igor Korot
Hi,

On Mon, Aug 30, 2021 at 4:34 PM Hari  wrote:
>
> i was download ur python software but it is like boring user interface for
> me like young student to learn ,can u have any updates?

Can you elaborate a little:
Why do you want python?
What task do you want to solve with python?
Why python? Why not any other language?

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python app setup

2021-06-01 Thread Igor Korot
Hi,

On Tue, Jun 1, 2021 at 12:25 PM Murali Pa  wrote:
>
>Hi,
>I've installed latest version of Python 3.9.5 and downloaded for Windows.
>Once I click on the Python app, I'm getting command screen and not sure on
>the next action. could you please help me to fix this issue.
>Python 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64
>bit (AMD64)] on win32
>Type "help", "copyright", "credits" or "license" for more information.
>>>>

Congratulations!!
You successfully installed python onm your box.

Now you can start coding in python.

Thank you.

>Thanks,
>Murali PA
>
>
>Disclaimer: The information in this email is the property of IBM and may
>be IBM Confidential and privileged. It is intended solely for the
>addressee. Access to this email by anyone else is unauthorized. If you are
>not the intended recipient, any disclosure, copying, distribution or any
>action taken in reliance on it is prohibited. If you receive this message
>in error please notify the sender immediately and delete all copies of
>this message.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python doesn't work

2021-05-30 Thread Igor Korot
Hi,

On Sun, May 30, 2021 at 2:00 PM Mr.Incognito  wrote:
>
>Hello
>
>I downloaded the latest versioon of Python and tried to open several .py
>files, but it doesn't open. It opens for a sec, then closes itself. I
>tried uninstalling and reinstalling, but it doesn't work.

Did you try with right clicking the file in the Explorer and click "Open"?
You should either open the Terminal, navigate to the place where those py
files are and type "python  or try with IDLE.

Thank you.

>
>
>
>I hope you can help me!
>
>
>
>
>
>Saadetud Windows 10 rakendusest [1]Meil
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: learning python ...

2021-05-23 Thread Igor Korot
Hi,

On Mon, May 24, 2021 at 12:26 AM hw  wrote:
>
> On 5/23/21 10:02 PM, Stestagg wrote:
> >
> >
> > On Sun, 23 May 2021 at 20:37, hw  > > wrote:
> >
> > On 5/23/21 7:28 PM, Peter Otten wrote:
> >  > On 23/05/2021 06:37, hw wrote:
> >  >>
> >  >> Hi,
> >  >>
> >  >> I'm starting to learn python and have made a little example program
> >  >> following a tutorial[1] I'm attaching.
> >  >>
> >  >> Running it, I'm getting:
> >  >>
> >  >>
> >  >> Traceback (most recent call last):
> >  >>File "[...]/hworld.py", line 18, in 
> >  >>  print(isinstance(int, float))
> >  >> TypeError: isinstance() arg 2 must be a type or tuple of types
> >  >>
> >  >>
> >  >> I would understand to get an error message in line 5 but not in 18.
> >  >> Is this a bug or a feature?
> >  >
> >  > It is a bug in your code (which you don't provide). Did you
> > assign some
> >  > value to float, e. g.:
> >  >
> >  >  >>> float = 42.0
> >  >  >>> isinstance(int, float)
> >  > Traceback (most recent call last):
> >  >File "", line 1, in 
> >  >  isinstance(int, float)
> >  > TypeError: isinstance() arg 2 must be a type or tuple of types
> >  >
> >  > If you do not shadow the built-in you should get
> >  >
> >  >  >>> isinstance(int, float)
> >  > False
> >  >
> >
> > Apparently the attachment was stripped from my message.  I'll put a
> > smaller version directly into this message instead of an attachment:
> >
> >
> > #!/usr/bin/python
> >
> > print("world!")
> >
> > int = 17
> > print("world", int)
> >
> > float = 6.670
> > print("world", float)
> >
> > foo = 0
> > print(type(int))
> > print(type(float))
> > print(type(foo))
> >
> > print(isinstance(foo, str))
> > print(isinstance(int, float))
> > print(isinstance(float, float))
> >
> >
> > I don't know about shadowing.
> >
> >
> > Shadowing is effectively saying “within this bit of code, (scope) I’m
> > going to use an already-used name for my own value”
>
> That should give at least a warning.
>
> > If I have defeated a whole variable type
> > by naming a variable like a variable type, I would think it is a bad
> > idea for python to allow this without warning.
> >
> >
> > There are some reasons why allowing this is quite nice. And there’s
> > actually a ton of corner cases to consider when thinking about changing
> > the rules
>
> Perl has a way to turn off unwanted warnings.  It won't change the rules
> to give a warning.
>
> > Interestingly python 3 made this a little bit better by stopping you
> > from rebinding (shadowing) a number of built ins, such as True and False.
> >
> > In your case, I agree that it is super confusing.
>
> It seems dangerous and seems to show that python is too unfinished to be
> used.  For all I know, it makes it easy to, for example, drop a whole
> table in a database because something was shadowed without warning.
>
> I can imagine that there can be all kinds of situations in which
> something like that happens, and you can spend hours or days trying to
> figure out what's wrong and may never find it.
>
> > One thing to learn to
> > look out for is if you assign to a name, then use that name on a
> > different context, expecting it to be different, then that’s not likely
> > to work as you expect.
>
> Then why doesn't give it at least a warning?
>
> There is even no indication from the output from the program before it
> aborts with an error message that something might be wrong:  For
> 'type(float)', it prints "" just like it does for int.
> How is anyone supposed to debug stuff like that?
>
> Why doesn't print(type(float)) give an error message after the variable
> type was already defeated (or prints something else)?  What is it
> actually printing?
>
> > It seems like a recipie
> > for creating chaos.
> >
> >
> > Luckily almost every python code checker and/or linter will highlight
> > this for you.
> >
> > If you’re learning python, I’d highly recommend doing so in an ide or
> > editor that has a code checker running.
>
> Emcas highlights the syntax fine; I don't know if it can do more for
> python.  It shouldn't need to.
>
> Things get creepy when a programming language makes it so that the
> programmer can't figure out anymore how a result produced by his program
> has come about.

Remember - python is an untyped language.
It is not C, C++ or even Pascal.

So there is no difference whether you write

float = 5.0

or

float1 = 5.0

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Issue in software

2021-05-23 Thread Igor Korot
Hi,

On Sun, May 23, 2021 at 11:50 AM pradeep Y  wrote:
>
> I I couldn't get the solution for this issue since last week will you
> please help me to solve this issue the issue is when I opened command
> prompt this below message will Pop up
>
>
> "The program can't start because api-ms-win-crt-runtime-[1-1-0.dl] is
> missing from your computer.try reinstalling the program to fix this
> problem."

You should download the above mentioned DLL from MS website and install it.

Thank you.

>
>
>
> I tried to solve several times and many times but I didn't get any expected
> outcome. Can you please help me please.
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: neoPython : Fastest Python Implementation: Coming Soon

2021-05-05 Thread Igor Korot
Hi,

On Wed, May 5, 2021 at 11:47 AM Mr Flibble <
flib...@i42.invalidwibblegrok.co.uk> wrote:

> On 05/05/2021 17:36, Igor Korot wrote:
> > Hi,
> >
> > On Wed, May 5, 2021 at 11:27 AM Mr Flibble <
> > flib...@i42.invalidwibblegrok.co.uk> wrote:
> >
> >> On 05/05/2021 17:02, Chris Angelico wrote:
> >>> On Thu, May 6, 2021 at 2:01 AM Mr Flibble
> >>>  wrote:
> >>>>
> >>>> neoPython : Fastest Python Implementation: Coming Soon
> >>>>
> >>>> Message ends.
> >>>>
> >>>> /Flibble
> >>>>
> >>>
> >>> My breath: not being held.
> >>>
> >>> Message ends.
> >>
> >> Why? The currently extant Python implementations are so inefficient they
> >> contribute to climate change; CPython is particularly egregious. Making
> a
> >> faster
> >> implementation isn't in the least bit a stretch.
> >>
> >> Message ends.
> >>
> >
> > Why do you use {C}Python in the first place if its so inefficient?
> > Why not use C or even Assembly?
> >
> > And "coming soon" - is a little weird.
> > Why not say "coming 10 May 2021 at 23:59:59"?
> >
> > /Message ends.
> >
> > Thank you.
>
> But I don't use Python, I use C++ (probably the best programming language
> in the
> world).
>

Posting in the python community implies that you are using {c}python.
Otherwise you will not be posting here.
And definitely would be waiting until you can show the "best python
implementation ever".

And C++ is also bad - Assembly is so much better and so much more efficient.

/Message ends.

Thank you.


> /Flibble
>
> --
> 😎
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: neoPython : Fastest Python Implementation: Coming Soon

2021-05-05 Thread Igor Korot
Hi,

On Wed, May 5, 2021 at 11:27 AM Mr Flibble <
flib...@i42.invalidwibblegrok.co.uk> wrote:

> On 05/05/2021 17:02, Chris Angelico wrote:
> > On Thu, May 6, 2021 at 2:01 AM Mr Flibble
> >  wrote:
> >>
> >> neoPython : Fastest Python Implementation: Coming Soon
> >>
> >> Message ends.
> >>
> >> /Flibble
> >>
> >
> > My breath: not being held.
> >
> > Message ends.
>
> Why? The currently extant Python implementations are so inefficient they
> contribute to climate change; CPython is particularly egregious. Making a
> faster
> implementation isn't in the least bit a stretch.
>
> Message ends.
>

Why do you use {C}Python in the first place if its so inefficient?
Why not use C or even Assembly?

And "coming soon" - is a little weird.
Why not say "coming 10 May 2021 at 23:59:59"?

/Message ends.

Thank you.


> /Flibble
>
> --
> 😎
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Problem in uninstalling python

2021-04-09 Thread Igor Korot
Hi,

On Fri, Apr 9, 2021 at 10:35 AM Paul Bryan  wrote:
>
> Please describe your problem in detail.
>
> Paul
>
>
> On Fri, 2021-04-09 at 11:03 +0530, arishmallick...@gmail.com wrote:
> >I am encountering problem in uninstalling python. Please help me
> > in this.

I presume you tried to send a screenshot to the list...

Please don't!!

The list will DROP ANY AND ALL attachments.

Rather cut-and-paste any error you receive to the body of your message.

Thank you.

> >
> >
> >
> >Sent from [1]Mail for Windows 10
> >
> >
> >
> > References
> >
> >Visible links
> >1. https://go.microsoft.com/fwlink/?LinkId=550986
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: NOT ABLE TO DOWNLOAD speech_recognition ON MY COMPUTER

2021-04-01 Thread Igor Korot
Hi,

On Thu, Apr 1, 2021 at 12:23 PM ᗷᑌᑎᑎY  wrote:
>
>Hello everyone. I am not able to download  speech_recognition . I am not
>professional just a beggnier but I decided and started developing a voice
>commanding software and I need to download speech_recognition. When I
>enter the command  pip install speech_recognition  it say's we cannot find
>a compatible version. My windows version is
>windows [Version 10.0.19042.844] . is there any way  I can  download it. I
>will be waiting for your advice.

Someone just answered on another thread. ;-)

Try to install SpeechRecognition

Thank you.

>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Issues in starting Python application

2021-04-01 Thread Igor Korot
Hi,

On Thu, Apr 1, 2021 at 10:41 AM Marco Ippolito  wrote:
>
> On 2021-04-01, Mahira Pamnani wrote:
> > Sir
> > I have been trying hard to install Python on my PC since a long time. The
> > application gets installed but, for reasons unknown, it doesn't start.
> > It keeps asking to repair, modify or uninstall the application.
> > I have tried doing that too, but it still doesn't give any results.
> > Please guide me on how to solve this issue.
> > Thank you
>
> What do you do that takes you to this offer to repair?
>
> For example: I click on the Start menu and try to select... .
>
> Maybe a screenshot of the moment in which the problem manifests itself?

Don't send a screenshot to the list - it will get rejected.
After you install python do this:

Open Windows Command Prompt.
Type "python" (without quotes) and press Enter.

Will you get a python prompt (liike >>>)?

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: i am getting the following error code while trying to reinstall pip

2021-03-28 Thread Igor Korot
Hi,



On Sun, Mar 28, 2021, 9:29 AM ACE 012  wrote:

> ValueError: bad marshal data (digit out of range in long)
>

Why do you need to re-install it?
What was wrong?

Thank you.

-- 
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Help Please

2021-03-26 Thread Igor Korot
Hi,

On Fri, Mar 26, 2021 at 11:36 AM Anis4Games  wrote:

> Hello python support team , i need help about packages and python modules
>
> That Video Will Explain My Problem
>

Please don't send any attachment to the list - it will be dropped from the
E-mail.

Cut'n'paste any errors you receive directly in the body of the message.

On top of that - usual stanza applies:

1. OS - Windows, Linux, Mac?
2. OS version?
3. Python version?
4. Are you able to run python interpretor?
5. Socks version you are trying to install?
6. Was install successful?

Thank you.


> The Problem : Is Im Installed [Socks] Alredy With Command => pip install
> socks
>
> But When i run some script using socks pack its show a error with message "
> import socks " no socks modules found
>
> So Please Help Me😫
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Regarding Python installation issue

2021-03-11 Thread Igor Korot
Hi,

On Thu, Mar 11, 2021 at 8:57 AM APURVA DHOK  wrote:
>
> Hi, I am Apurva
> I am facing a problem with the Python installation. After installing any
> Python version with(32 bit/64bit) on windows the script folder in python is
> empty please help me to get pip.exe and easy_install.exe

Which python did you install?
Which version?
You have Windows 10 or smth else?

Thank you.

>
> Thanks & Regards
> Apurva Dhok
> 9145619646
> Pune, Maharashtra, India
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application problems

2021-03-10 Thread Igor Korot
Hi,

On Wed, Mar 10, 2021 at 2:37 PM Yoosuf Oluwatosin via Python-list
 wrote:
>
>
> I have downloaded python 3.9.2 on my hp laptop with windows 10 and tried 
> opening both the normal python and the idle python on my pc but the norml 
> keeps opening the modify, repair and uninstall page while the idle keeps 
> giving a startup error. I have uninstalled, deleted and reinstalled several 
> times but it is still the same thing. What could be the problem.

What kind of error you get from IDLE?
Can you open the Command Prompt and type "python" (without quotes) and
press Enter?

Thank you.

>
> Sent from Yahoo Mail for iPhone
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Getting Modify Setup message

2021-03-09 Thread Igor Korot
Hi,

On Tue, Mar 9, 2021 at 5:05 PM Jaya Yogasundaram  wrote:
>
> Hello
>
> I just installed Python 3.9.2 on my computer a week ago . But I am getting
> the Modify Setup window pops up many times. How can I fix it. Let me know
> please.

Are you trying to re-run the setup?
What happens if you start the command prompt, type "python (without
quotes) and press Enter?
What OS are running? Is it Windows 10?
Can you go to "Start -> All Programs -> Python -> IDLE" and press Enter?

Thank you.

> thanks
> Jaya
>
>
> *Please note that I am working remotely until further notice.*
>
> Jaya Yogasundaram, P.Eng.
>
> IWMS Support & Development
>
> Infrastructure Information Management. Planning, Information &
> Analytics. Facilities
> and Operations
>
> 4th Floor, General Services Building, University of Alberta, Edmonton,
> Alberta T6G 2H1
>
> 780 492 6258 (Tel) jaya.yogasunda...@ualberta.ca
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: program python

2021-03-04 Thread Igor Korot
Hi,

On Thu, Mar 4, 2021 at 4:42 PM alberto  wrote:
>
> Il giorno giovedì 4 marzo 2021 alle 22:04:57 UTC+1 Paul Bryan ha scritto:
> > I don't see a Python program in that link.
> >
> > Are you asking how to extract data from a CSV?
> > A good start will be to look into the csv.reader function and
> > csv.DictReader class.
> >
> > Paul
> > On Thu, 2021-03-04 at 12:36 -0800, alberto wrote:
> > > Hi I'm tring to write a program with python to evaluate data of csv
> > > data
> > > In particular I would extract this information
> > >
> > > View data on the presence of men and women in Affori over time.
> > >
> > > * Carry out an analysis relating to the last available year. Of the
> > > 10 most populous neighborhoods show:
> > > * the proportion of births out of the total
> > > * the proportion of 80+ to the total
> > > * The ratio of minors / number of kindergartens
> > >
> > > this is the file
> > > https://drive.google.com/file/d/1zKflvSpB-oDAqYscLsEgUhSnqL1XPdql/view?usp=sharing
> > >
> > > How could fix it?
> > >
> > > regards
>
> Hi,
> with this code
> import pandas as pd
> df = pd.read_csv('data.csv',usecols=['Uomini','Donne'])
>
> print(df)
> I extract two columns, but I would see 'Affori over time'

And if you add this column to the list - what happens?

Thank you.

>
> regards
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: program python

2021-03-04 Thread Igor Korot
Hi,

On Thu, Mar 4, 2021 at 2:42 PM alberto  wrote:
>
> Hi I'm tring to write a program with python to evaluate data of csv data
> In particular I would extract this information
>
> View data on the presence of men and women in Affori over time.
>
> * Carry out an analysis relating to the last available year. Of the 10 most 
> populous neighborhoods show:
> * the proportion of births out of the total
> * the proportion of 80+ to the total
> * The ratio of minors / number of kindergartens
>
> this is the file
> https://drive.google.com/file/d/1zKflvSpB-oDAqYscLsEgUhSnqL1XPdql/view?usp=sharing
>
> How could fix it?

What seems to be the problem?

Thank you.

>
> regards
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: is not recognized as an internal or external command, operable program or batch file.

2021-03-02 Thread Igor Korot
Hi,

On Mon, Mar 1, 2021 at 12:56 PM singh.veer9--- via Python-list
 wrote:
>
>Dear Sir/Madam
>
>Sir I am facing the issue from 10 days. And I tried all the ways to remove
>this or to come out of this problem
>but as i try to install some PYTEST or OPENPYXL packages using pip it
>gives the notification that there is no writeable path present due to that
>I am not “is not recognized as an internal or external command, operable
>program or batch file.”  I am facing problem in running the test cases in
>Pycharm for the PYTEST
>please help me pls

Usual stanza:

How exactly did you try to install them?
Which OS are you running?
What version of Python?

Thank you.

>
>
>
>
>
>Sent from [1]Mail for Windows 10
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: New Python implementation

2021-02-16 Thread Igor Korot
Hi,



On Tue, Feb 16, 2021, 8:15 PM Abdur-Rahmaan Janhangeer 
wrote:

> Greetings list,
>
> > Even if Python is my choice language for personal projects, I am not
> certain it
> is the right language to use in a classroom context.
>
> This sums the view of most teachers in my country. In here for A level
> at Cambridge for Computer Studies you can choose either Java, or VB or
> Python
>
> The teachers' logic seems to tell them that VB is the simplest of all and
> more fitted for students. Since we organise the local Python usergroup
> ,
> we have been encouraging the adoption of Python. This happens from
> experience when teachers think for students, they think student will think
> like that etc
>

How old are the teachers?
And is it for school or university?


Thank you.


> The way schools examinations are set up, learning  programming is a bore.
> Programming requires experimentation and projects. The students must be
> permitted to explore the wide deep sea that is Python. On one of my
> projects
> on Github, i have a toy language, someone from Slovakia (14 years old)
> built
> an IDE for it, what was needed was only guidance where he was stuck.
>
> The hurdle with Python if any is the setting up and getting the command
> 'python'
> to appear in the terminal, which is very easy to get up and running
> nowadays.
>
> When i was in high school, i did not take Computer Studies, but was
> learning programming
> on my own, including Python. The irony is that my friends who were learning
> Python
> got disgusted with it. Loops and functions turned out to be hard for them.
> That's because
> learning for the exam makes you learn the language close to theory. Some
> commandline
> stuffs and some numbers stuffs surely is not exiting. Mastery comes with
> projects, exciting ones.
> Then whatever the syllabus requires becomes easy. It's a means to an end
> rather than the end
> in itself.
>
> The teachers' reaction is a reaction to the design of the syllabus. The
> folks seem to think that let's
> water it down to a very theoretical approach, strike out practise, strike
> out the fun out of it and
> sure the students will find it easier. Since effort is disliked by humans,
> less effort in learning programming
> will make students happy.
>
> Then, if it was no Python at that time, it might be no Python for life.
> With that mindset ongoing,
> those students think they know Python, they studied it, but they missed the
> whole thing. Forest,
> trees and leaves. They know only the color of the sign board leading to the
> place.
>
> Kind Regards,
>
> Abdur-Rahmaan Janhangeer
> about  | blog
> 
> github 
> Mauritius
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: New Python implementation

2021-02-15 Thread Igor Korot
Hi, guys,
Let me try to throw in another one - PL/1.
This guys used to be very popular with the accounting community...

Thank you.

On Mon, Feb 15, 2021 at 9:51 PM Alan Gauld via Python-list
 wrote:
>
> On 15/02/2021 22:24, Roel Schroeven wrote:
> > Grant Edwards schreef op 15/02/2021 om 21:59:
> >> On 2021-02-15, Roel Schroeven  wrote:
> >>
> >>> Is it your intention to not only compile procedural and object-oriented
> >>> languages, or also functional languages such as Haskell, Ocaml, Scheme?
> >>
> >> And Prolog!
> >
> > Ha, yes, that one was the next one I thought about, but in the I decided
> > to leave it out.
>
> Yes, Prolog is definitely different. When I was at Uni' in the mid 80s
> we all got taught Prolog because the Japanese had promised to produce
> a 5th generation computer by 1990 and it would be based on Prolog.
> We're still waiting, but in the meantime we got the internet and GUIs.
>
> Looks like Sun got it right - "the network is the computer"...
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: New Python implementation

2021-02-15 Thread Igor Korot
And C.

Thank you.


On Mon, Feb 15, 2021, 3:56 PM Grant Edwards 
wrote:

> On 2021-02-15, Roel Schroeven  wrote:
>
> > Is it your intention to not only compile procedural and object-oriented
> > languages, or also functional languages such as Haskell, Ocaml, Scheme?
>
> And Prolog!
>
> --
> Grant
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: New Python implementation

2021-02-14 Thread Igor Korot
Of course not.
Its like saying "JAVA sucks" without any citation or proof.

And I'm just curious  -  why not use C directly, since he is so great
developer for whatever task he needs to do?

Fun time reading... Hope it will continue.

Thank you.


On Sun, Feb 14, 2021, 1:22 AM Christian Gollwitzer  wrote:

> Am 14.02.21 um 01:19 schrieb Chris Angelico:
> > On Sun, Feb 14, 2021 at 11:14 AM Mr Flibble
> >  wrote:
> >>
> >> On 13/02/2021 23:30, Igor Korot wrote:
> >>> Hi,
> >>> But most importantly - what is the reason for this ?
> >>> I mean - what problems the actual python compiler produce?
> >>>
> >>> Thank you.
> >>
> >> I am creating neos as I need a performant scripting engine for my other
> major project "neoGFX" and I want to be able to support multiple popular
> scripting languages including Python.
> >>
> >
> > Until you have actually produced a (mostly) compatible Python
> > implementation, can you please stop making these repeated and baseless
> > jabs at CPython's performance? You keep stating or hinting that
> > CPython is somehow unnecessarily slow, but unless you have some code
> > to back your claims, this is nothing but mudslinging.
>
> This is a message to all commentators on this list: Mr Flibble is known
> on comp.lang.c++ for making very confident claims and announcements of
> the greatest software product since the invention of the wheel.
>
> He is indeed a capable C++ programmer, but he frequently underestimates
> the work needed for such big projects so that you can easily count them
> as vaporware for now. For example, he created his own "cross-platform,
> modern" GUI toolkit neoGFX[*] just because he thinks that QT is bad (it
> uses non-standard C++). Of course, cross-platform for now means it runs
> on Windows and anything else is far into the future, also the optical
> design looks modern / OK right now, but will look outdated soon. There
> is no evidence that any other designer will join the project to keep the
> look up to date.
>
> He wants that neoGFX is scriptable in Python, but instead of linking
> with CPython, he will write his own Python implementation instead,
> because CPython is slow/not clean/ whatever. He doesn't seem to
> understand that this is an enormous task on its own, because the
> interesting part of a scripting language is the standard library with
> many decade-years of work.
>
> So my advice is to waste your time in this discussion if you find it
> entertaining, but don't expect to have a usable product soon.
>
> Best regards,
>
>Christian
>
> [*] https://github.com/i42output/neoGFX
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Fwd: Sketch

2021-02-14 Thread Igor Korot
-- Forwarded message -
From: Igor Korot 
Date: Sat, Feb 13, 2021, 9:20 PM
Subject: Re: Sketch
To: Mr Flibble 
Cc: 


Hi,



On Sat, Feb 13, 2021, 9:12 PM Mr Flibble 
wrote:

> On 14/02/2021 05:04, Mark Lawrence wrote:
> > On Sunday, February 14, 2021 at 5:01:46 AM UTC, Mr Flibble wrote:
> >> CPython *is* the dead parrot.
> >>
> >> It's time for Python to evolve out of the primordial soup.
> >>
> >> /Flibble
>

Is there a proof?
Because I could say that JAVA sucks, but without proof it will be just
words...

Thank you.

>>
> >> --
> >> 😎
> >
> > Says the bloke(?) who doesn't use mailing lists but does get here
> https://mail.python.org/pipermail/python-list/2021-February/900797.html
>
> I am using Usenet, dear. Apparently posts to comp.lang.python are copied
> to the mailing list which you worship like a god.
>
> /Flibble
>
> --
> 😎
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Sketch

2021-02-13 Thread Igor Korot
Hi,



On Sat, Feb 13, 2021, 9:12 PM Mr Flibble 
wrote:

> On 14/02/2021 05:04, Mark Lawrence wrote:
> > On Sunday, February 14, 2021 at 5:01:46 AM UTC, Mr Flibble wrote:
> >> CPython *is* the dead parrot.
> >>
> >> It's time for Python to evolve out of the primordial soup.
> >>
> >> /Flibble
>

Is there a proof?
Because I could say that JAVA sucks, but without proof it will be just
words...

Thank you.

>>
> >> --
> >> 😎
> >
> > Says the bloke(?) who doesn't use mailing lists but does get here
> https://mail.python.org/pipermail/python-list/2021-February/900797.html
>
> I am using Usenet, dear. Apparently posts to comp.lang.python are copied
> to the mailing list which you worship like a god.
>
> /Flibble
>
> --
> 😎
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: New Python implementation

2021-02-13 Thread Igor Korot
Hi,
But most importantly - what is the reason for this ?
I mean - what problems the actual python compiler produce?

Thank you.


On Sat, Feb 13, 2021, 3:26 PM Alan Gauld via Python-list <
python-list@python.org> wrote:

> On 13/02/2021 16:09, Mr Flibble wrote:
> > On 13/02/2021 00:01, Alan Gauld wrote:
> >> I'm assuming it's a new executable interpreter that can run any
> >> valid python code. Is that correct?
> >
> > It is a universal *compiler* so it compiles the python code to byte code
> > and then optionally to machine code via a JIT which is then executed.
>
> OK, sorry for being dense, but just to be absolutely clear.
>
> You are going to create a Python compiler that will take existing
> Python code and output a byte code file. (I assume the byte code
> is not standard Python byte code?) And I assume the execution
> environment for the bytecode is part of your neos system?
>
> If that's correct, then how do you propose to deal with
> regular Python byte code? And what would the Python disassembler
> produce - Python assembler instructions or neos?
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-13 Thread Igor Korot
Hi, David,

On Wed, Jan 13, 2021 at 9:24 PM David L Neil via Python-list
 wrote:
>
> On 14/01/2021 15.25, boB Stepp wrote:
> > On Wed, Jan 13, 2021 at 7:28 PM Chris Angelico  wrote:
> >
> >> I love how "I think" is allowed to trump decades of usability research.
>
> I'm just pleased that @Chris has found love!
> (not detracting from the point though)
>
>
> > Can you recommend a good reference for someone relatively new to GUI
> > programming that is based on such research?  Book or web reference
> > would be fine.
>
> Most of my training-materials (certainly in this topic) are web-based -
> but the ideas are also common to Python.
>
>
> Nielsen-Norman Group do a lot of work in UX and offer a regular
> newsletter which is usually a good way to make the brain-cells work for
> their living: https://www.nngroup.com/
>
> eg https://www.nngroup.com/articles/usability-101-introduction-to-usability/
>
>
> A more applied view, courtesy of the New Zealand Government:
> https://www.digital.govt.nz/standards-and-guidance/nz-government-web-standards/web-usability-standard-1-3/
>
>
> Some become confused between the two terms: Accessibility and Usability.
>
> Here's what the boss says:
> https://www.w3.org/WAI/fundamentals/accessibility-usability-inclusion/
>
> This article clearly explains each and then offers a comparison.
> https://www.telerik.com/blogs/web-accessibility-vs-usability
>
>
> If you really want to dig-down, I know for-sure that IBM, Microsoft,
> Apple (and presumably others) have compiled style-guides about how
> various GUIs should work, starting from really basic matters such as
> when to use radio-buttons and when check-boxes. I can't tell you if the
> gtk, qt, or wx people offer something similar...

Certainly not wx - because wx using native set of widgets and therefore
relies on the OS UI guidelines.

Thank you.

> --
> Regards =dn
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-13 Thread Igor Korot
Chris,

On Wed, Jan 13, 2021 at 8:12 PM Chris Angelico  wrote:
>
> On Thu, Jan 14, 2021 at 1:05 PM Igor Korot  wrote:
> >
> > Chris,
> >
> > On Wed, Jan 13, 2021 at 7:45 PM Chris Angelico  wrote:
> > >
> > > On Thu, Jan 14, 2021 at 12:39 PM Igor Korot  wrote:
> > > >
> > > > Chris,
> > > >
> > > > On Wed, Jan 13, 2021 at 7:33 PM Chris Angelico  wrote:
> > > > >
> > > > > On Thu, Jan 14, 2021 at 12:18 PM Python  
> > > > > wrote:
> > > > > > > The results will differ based on whether the user in question has
> > > > > > > basically just one primary application (an IDE, or some gigantic 
> > > > > > > app
> > > > > > > like Adobe PhotoShop) that they spend all their time in
> > > > > >
> > > > > > OK, so you admit that such apps do exist.  But I guess you knew that
> > > > > > the OP is not writing that sort of application, and know who its
> > > > > > intended audience is, and their work habits and preferences...
> > > > > >
> > > > >
> > > > > The difference isn't in what's best, but in what people are willing to
> > > > > accept. Just because people roll over and accept the latest Windows,
> > > > > the latest Mac OS, the latest PhotoShop, the latest Gmail, the latest
> > > > > whatever else, doesn't mean that (a) they actually like it, nor (b)
> > > > > it's actually better. (Which are independent.)
> > > > >
> > > > > When someone spends all their life in a single app, they're more
> > > > > likely to learn its particular way of doing things and assume that
> > > > > that's "correct". But that doesn't make it so.
> > > >
> > > > Correct.
> > > > But when that same person goes to a different company where a
> > > > different application
> > > > is used, he expects it to behave the same. Because the functionality of 
> > > > such
> > > > application is the same.
> > > >
> > > > Wouldn't you?
> > > >
> > > > It is called association.
> > > >
> > > > "I was working with Application A. Now I'm working with application
> > > > AA. And application
> > > > AA behaves very weirdly."
> > > >
> > >
> > > Yes, association is correct.
> > >
> > > "I was working with Application A. Now I'm working with Application B.
> > > And it behaves very weirdly."
> > >
> > > It's entirely possible that App A was the bad one, and unfortunately,
> > > that does happen. But this is exactly why it's better to follow the
> > > standards. Unless you are so egotistical that you think your users
> > > won't need *any* other applications in their lives, follow the
> > > standards.
> >
> > And you still don't say anything about my DB example.
> >
> > Normal DB application has to place credentials dialog center
> > screen or center frame, depending when it shows.
> >
> > Otherwise they will popup all over the place wrecking havoc
> > with the users.
> >
> > And so its better to show it centered, just like in my example
> > above. And as I said - I hope you are inside this 99.99% of users/
> > developers.
> >
>
> And isn't that exactly where the WM would put it by default too? The
> difference is, if the user wishes it to be somewhere else *for all
> applications*, s/he can reconfigure the WM, but it's an absolute pain
> if all these kinds of apps have to be independently reconfigured. The
> obvious defaults are obvious to the creators of WMs even more than app
> developers, AND you're not forcing people into your personal
> preferences.

I don't know. Do you?
Are you absolutely sure 100% it will put it there?
Especially by default?

Now here is the more interesting question:
if I create such a dialog (meaning it will not be pulled from external
library) what will happen?
Can you guarantee that my dialog will be placed accordingly
and if I call "dlg.Center()" it won't be ignored?

Thank you.

>
> ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-13 Thread Igor Korot
Chris,

On Wed, Jan 13, 2021 at 7:45 PM Chris Angelico  wrote:
>
> On Thu, Jan 14, 2021 at 12:39 PM Igor Korot  wrote:
> >
> > Chris,
> >
> > On Wed, Jan 13, 2021 at 7:33 PM Chris Angelico  wrote:
> > >
> > > On Thu, Jan 14, 2021 at 12:18 PM Python  wrote:
> > > > > The results will differ based on whether the user in question has
> > > > > basically just one primary application (an IDE, or some gigantic app
> > > > > like Adobe PhotoShop) that they spend all their time in
> > > >
> > > > OK, so you admit that such apps do exist.  But I guess you knew that
> > > > the OP is not writing that sort of application, and know who its
> > > > intended audience is, and their work habits and preferences...
> > > >
> > >
> > > The difference isn't in what's best, but in what people are willing to
> > > accept. Just because people roll over and accept the latest Windows,
> > > the latest Mac OS, the latest PhotoShop, the latest Gmail, the latest
> > > whatever else, doesn't mean that (a) they actually like it, nor (b)
> > > it's actually better. (Which are independent.)
> > >
> > > When someone spends all their life in a single app, they're more
> > > likely to learn its particular way of doing things and assume that
> > > that's "correct". But that doesn't make it so.
> >
> > Correct.
> > But when that same person goes to a different company where a
> > different application
> > is used, he expects it to behave the same. Because the functionality of such
> > application is the same.
> >
> > Wouldn't you?
> >
> > It is called association.
> >
> > "I was working with Application A. Now I'm working with application
> > AA. And application
> > AA behaves very weirdly."
> >
>
> Yes, association is correct.
>
> "I was working with Application A. Now I'm working with Application B.
> And it behaves very weirdly."
>
> It's entirely possible that App A was the bad one, and unfortunately,
> that does happen. But this is exactly why it's better to follow the
> standards. Unless you are so egotistical that you think your users
> won't need *any* other applications in their lives, follow the
> standards.

And you still don't say anything about my DB example.

Normal DB application has to place credentials dialog center
screen or center frame, depending when it shows.

Otherwise they will popup all over the place wrecking havoc
with the users.

And so its better to show it centered, just like in my example
above. And as I said - I hope you are inside this 99.99% of users/
developers.

Thank you.

>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-13 Thread Igor Korot
Chris,

On Wed, Jan 13, 2021 at 7:33 PM Chris Angelico  wrote:
>
> On Thu, Jan 14, 2021 at 12:18 PM Python  wrote:
> > > The results will differ based on whether the user in question has
> > > basically just one primary application (an IDE, or some gigantic app
> > > like Adobe PhotoShop) that they spend all their time in
> >
> > OK, so you admit that such apps do exist.  But I guess you knew that
> > the OP is not writing that sort of application, and know who its
> > intended audience is, and their work habits and preferences...
> >
>
> The difference isn't in what's best, but in what people are willing to
> accept. Just because people roll over and accept the latest Windows,
> the latest Mac OS, the latest PhotoShop, the latest Gmail, the latest
> whatever else, doesn't mean that (a) they actually like it, nor (b)
> it's actually better. (Which are independent.)
>
> When someone spends all their life in a single app, they're more
> likely to learn its particular way of doing things and assume that
> that's "correct". But that doesn't make it so.

Correct.
But when that same person goes to a different company where a
different application
is used, he expects it to behave the same. Because the functionality of such
application is the same.

Wouldn't you?

It is called association.

"I was working with Application A. Now I'm working with application
AA. And application
AA behaves very weirdly."

Thank you.

>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-13 Thread Igor Korot
Hi,

On Wed, Jan 13, 2021 at 7:20 PM Python  wrote:
>
> On Thu, Jan 14, 2021 at 11:58:34AM +1100, Chris Angelico wrote:
> > On Thu, Jan 14, 2021 at 11:53 AM Python  wrote:
> > Have you actually done any research by (a) asking people what they
> > actually prefer, and better still (b) silently watching over someone's
> > shoulder and seeing which one makes people more productive?
>
> As I said, though it's been a long while, I was actually a user of
> such applications myself.  So I can tell you quite authoritatively
> that in those kinds of apps, *I* absolutely prefer that the app
> remember where my windows are and what's in them, no contest.  And I
> would always use them alongside a slew of other apps--web browsers,
> text editors, mail clients, etc... most likely on a separate desktop,
> if I wasn't mobile, but necessarily on the same one if I was.
>
> > The results will differ based on whether the user in question has
> > basically just one primary application (an IDE, or some gigantic app
> > like Adobe PhotoShop) that they spend all their time in
>
> OK, so you admit that such apps do exist.  But I guess you knew that
> the OP is not writing that sort of application, and know who its
> intended audience is, and their work habits and preferences...

Unfortunately, this is how Wayland behaves right now.

When I tried to complain they said that saving/restoring perspective
is in the works.

But I sure hope that when people will switch to Wayland that DB
credentials dialog I was talking about
in the previous reply will still be positioned on the center of the screen.
Or even better - on the center of the main frame and not somewhere else.

Thank you.

>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-13 Thread Igor Korot
Hi,

On Wed, Jan 13, 2021 at 7:12 PM Python  wrote:
>
> On Tue, Jan 12, 2021 at 06:43:39PM -, Grant Edwards wrote:
> > And those X11 users will swear at you if you override their window
> > managers configured window placement. Application code should not care
> > about or try to control window geometry. Period.
>
> I think this is just plain wrong.  If you, the user, want to override
> what you, the user, configured your window manager to do, for WHATEVER
> reason your little heart may desire, then the application needs to
> give you an interface to request it, and rather importantly the WM must
> necessarily honor it.
>
> The policy reallly ought to be:
>
>  - If the user took the time to specify a geometry, do what it says
>(i.e. honor the placement the application asks for)
>  - If not but the window manager has something configured for that
> application/widget/whatever, do what it says
>  - Otherwise, resort to the window manager's default policy
>
> Arguably there ought to also be a way for the application to *suggest*
> a default geometry that the WM can override, but obviously providing a
> way to force the geometry gives rise to the opportunity for abuse by
> badly behaved developers.  Don't use those apps.
>
> Fortunately, at least historically, in practice most X11 window
> managers more or less did all that anyway.  I recall that when I
> switched to Gnome I had some trouble with this (as in, it just didn't
> work, generally, even if the relevant app allowed you to specify
> --geometry or similar), but AFAICT Gnome has long held to the notion
> that Gnome Gnows better than you do how you should run your apps, so
> when using Gnome all bets are off.

Well, I am running GNOME 3 on top of X11. I didn't preselect or configure
any windows positioning in there.
My application that I'm developing will be connecting to the database to
pull some data. When I tried to connect to Sybase ASE with their own ODBC driver
the dialog that asks for credentials shows up in the center of the screen.
And this is the position where (and I hope 99.99% of people) expect it
to show up.
Hopefully this number (99.99%) does include Mr. Angelico,.

But my application is maximized right now, so maybe it is centered on
the main frame.

Anyway that dialog (TLW) is centered.

Thank you.


>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-12 Thread Igor Korot
Chris,

On Tue, Jan 12, 2021 at 4:38 PM Chris Angelico  wrote:
>
> On Wed, Jan 13, 2021 at 9:30 AM Igor Korot  wrote:
> >
> > Not sure I follow - frame is a TLW. Dialog is a TLW.
> > Program flow is as follows:
> >
> > 1. Program starts with a frame
> > 2. At some point the user asks to connect to the database.
> > 3. Credentials dialog is shown.
> >
> > Now, while frame is TLW and may follow the renderer rules, the dialog
> > that vask the user for credentials should not.
> >
> > Now, system dialog should probably follow the rules of the WM, but if I 
> > want my
> > dialog to appear centered on the parent (not on the screen) - what
> > right the WM have
> > to override it?
> >
> > I also think that ALL dialogs are TLWs independently of whether they
> > are created with
> > the actual parent (frame) or a null-parent (desktop).
> > In regards that they are not buttons/list controls/toolbars/etc.
>
> In one sense you're right, but in another, the creation of a window
> with a parent is very different from the creation of a window without
> a parent. The WM will handle them differently because the user will
> expect them to behave differently. In fact, centering on the parent is
> a very likely position, so don't worry about it - just declare your
> parent correctly.

For the dialog (as well as any other TLW), it should be no difference.
Because if I pass a "parent" as NULL, it means I have a parent as a
"Desktop" window.

That's why frames and dialogs are called TLWs - they don't have to
have an "explicit" parent.

>
> > Are you talking about geometry or a position?
> > For me geometry is a complex thing - position, size of the window and
> > the client size
> > of the window (which is important especially in *nix).
>
> The size of the window is generally governed by its contents, so
> that's under the application's control (within limits set by the WM).
> The position, though, is up to the WM.

And what about client size?
Because if we are talking about *nix (which I think we are) you should
count decorations.

>
> > > > > (That's actually a 100% realistic scenario, given that I'm usually on
> > > > > my desktop system, but occasionally I'll be on my laptop, SSH'd in
> > > > > with X11 forwarding.)
> > > >
> > > > Absolutely.
> > > > I found myself in this situation recently - when I'm in the office I
> > > > have 2 external
> > > > monitors, and when I am at home - I only have a laptop.
> > > > And windows are showing on the primary all the time.
> > > >
> > >
> > > Right! That's the WM's job. Let it do its job, and everyone's lives
> > > will be easier.
> >
> > Well, please re-read my initial statement.
> > You can't decide where to put that credential dialog. It has to appear
> > in the middle
> > of the screen (if there is 1 - on it, if multiple - on the screen
> > where the main frame is).
> >
> > DO you see the problem with that?
>
> Yes, I see a problem with the application trying to remember where the
> dialog was last time. A MAJOR problem. Restoring the dialog's geometry
> might have it completely off screen, or at best, in a position that is
> decidedly unideal. But if you let the WM decide where the dialog
> should be placed, it's guaranteed to be where the user expects it (or
> more precisely, it's guaranteed to be consistent with every *other*
> application that also behaves like this, and the user has the power to
> configure this).

In this particular case there is no need to remember - credentials
dialog need to appear
at the center of the monitor 0 and they should be sized accordingly.

Now here are the scenarios I'm looking at:

1. Program starts - credentials dialog is shown. The parent of this
dialog is "Desktop" window.
It is better to be displayed in the center of the "Monitor 0".
2. Program start - frame is shown. I agree that it is best to let the
WM decide its position.
At some point of time I need to connect to the DB and so credential
dialog is shown.
In this scenario this dialog should also be shown "Monitor 0" centered.
3. Start with scenario 2. Resize the frame and exit the application.
Attach the new monitor.
Start the application again. Frame will probably appear on "Monitor 0"
(depending on the WM rules).
Start the DB connection. The credentials dialog should appear centered
on the screen where the frame is.

As you can see none of those scenarios include system dialogs
(open/save, font selection, etc).
They has to follow system/WM rules and appear as appropriate. Because
they are system based
and user code shouldn't say anything about their positioning.

But for my dialogs (especially for dialogs where I need to ask for
credentials) - I don't think I want
WM to do my job.

Again - we are talking positioning here and not size/client size.

Thank you.

>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-12 Thread Igor Korot
Hi, Chris,

On Tue, Jan 12, 2021 at 4:05 PM Chris Angelico  wrote:
>
> On Wed, Jan 13, 2021 at 7:00 AM Igor Korot  wrote:
> >
> > Hi, Chris,
> >
> > On Tue, Jan 12, 2021 at 1:33 PM Chris Angelico  wrote:
> > >
> > > On Wed, Jan 13, 2021 at 6:18 AM Igor Korot  wrote:
> > > >
> > > > Hi, Grant,
> > > >
> > > > On Tue, Jan 12, 2021 at 12:47 PM Grant Edwards
> > > >  wrote:
> > > > >
> > > > > On 2021-01-12, Rich Shepard  wrote:
> > > > > > On Tue, 12 Jan 2021, Igor Korot wrote:
> > > > > >
> > > > > >> Keep in mind that if you target Linux, the "modern" window server
> > > > > >> (Wayland) will not allow user code to decide the positioning and 
> > > > > >> size of
> > > > > >> the TLW.
> > > > > >
> > > > > > Igor,
> > > > > >
> > > > > > I suspect that Slackware will continue with X11.
> > > > >
> > > > > And those X11 users will swear at you if you override their window
> > > > > managers configured window placement. Application code should not care
> > > > > about or try to control window geometry. Period.
> > > >
> > > > I have a very strong argument against it!!
> > > >
> > > > Imagine you are developing an application that need to communicate
> > > > with the database.
> > > > Also imagine this application will be used by millions of users inside
> > > > different companies.
> > > >
> > > > SInce the application will require DB access you will need a dialog to
> > > > ask for credentials.
> > > >
> > > > I, personally, would be very surprised if such dialog would appear
> > > > somewhere at the bottom of the screen,
> > > > as dialogs ARE TLWs (top level windows).
> > > >
> > > > Wouldn't you?
> > >
> > > Yes, I would too - because I have my window manager configured to
> > > place that dialog where *I* want it, not where the application
> > > developer chose to put it.
> >
> > So, how do *you* distinguish between such dialog and all other dialogs
> > an application might raise (open/save dialogs. font selection dialog, user
> > warning thing).
> >
> > Because with my scenario there are 2 TLWs in the picture - main frame and
> > dialog for credentials.
> >
> > Besides it looks like you are setting this dialog to appear at constant 
> > position
> > anyway. Or am I missing smth?
>
> Hmm, maybe I'm missing something. The initial window isn't a "dialog",
> it's an application window. They follow slightly different rules
> (mainly, they don't have a parent window), but they still follow
> *rules*.

Not sure I follow - frame is a TLW. Dialog is a TLW.
Program flow is as follows:

1. Program starts with a frame
2. At some point the user asks to connect to the database.
3. Credentials dialog is shown.

Now, while frame is TLW and may follow the renderer rules, the dialog
that vask the user for credentials should not.

Now, system dialog should probably follow the rules of the WM, but if I want my
dialog to appear centered on the parent (not on the screen) - what
right the WM have
to override it?

I also think that ALL dialogs are TLWs independently of whether they
are created with
the actual parent (frame) or a null-parent (desktop).
In regards that they are not buttons/list controls/toolbars/etc.

>
> > > > So why I somewhat agree with such a notion - it is not always a useful 
> > > > feature.
> > > > Also, such an algorithm better allow me to save and restore the
> > > > geometry of the TLW.
> > >
> > > Why save and restore the geometry when the window manager can do a
> > > better job of positioning it? Give the WM the hints it needs, then let
> > > it figure out the placement.
> >
> > Because I want this application to appear at the same place every time?
> > The first time it shows I may just drag it away or minimize it at some 
> > point or
> > make it very small to clear the space.
> >
> > And the next time I want it to start at the same position.
>
> And I find that most apps that behave this way end up being more
> annoying than not.

Well its just a matter of opinion than. ;-)

>
> > > Consider that the last time your window was opened, I might have had
> > > one 1366x768 monitor, but now I have four - 1

Re: Application window geometry specifier

2021-01-12 Thread Igor Korot
Hi, Chris,

On Tue, Jan 12, 2021 at 1:33 PM Chris Angelico  wrote:
>
> On Wed, Jan 13, 2021 at 6:18 AM Igor Korot  wrote:
> >
> > Hi, Grant,
> >
> > On Tue, Jan 12, 2021 at 12:47 PM Grant Edwards
> >  wrote:
> > >
> > > On 2021-01-12, Rich Shepard  wrote:
> > > > On Tue, 12 Jan 2021, Igor Korot wrote:
> > > >
> > > >> Keep in mind that if you target Linux, the "modern" window server
> > > >> (Wayland) will not allow user code to decide the positioning and size 
> > > >> of
> > > >> the TLW.
> > > >
> > > > Igor,
> > > >
> > > > I suspect that Slackware will continue with X11.
> > >
> > > And those X11 users will swear at you if you override their window
> > > managers configured window placement. Application code should not care
> > > about or try to control window geometry. Period.
> >
> > I have a very strong argument against it!!
> >
> > Imagine you are developing an application that need to communicate
> > with the database.
> > Also imagine this application will be used by millions of users inside
> > different companies.
> >
> > SInce the application will require DB access you will need a dialog to
> > ask for credentials.
> >
> > I, personally, would be very surprised if such dialog would appear
> > somewhere at the bottom of the screen,
> > as dialogs ARE TLWs (top level windows).
> >
> > Wouldn't you?
>
> Yes, I would too - because I have my window manager configured to
> place that dialog where *I* want it, not where the application
> developer chose to put it.

So, how do *you* distinguish between such dialog and all other dialogs
an application might raise (open/save dialogs. font selection dialog, user
warning thing).

Because with my scenario there are 2 TLWs in the picture - main frame and
dialog for credentials.

Besides it looks like you are setting this dialog to appear at constant position
anyway. Or am I missing smth?

>
> > So why I somewhat agree with such a notion - it is not always a useful 
> > feature.
> > Also, such an algorithm better allow me to save and restore the
> > geometry of the TLW.
>
> Why save and restore the geometry when the window manager can do a
> better job of positioning it? Give the WM the hints it needs, then let
> it figure out the placement.

Because I want this application to appear at the same place every time?
The first time it shows I may just drag it away or minimize it at some point or
make it very small to clear the space.

And the next time I want it to start at the same position.

>
> Consider that the last time your window was opened, I might have had
> one 1366x768 monitor, but now I have four - 1920x1080, 1920x1080,
> 1280x1024, and 1600x900. Where should your dialog go? Not your
> problem, because my WM knows and understands.

There is a notion of the "primary display" which is here for a reason. ;-)
So you can attach/detach as many monitors as you want - in the end if
the monitor is not available and that window will appear on the primary monitor.

>
> (That's actually a 100% realistic scenario, given that I'm usually on
> my desktop system, but occasionally I'll be on my laptop, SSH'd in
> with X11 forwarding.)

Absolutely.
I found myself in this situation recently - when I'm in the office I
have 2 external
monitors, and when I am at home - I only have a laptop.
And windows are showing on the primary all the time.

Thank you.

>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-12 Thread Igor Korot
Hi, Rich,

On Tue, Jan 12, 2021 at 12:52 PM Rich Shepard  wrote:
>
> On Tue, 12 Jan 2021, Igor Korot wrote:
>
> > Maybe. :-)
> > But it looks Wayland becomes more and more popular.
>
> Igor,
>
> What I've read from those struggling to use Wayland, it may turn out to be a
> popular as systemd. :-)
>
> It's important to remember that while all progress involves change, not all
> change involves progress.

200% agree.

See my reply to Grant.

Thank you.

>
> Regards,
>
> Rich
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-12 Thread Igor Korot
Hi, Grant,

On Tue, Jan 12, 2021 at 12:47 PM Grant Edwards
 wrote:
>
> On 2021-01-12, Rich Shepard  wrote:
> > On Tue, 12 Jan 2021, Igor Korot wrote:
> >
> >> Keep in mind that if you target Linux, the "modern" window server
> >> (Wayland) will not allow user code to decide the positioning and size of
> >> the TLW.
> >
> > Igor,
> >
> > I suspect that Slackware will continue with X11.
>
> And those X11 users will swear at you if you override their window
> managers configured window placement. Application code should not care
> about or try to control window geometry. Period.

I have a very strong argument against it!!

Imagine you are developing an application that need to communicate
with the database.
Also imagine this application will be used by millions of users inside
different companies.

SInce the application will require DB access you will need a dialog to
ask for credentials.

I, personally, would be very surprised if such dialog would appear
somewhere at the bottom of the screen,
as dialogs ARE TLWs (top level windows).

Wouldn't you?

So why I somewhat agree with such a notion - it is not always a useful feature.
Also, such an algorithm better allow me to save and restore the
geometry of the TLW.

Thank you.

>
> --
> Grant
>
>
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-12 Thread Igor Korot
Hi,

On Tue, Jan 12, 2021, 11:44 AM Rich Shepard 
wrote:

> On Tue, 12 Jan 2021, Igor Korot wrote:
>
> > Keep in mind that if you target Linux, the "modern" window server
> > (Wayland) will not allow user code to decide the positioning and size of
> > the TLW.
>
> Igor,
>
> I suspect that Slackware will continue with X11.
>

Maybe. :-)

But it looks Wayland becomes more and more popular.

Thank you.


> Rich
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Application window geometry specifier

2021-01-12 Thread Igor Korot
Hi,

On Tue, Jan 12, 2021 at 10:47 AM Chris Angelico  wrote:
>
> On Wed, Jan 13, 2021 at 3:38 AM Rich Shepard  wrote:
> >
> > I want my application's window (main frame) to open centered on the
> > monitor's screen.

Keep in mind that if you target Linux, the "modern" window server (Wayland)
will not allow user code to decide the positioning and size of the TLW.

Instead some renderer will make the decision for you and place it appropriately.

So you may re-think that design. ;-)

Thank you.


>> This code:
> > # open application centered on screen; set window width and height
> >  self.appwidth = 600
> >  self.appheight = 500
> >  # get screen width and height
> >  self.scrwidth = self.winfo_screenwidth()
> >  self.scrheight = self.winfo_screenheight()
> >  # formula to find screen center
> >  self.xLeft = (self.scrwidth/2) - (self.appwidth/2)
> >  self.yTop = (self.scrheight/2) - (self.appheight/2)
> >  # set geometry
> >  self.geometry(str(self.appwidth) + "x" + str(self.appheight) +
> >"+" + str(self.xLeft) + "+" + str(self.yTop))
> >
> > generates this error when run:
> >   File "/usr/lib64/python3.9/tkinter/__init__.py", line 2036, in wm_geometry
> >  return self.tk.call('wm', 'geometry', self._w, newGeometry)
> > _tkinter.TclError: bad geometry specifier "600x500+340.0+262.0"
> >
> > As the geometry string represents window width times window height plus 
> > x-offset
> > plus y-offset I'm not seeing my error.
> >
>
> Do the offsets need to be integers?
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: help

2020-12-30 Thread Igor Korot
Hi,

On Wed, Dec 30, 2020 at 4:40 PM BearGod777  wrote:
>
> every time i try and open a .py file

How are you trying to open the py file?
Also - I presume you are using Windows 10 + latest version of python, right?

Thank you.

> ReplyForward
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: IDLE error

2020-12-01 Thread Igor Korot
Hi, Alvaro,

On Tue, Dec 1, 2020 at 9:11 PM Álvaro d'Ors
 wrote:
>
> The IDLE seems to be malfunctioning, I just re-installed Python and used
> the reapir function but I can’t open the IDLE, please help.

What OS do you use?
Are you trying to run it by double-clicking on the icon?
What happens? Does it give you any error?

Thank you.

>
>
>
> --
> Nestares D. Álvaro
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error issue - Kindly resolve

2020-11-22 Thread Igor Korot
Hi, Sheetal,

On Sun, Nov 22, 2020 at 2:44 PM sheetal chavan via Python-list
 wrote:
>
> Dear Sir/Madam,I am trying to install python on my laptop with windows 7, 32 
> bit operating system with service pac 1 installed. I have installed python 
> 3.7.1 and some more versions but while opening the command prompt always it 
> is showing the message as :The above program can’t start because 
> api-ms-win-crt-runtime-|1-1-0.dll is missing from  your computer. Try 
> reinstalling the program to fix this problem.Kindly resolve this issue and 
> suggest the solution.Thanks and regardsSheetal M Chavan

Unfortunately we can't resolve it for you as we don't have access to
your machine.

But in reality - you are missing the Windows Runtime DLL. Google that name given
to you in the error, download it and instal it (preferably from the MS site).

Then you should be good to go.

Thank you.

>
>  
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: IDEL from Windows It does not work

2020-11-04 Thread Igor Korot
Hi,

On Wed, Nov 4, 2020 at 2:47 PM David Ruíz Domínguez
 wrote:
>
>IDEL from Windows It does not work, started the program and won’t open it.
>I already uninstalled and reinstalled it and it still does not open

Do you mean IDLE?
If yes - please define "does not work". Are you trying to start it
from the Desktop? Start Menu?
Does it give you any error? Which one?
Are you trying to execute some script with it?

Please five us more info...

I also presume you are working under Windows 10.

Thank you.

>
>thanks for your service
>
>
>
>Enviado desde [1]Correo para Windows 10
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Solaris 11 GUI framework

2020-11-02 Thread Igor Korot
Hi,

On Mon, Nov 2, 2020, 5:02 PM Jay Braun  wrote:

> Thank you.  I should have mentioned that I am looking for a Python GUI
> framework.  I neglected to mention that since this is a Python group.
> Sorry.
>

Well, first 2 are python and base on gtk.

Thank you.

-- 
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Solaris 11 GUI framework

2020-11-02 Thread Igor Korot
Hi,



On Mon, Nov 2, 2020, 3:57 PM Jay Braun  wrote:

> Looking for a GUI framework supported on Solaris 11.
>

Wxpython, pygtk, Java.

Take you poison.

Thank you.

-- 
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi,

On Sat, Oct 31, 2020, 12:01 PM <2qdxy4rzwzuui...@potatochowder.com> wrote:

> On 2020-10-31 at 14:37:52 +0100,
> "Peter J. Holzer"  wrote:
>
> > On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote:
>
> > > The intial/default window should be big enough to contain the
> > > initial/default content, regardless of the configuration of the
> > > screen(s)/monitor(s).
> >
> > As I already wrote in an answer to Igor, this is only possible if the
> > initial/default content is of fixed size ...
>
> Bear with me, but I think that that's part of the problem.  Suppose my
> application edits documents.  The initial content is two buttons, New
> and Open (I depend on the underlying OS and/or window manager for
> quitting).  Is the window a fixed size?  No, it's big enough to hold two
> buttons, sized and scaled based on user supplied defaults, possibly at a
> lower level, like X11 or Qt.  Placement of the window is up to the
> window manager, which is also ultimately configured by the user.
>

It is also based on the theme used and the screen DPI


> > ... (or at least guaranteed to be smaller than the screen size).
>
> Then how will I *ever* display that 8x10 glossy (with my apologies for
> the idiom; 8x10 inches is a "standard" size for a physical desk photo)
> of yours truly on my phone?
>

😀


> > Very often this is not the case: An image viewer will be used to display
> > images which are larger than the screen. A MUA may have to display
> > hundreds of mailboxes, and maybe tens of thousands of mails in a single
> > mailbox.
>
> I never claimed it was easy.  Yes, the author of an MUA has to make a
> guess and a bunch of decisions about a useful default setup (such a set
> of defaults already appears elsewhere in this thread).  But I'm sticking
> to my story:  that setup should be based on *application domain*
> objects, like messages and mailboxes, and not size(s) of the screen(s)
> (in pixels or inches).
>
> Also, yes, image viewers are different from MUAs.  The latter has to be
> much more aware of certain aspects of the display devices(s), but should
> still base window sizes on *content* rather than choosing to be "full
> screens (plural), because I'm the most important application ever."
>

Agreed.
However, the application may start full screen on the first run and let the
user position and size it saving it for restarting.
Or the app can let the WM position it and again let the user place it
saving the position/size for restart.


> > In these cases an application can't use the "natural size": It would be
> > bigger than the screen, and depending on the window manager, the user
> > might not even be able to resize it because the handles are off-screen.
>
> I remember window managers that let applications open windows that I
> can't move.  Aside from a few tricks to "hide" windows, that's a bug.
>
> > It could use some size which is small enough to fit on any screen (how
> > large is that? Can you assume 1366x768 these days?). But for most users
> > this would be annoying, since they would have to resize the window.
>
> It should request the size it wants, and be prepared to handle not
> getting it.  Usually, that means scroll bars.
>
> > (And note that "the user has to do than only once, the second time the
> > application can use the saved layout" doesn't hold either: The user may
> > have invoked the application on a large desktop monitor the first time,
> > but at some point they use the small laptop monitor or a projector.)
>
> Aha!  On this we agree!  :-)
>
> > I am very much a fan of letting layout and window managers do as much
> > as possible. But I don't think they can do everything. They simply
> > don't have the necessary information.
>
> I don't think we're disagreeing too much here, either.  IMO, the user
> should be in control, whether by config file or command line or
> whatever, and not the application inflicting its own ideas on me about
> how to use my screen real estate.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi,

On Sat, Oct 31, 2020, 11:40 AM Grant Edwards 
wrote:

> On 2020-10-31, Peter J. Holzer  wrote:
>
> > Very often this is not the case: An image viewer will be used to
> > display images which are larger than the screen.
>
> Tell the image widget what image you want to display, and then forget
> about it. Let the toolkit and window manager do their jobs.
>

You also should pick an appropriate control for displaying it.
I don't think you can use static window - you should be using something
with the scrollbar, which will size accordingly and display scrollers on
demand.


> > A MUA may have to display hundreds of mailboxes, and maybe tens of
> > thousands of mails in a single mailbox.
>
> No. It doesn't. It has to display a tree widget that shows N items and
> holds tens of thousands of items, or a scrolling list widget than
> shows M items and holds tens of thousands of items.  Pick reasonable
> initial default values for N,M and then let the window manager and
> user do the right thing.
>

Exactly.


> > I am very much a fan of letting layout and window managers do as
> > much as possible. But I don't think they can do everything. They
> > simply don't have the necessary information.
>
> They do in a well-written application.
>

As I said earlier - that's why devs get their money.


> --
> Gran
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi,

On Sat, Oct 31, 2020, 8:40 AM Peter J. Holzer  wrote:

> On 2020-10-31 07:51:38 -0500, 2qdxy4rzwzuui...@potatochowder.com wrote:
> > On 2020-10-31 at 13:02:03 +0100,
> > "Peter J. Holzer"  wrote:
> > > On 2020-10-31 12:30:43 +1100, Chris Angelico wrote:
> > > > There is no valid way for an application to read my mind and size
> > > > itself. Attempting to query my screen size seems to just make things
> > > > worse in a lot of situations.
> >
> > > You still haven't answered the question: Where should the initial
> > > window size come from? Does your window manager tell the application
> > > how large a window should be? And if it does, can you as a user
> > > configure that? I don't think mine (xfce) does that. (I guess tiling
> > > WMs generally do that, but I've never used one.)
> >
> > The intial/default window should be big enough to contain the
> > initial/default content, regardless of the configuration of the
> > screen(s)/monitor(s).
>
> As I already wrote in an answer to Igor, this is only possible if the
> initial/default content is of fixed size (or at least guaranteed to be
> smaller than the screen size).
>

Any control at any given moment has a fixed size.
If I can't set the initial size of the control in the appropriate layout
system, then this is not a layout system.
After the initial size is set it is up to the application to properly give
the aspect ratio, font sizes, etc when the application is moved between the
windows, resized, or DPI has changed, etc.


> Very often this is not the case: An image viewer will be used to display
> images which are larger than the screen. A MUA may have to display
> hundreds of mailboxes, and maybe tens of thousands of mails in a single
> mailbox.
>
> In these cases an application can't use the "natural size": It would be
> bigger than the screen, and depending on the window manager, the user
> might not even be able to resize it because the handles are off-screen.
>

What is natural size? Please define this term.


> It could use some size which is small enough to fit on any screen (how
> large is that? Can you assume 1366x768 these days?). But for most users
> this would be annoying, since they would have to resize the window.
>
> (And note that "the user has to do than only once, the second time the
> application can use the saved layout" doesn't hold either: The user may
> have invoked the application on a large desktop monitor the first time,
> but at some point they use the small laptop monitor or a projector.)
>

This is exactly my point.
If the underlying toolkit is smart enough and the layout system is good
then it won't matter.


> I am very much a fan of letting layout and window managers do as much as
> possible. But I don't think they can do everything. They simply don't
> have the necessary information.
>

Of course not.
Thats why software devs are paid big money to do proper designs. 😀

Thank you.


> hp
>
> --
>_  | Peter J. Holzer| Story must make more sense than reality.
> |_|_) ||
> | |   | h...@hjp.at |-- Charles Stross, "Creative writing
> __/   | http://www.hjp.at/ |   challenge!"
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi,

On Sat, Oct 31, 2020, 11:33 AM Grant Edwards 
wrote:

> On 2020-10-31, songbird  wrote:
> > Chris Angelico wrote:
> > ...
> >> I add my voice to those who detest applications that think they know
> >> best and decide that they own the entire screen. It is incredibly
> >> annoying.
> >
> > do you object to a window being put in the approximate
> > center of the screen?
>
> YES. I've configured my window manager so windows start up where I
> want them to start up. It's none of the application's business where
> it's window is.
>
> When developing an application, try to remember IT'S NOT YOUR
> COMPUTER.
>

And its not you that will use an application. So whatever works for you may
not work for user.

Thank you.


>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-31 Thread Igor Korot
Hi,

On Sat, Oct 31, 2020, 8:00 AM Chris Angelico  wrote:

> On Sat, Oct 31, 2020 at 11:53 PM <2qdxy4rzwzuui...@potatochowder.com>
> wrote:
> >
> > On 2020-10-31 at 13:02:03 +0100,
> > "Peter J. Holzer"  wrote:
> >
> > > On 2020-10-31 12:30:43 +1100, Chris Angelico wrote:
> >
> > > > There is no valid way for an application to read my mind and size
> > > > itself. Attempting to query my screen size seems to just make things
> > > > worse in a lot of situations.
> >
> > > You still haven't answered the question: Where should the initial
> > > window size come from? Does your window manager tell the application
> > > how large a window should be? And if it does, can you as a user
> > > configure that? I don't think mine (xfce) does that. (I guess tiling
> > > WMs generally do that, but I've never used one.)
> >
> > The intial/default window should be big enough to contain the
> > initial/default content, regardless of the configuration of the
> > screen(s)/monitor(s).  "The GUI," whether it's something near the
> > bottom, like X11, or something more complicated, like GTK or Qt, should
> > have the information and/or the API to make the widgets usable and the
> > text readable, possibly based on user configuration (e.g., I like 6
> > point type on my 288dpi laptop display; other people might like 12 point
> > type on their 72dpi big screen monitor).
>
> This. The window manager gets information from the internal layout
> manager, but the application itself shouldn't care. I should be able
> to build a window by saying "it should have a notebook, and that
> notebook should have a label saying Name and an input big enough for
> 20 characters, and below that a label saying Class and a drop-down
> with options Wizard, Cleric, Fighter, etc, etc, etc, etc". At no point
> should pixel sizes or screen sizes be within the scope of my
> application.
>

Amen to that, Chris.

Thank you.


> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-31 Thread Igor Korot
Hi, Barry,

On Sat, Oct 31, 2020, 3:39 AM Barry Scott  wrote:

>
>
> > On 29 Oct 2020, at 15:54, flaskee via Python-list <
> python-list@python.org> wrote:
> >
> > Hello!
> >
> > I've been reading the GUI toolkit posts.
> >
> > If anyone can give me a push in the right python direction on
> > my needs, I'd be grateful.
> >
> > This is for business applications, not games.
> > (but if a game toolkit fits...)
> >
>
> I choose to use PyQt5 for my apps that run on Linux, macOS and Windows.
>
> You can see my apps code if you wish to see working examples:
>
> https://barrys-emacs.org 
> https://scm-workbench.barrys-emacs.org/ <
> https://scm-workbench.barrys-emacs.org/>
>
> In the past I had used wxPython but it had too many problems and it was
> cheaper for
> me to port in PyQt5 then have to carry a lot of platform specific
> workarounds.
>
> PyQt5 can target iOS and android.
>
> With PyQt5 I can develop on Linux and have high confidence that the code
> will run the
> same way on macOS and Windows.
>

Qt does not use native controls on 3 major platforms and so is out of the
question...

Thank you.


> Barry
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi,

On Fri, Oct 30, 2020 at 10:44 PM Random832  wrote:
>
> On Fri, Oct 30, 2020, at 20:18, Igor Korot wrote:
> > Hi,
> >
> > On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer  wrote:
> > > So, assuming the user is invoking the application for the first time,
> > > how should an application determine how much of the screen it should
> > > use? It has to make some choice, and any hard-coded value is almost
> > > certainly wrong. So why should an application not use the screen size as
> > > one factor?
> >
> > It is not up to application.
> > It is up to the underlying layout system to decide.
>
> What is a "layout system"? I don't think such a thing exists, in general, for 
> positioning top-level windows on major platforms. Each application has to 
> write its own, and it is reasonable for the layout system itself [which, as 
> I've pointed out, is part of the application - there is no such thing as a 
> system service] to need access to this information.

This one is for "JAVAsucks" -
https://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html
This one is for wxWidgets - https://docs.wxwidgets.org/3.0/overview_sizer.html
This one is for Qt - https://doc.qt.io/qt-5/layout.html
This one is for GTK -
https://developer.gnome.org/gtk3/stable/LayoutContainers.html

Are you still going to argue "it does not exist"?

Every cross-platform has a layout system otherwise it will a burden to write
cross-platform apps.

Thank you

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi,

On Fri, Oct 30, 2020 at 7:52 PM songbird  wrote:
>
> Chris Angelico wrote:
> ...
> > I add my voice to those who detest applications that think they know
> > best and decide that they own the entire screen. It is incredibly
> > annoying.
>
>   do you object to a window being put in the approximate
> center of the screen?

As a matter of fact I do.
On Windows there is something called CW_USEDEFAULT.
I'm sure that other OS/toolkits have something similar.

And if not - there is always "Maximize()" and/or Center() and if this
is not desirable
then let the layout system decide.

Thank you.

>
>
>   songbird
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi,

On Fri, Oct 30, 2020 at 6:59 PM Peter J. Holzer  wrote:
>
> On 2020-10-31 10:02:12 +1100, Chris Angelico wrote:
> > On Sat, Oct 31, 2020 at 9:55 AM flaskee via Python-list
> >  wrote:
> > > I have done all of this resizing and layout stuff before.
> > >
> > > I just ignored the grouchy user with the hate over me wanting screensize.
> > > (every list has one of those types, eh? :-)
> > >
> > > Screensize, in part, determines the aspect ratio calcs to dynamically
> > > resize and place the components on the screen.
> > >
> >
> > So what would you do if it turns out that my screen is 5440 x 2104?
> > That's what mine is right now.
>
> That depends on the application.
>
> If for example the application is in image viewer and the image to be
> viewed is 4576x3432 pixels large, that wouldn't fit on the screen.
> Assuming 200 pixels of vertical chrome (title bar, window borders, menu
> bar and/or buttons), the image would have to be resized to (at most)
> 2539x1904 pixels. So the window would be sized to accommodate that.
>
> (If you use a multi-screen setup, the calculation should be based on
> the current screen, of course, not on the combined size of all screens)
>
>
> > I add my voice to those who detest applications that think they know
> > best and decide that they own the entire screen.
>
> So, assuming the user is invoking the application for the first time,
> how should an application determine how much of the screen it should
> use? It has to make some choice, and any hard-coded value is almost
> certainly wrong. So why should an application not use the screen size as
> one factor?

It is not up to application.
It is up to the underlying layout system to decide.

Thank you.

>
> hp
>
> --
>_  | Peter J. Holzer| Story must make more sense than reality.
> |_|_) ||
> | |   | h...@hjp.at |-- Charles Stross, "Creative writing
> __/   | http://www.hjp.at/ |   challenge!"
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi,

On Fri, Oct 30, 2020 at 6:24 PM Chris Angelico  wrote:
>
> On Sat, Oct 31, 2020 at 10:17 AM flaskee via Python-list
>  wrote:
> >
> >
> > I'm closing in on the screen width/height, at least.
> >
> >
> > In odd screen sizes or multi-monitor situations,
> > I make the best guess,
> > but allow the user to alter things,
> > via preferences.
> >
> > No complaints in 10 years.
> > So there's that.
> >
>
> Funny thing about complaints... you don't hear any from people who
> just uninstall your app and move right on with their lives.
>
> Multi-monitor situations are pretty common. Since you don't seem to
> care about them, I no longer care about your app. Whatever it is, I
> don't need it.

Exactly.
And since most of such setups are different DPIs it actually becomes more fun.

Especially since some applications tend to save and restore their positions
(not saying this is the case here, but...).

But windows positioning/layout never should be hardcoded and it should
depend on some kind of layout system. All cross-platform toolkit does it -
JAVA, wxWidgets, GTK, Qt.

And so from what I understand - the OP is just trying to re-invent the wheel.
All I can say is - every tool is different.And whatever was good 20 years ago,
today is completely obsolete.

Good luck to him.
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi,

On Fri, Oct 30, 2020 at 4:20 PM Random832  wrote:
>
> On Fri, Oct 30, 2020, at 12:05, Grant Edwards wrote:
> > Why do you think that's something your application needs to know?
> >
> > I _hate_ applications that think just because they've been started
> > they now own the entire computer and everything reachable from it.
> >
> > All you need to know is how big your application window is. The user's
> > available screen size is none of your business.
>
> The application decides how big the application window is. The user can 
> resize it, but there's no reason for the screen size not to be one of the 
> inputs considered for the initial choice.

Nope.
It is nNOT up to application.
It is either up to the developer (if he calls Maximize() ) on the main
frame, or the OS if the main frame is using defaults.

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi,

On Fri, Oct 30, 2020 at 12:26 PM Grant Edwards
 wrote:
>
> On 2020-10-30, flaskee via Python-list  wrote:
>
> > What is the best approach to determining the user's available
> > screensize, when they open your python application?
>
> Why do you think that's something your application needs to know?
>
> I _hate_ applications that think just because they've been started
> they now own the entire computer and everything reachable from it.
>
> All you need to know is how big your application window is. The user's
> available screen size is none of your business.

In addition - what if the user decides to change the monitor DPI?
Then the screen size you retrieved will be useless...

Thank you.

>
> --
> Grant
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Best way to determine user's screensize?

2020-10-30 Thread Igor Korot
Hi,



On Fri, Oct 30, 2020, 10:59 AM flaskee via Python-list <
python-list@python.org> wrote:

> Perhaps a more tactical approach would best to figure
> out how to do cross-platform python apps.
>
> What is the best approach to determining the user's available screensize,
> when they open your python application?
>

It depends on the framework you are using...

Thank you.


> Note that the "desktop" application could be running on Android, iOS,
> MacOS, Windows or Linux (I think that I understand how to handle it for
> browser-based things.)
>
> As close to an all Python answer as possible, would be optimal.
>
> Thank you!
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-29 Thread Igor Korot
Hi, Ethan,

On Thu, Oct 29, 2020 at 6:51 PM Ethan Furman  wrote:
>
> On 10/29/20 11:30 AM, Igor Korot wrote:
>
> > If you have any further questions you can contact me directly.
>
> Please do not.  By keeping the discussion on the list many people can 
> participate and learn.

If the OP has further questions about wx{Widgets, Python, Phoenix}
(s)he can send me direct e-mail.
But of course if it's related to python itself I'd forward it to the ML.

Thank you.

>
> --
> ~Ethan~
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-29 Thread Igor Korot
Hi,

On Thu, Oct 29, 2020 at 11:33 AM flaskee via Python-list
 wrote:
>
> Hello!
>
> I've been reading the GUI toolkit posts.
>
> If anyone can give me a push in the right python direction on
> my needs, I'd be grateful.
>
> This is for business applications, not games.
> (but if a game toolkit fits...)
>
> I'm coming from Actionscript,
> where there is a lot of GUI flexibility.
>
> The Python toolkits that I've looked at feel mostly grid-oriented
> or zone-oriented (you can put the button on the left, or middle,
> or right, etc).

I don't think it is easily possible in a cross-platform environment.
But even if your software is one platform only how will you handle
DPI change, theme change and other system changes?

You will have to have some kind of layout system.

>
> I am 100% committed to using Python now;
> so I just want to see what toolkit(s)/pieces/frameworks
> will get me as much of the following as possible.
>
> What I'd like:
>
> * To target MacOS, Windows, Linux, Android using native widgets (this drops 
> out Kivy).

See my previous reply.

>
> * To get the screen-size before loading anything else, and to resize controls 
> & forms to have the same as aspect ratio across screen sizes. In actionscript 
> you can say form.scale *= 1.5; and the form and ALL children resize 
> appropriately with that one line.

You are overthinking it.
What if the window will be positioned on half normal DPI screen and
half on HighDPI one?
Or there was a theme change with the start of your software?

As I said you absolutely have to have some kind of layout system or
end up having 100 copies of
same window prepared for a different layouts.

Just accept that there are different layouts available for you that
will handle every possible situation.

>
> * To resize a control/widget and be able to easily move it later. Needed for 
> the following point.
>
> * To handle portrait vs landscape rotation.
> I'm okay on the logic of resizing and repositioning controls accordingly [if 
> the facility to do so exists].

You mean positioning controls on the screen with portrait vs
landscape? Or during printing?
Please clarify.

>
> * Touch events, like swiping, pinch-to-resize, etc.
>
> BeeWare (Toga) has some of this, but BeeWare seems "under-developed" and
> it is not even listed on any of the Python GUI comparison sites
> that I've seen.
>
> I just don't want to go too far down the wrong path, if you good folks can 
> help.
>
> Right now I am plugging away on Gtk to see where that takes me.

As being said GTK does not use native widgets.

>
> Thank you for your help in advance!

If you have any further questions you can contact me directly.
Thank you.

>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-29 Thread Igor Korot
Hi,

On Thu, Oct 29, 2020 at 1:05 PM Dennis Lee Bieber  wrote:
>
> On Thu, 29 Oct 2020 15:54:33 +, flaskee via Python-list
>  declaimed the following:
>
> >
> >What I'd like:
> >
> >* To target MacOS, Windows, Linux, Android using native widgets (this drops 
> >out Kivy).
> >
> That's going to knock out a lot of stuff. wxWidgets (base for 
> wxPython)
> claims to use true "native widgets" on each supported OS (Android may
> depend upon support for generic X-Window) https://www.wxwidgets.org/about/

This is not a claim - its reality. ;-)
However Android will be a problem - it is not supported by the
library, since its written
in C++, and Android is JAVA-based.
The best way is to learn "JAVAsucks" and write natively for Android.

Thank you.

>
>
> QT and GTK do not use the actual "native widgets" -- they instead have
> styles/themes applied to their own widgets to make them look closer to the
> OS native stuff, but may not behave quite the same.
>
> Tkinter is Tk-based, and doesn't look "native" on anything 
>
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 3.8.5 Not Launching

2020-09-22 Thread Igor Korot
Hi,

On Tue, Sep 22, 2020 at 11:25 PM  wrote:
>
>Hi,
>
>
>
>I installed Python 3.8.5 on Windows 10
>
>When I click on a python file it launches the program but it closes
>immediately.

What is the content of this file?
Is it a py or pyc file?

Thank you.

>
>
>
>Please help, thanks.
>
>
>
>Yehudis Gruber
>
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: LittleRookie

2020-08-19 Thread Igor Korot
Hi, Chris,

On Wed, Aug 19, 2020 at 1:01 PM Chris Angelico  wrote:
>
> On Thu, Aug 20, 2020 at 3:11 AM Igor Korot  wrote:
> >
> > Dennis,
> >
> > On Wed, Aug 19, 2020 at 11:26 AM Dennis Lee Bieber
> >  wrote:
> > >
> > > On Tue, 18 Aug 2020 22:23:28 +, dbsan...@gmail.com (Jamelaumn)
> > > declaimed the following:
> > >
> > > >i would say i'm new at programing i have a year of experience in 
> > > >python(but i'm tottaly a noob) i guess i'm starting to learn SQL 
> > > >now.What should i do to learn better and faster?
> > >
> > > You've had lots of answers, but there is one concept that seems 
> > > to have
> > > not been mentioned.
> > >
> > > SQL is a (relational) database QUERY language -- but knowing SQL 
> > > does
> > > not mean you can design a relational database structure. For design, you
> > > should be familiar with at least 1st, 2nd, and 3rd Normal Forms
> > > https://en.wikipedia.org/wiki/Database_normalization
> > > https://www3.ntu.edu.sg/home/ehchua/programming/sql/Relational_Database_Design.html
> >
> > And the best way to LEARN is to go to school ...
>
> You can't learn at home? That's a great pity, given that that's how I
> learned basically everything I know about programming.
>
> If you're sufficiently motivated, you don't need a
> school/university/college. You just need the reference material,
> tutorials, guides, that sort of thing.

While I understand that people are different and all have their preferences
it is best to go to school to learn something (whether the school is online
or not - doesn't matter).
You will be ta;lking to teachers and peers, do the homework (which means
easy exercises) to prove that you learnt something and finally
acquire some connection which will help you along the way.

And what can you learn by reading the WiKi article mentioned
if you don't know how to use them properly (without practicing them)?

BTW, I'm also a self-taught developer, but I did it a long time ago in school
and there were people that helped me understand all those books
we had and I did some exercises.

Thank you.

>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: LittleRookie

2020-08-19 Thread Igor Korot
Dennis,

On Wed, Aug 19, 2020 at 11:26 AM Dennis Lee Bieber
 wrote:
>
> On Tue, 18 Aug 2020 22:23:28 +, dbsan...@gmail.com (Jamelaumn)
> declaimed the following:
>
> >i would say i'm new at programing i have a year of experience in python(but 
> >i'm tottaly a noob) i guess i'm starting to learn SQL now.What should i do 
> >to learn better and faster?
>
> You've had lots of answers, but there is one concept that seems to 
> have
> not been mentioned.
>
> SQL is a (relational) database QUERY language -- but knowing SQL does
> not mean you can design a relational database structure. For design, you
> should be familiar with at least 1st, 2nd, and 3rd Normal Forms
> https://en.wikipedia.org/wiki/Database_normalization
> https://www3.ntu.edu.sg/home/ehchua/programming/sql/Relational_Database_Design.html

And the best way to LEARN is to go to school to understand the concept
and get real-life training and not to read Wikipedia articles.

Thank you.

>
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: LittleRookie

2020-08-18 Thread Igor Korot
Hi,

On Tue, Aug 18, 2020, 5:32 PM Jamelaumn  wrote:

> i would say i'm new at programing i have a year of experience in
> python(but i'm tottaly a noob) i guess i'm starting to learn SQL now.What
> should i do to learn better and faster?
>

Enroll in the local college and start your journey there?
Successfully finish it and get an internship.
Follow with it, get to know people.
Continue working in the area.

Thank you.

-- 
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Final statement from Steering Council on politically-charged commit messages

2020-08-18 Thread Igor Korot
Hi,

On Tue, Aug 18, 2020 at 10:27 AM J. Pic  wrote:
>
> I think this commit message is not enough: we should take it further
> and demand that Elwyn Brooks White choose change their last name to
> something less supremacist.
>
> Also: I've been waiting long enough to see this drama hit the chess
> world by itself so I'm explicitly making the suggestion here.

How dare you use "x" in the word "explicit"?

Mr. Malcolm will not be pleased...

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error

2020-08-17 Thread Igor Korot
On Tue, Aug 18, 2020 at 12:00 AM Igor Korot  wrote:
>
> Hi,
>
> On Mon, Aug 17, 2020 at 11:05 PM Thiên Nguyễn Thanh
>  wrote:
> >
> > Thank you for your response.
> > it's in this file.
>
> Please don't send any attachments to the list.
>
> There are very knowledgeable people here who will be able to help.
>
> Unfortunately they have vision problems.
>
> So, what is the problem with "copy-and-paste" the error message?
> Are you that lazy? ;-)

Besides for security reasons most people will not open attachments
from unknown source, even if they are on *nix/Mac...

So could you please, do that?

Thank you.


>
> Thank you.
>
> >
> > Vào Th 3, 18 thg 8, 2020 vào lúc 10:59 Igor Korot  đã 
> > viết:
> >>
> >> Hi,
> >>
> >>
> >>
> >> On Mon, Aug 17, 2020, 10:52 PM Thiên Nguyễn Thanh 
> >>  wrote:
> >>>
> >>> Hi,
> >>> I'm just starting to learn python.
> >>> I try to install a socketio library.
> >>> I got the following error
> >>> [image: image.png]
> >>> Please answer me with a detailed guide on how to solve the above problem!!
> >>> Thanks.
> >>
> >>
> >> Unfortunately we will not be able to see the error as images are not going 
> >> to the list.
> >>
> >> Please copy and paste an error
> >>
> >> Thank you..
> >>
> >>
> >>
> >>> --
> >>> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error

2020-08-17 Thread Igor Korot
Hi,

On Mon, Aug 17, 2020 at 11:05 PM Thiên Nguyễn Thanh
 wrote:
>
> Thank you for your response.
> it's in this file.

Please don't send any attachments to the list.

There are very knowledgeable people here who will be able to help.

Unfortunately they have vision problems.

So, what is the problem with "copy-and-paste" the error message?
Are you that lazy? ;-)

Thank you.

>
> Vào Th 3, 18 thg 8, 2020 vào lúc 10:59 Igor Korot  đã 
> viết:
>>
>> Hi,
>>
>>
>>
>> On Mon, Aug 17, 2020, 10:52 PM Thiên Nguyễn Thanh 
>>  wrote:
>>>
>>> Hi,
>>> I'm just starting to learn python.
>>> I try to install a socketio library.
>>> I got the following error
>>> [image: image.png]
>>> Please answer me with a detailed guide on how to solve the above problem!!
>>> Thanks.
>>
>>
>> Unfortunately we will not be able to see the error as images are not going 
>> to the list.
>>
>> Please copy and paste an error
>>
>> Thank you..
>>
>>
>>
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error

2020-08-17 Thread Igor Korot
Hi,



On Mon, Aug 17, 2020, 10:52 PM Thiên Nguyễn Thanh <
thien.nguyen0...@hcmut.edu.vn> wrote:

> Hi,
> I'm just starting to learn python.
> I try to install a socketio library.
> I got the following error
> [image: image.png]
> Please answer me with a detailed guide on how to solve the above problem!!
> Thanks.
>

Unfortunately we will not be able to see the error as images are not going
to the list.

Please copy and paste an error

Thank you..



-- 
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Support

2020-08-13 Thread Igor Korot
Hi,

On Thu, Aug 13, 2020 at 5:46 PM dn via Python-list
 wrote:
>
> On 14/08/2020 08:31, Alexa Oña wrote:
> > Helo, I am already subscribed.
> > 
> > I
> > De: Alexa Oña
> > Enviado: jueves, 13 de agosto de 2020 18:51
> > Para: python-list@python.org 
> > Asunto: Support
> >
> > Hello, I am Alexa
> >   I have tried to install PYTHON 3.8.5, but could not install it on my 
> > computer. I would like to receive help since always when installing and 
> > opening, it indicates the same page.

Also, please include the exact error message you are receiving during
the install.

Thank you.

>
>
> Holá,
>
> Yes, your message has been received.
>
> Please advise which operating system is used on your computer, and the
> download source you have been using.
> --
> Regards =dn
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Dowloading package dependencies from locked down machine

2020-07-27 Thread Igor Korot
Hi,

On Mon, Jul 27, 2020 at 6:46 PM Andrew McLean  wrote:
>
> On 26/07/2020 14:07, Mike Dewhirst wrote:
> > I think your best bet is to make a formal business case to your IT
> > people and explain what's in it for them. If they hold all the cards
> > you defeat them at your peril.
>
> The issue is that the IT department thinks that installing the full
> power of Python scripting on an Internet facing machine is inconsistent
> with the "Cyber Essentials Plus" accreditiation that they need to win
> Government contracts. I'm trying to come up with an alternative that
> would be acceptable to them, I'm not going behind their backs.
>
> I wonder, would it be possible to create a standalone executable version
> of pip with py2exe or similar?

Coming from experience working with the Government Contractor first hand,
they have to have an approved list of software people can work with.

Ask to provide that list.
Now such a list is provided by the Security Office and it does not
come from the IT department.

You can actually go and check this list yourself. Check with your company
FSO.

I can assure you python will definitely be on that list.
Its possible that some python modules may not be there but the
language/interpreter will.

Thank you.

>
> - Andrew
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Facing problem while opening phython

2020-07-09 Thread Igor Korot
Hi,

On Thu, Jul 9, 2020 at 11:07 AM Chaitanya Patil
 wrote:
>
> I just installed python version 3.7.3 in my PC (Windows 7 ultimate)
> after installing it when i try to open it but i am not able to access it .
> It is showing some kind of system error.
> Even after reinstalling still the same error is reported
> If there is a solution for this then please let me know

What is an exact error message you received?
Please copy'n'paste it here.
Also - how do you launch it?

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Regarding error code 9

2020-06-26 Thread Igor Korot
Hi,

On Fri, Jun 26, 2020, 1:17 AM Manikandan S  wrote:

> Sir/Mam;
>   While installing matplotlib in python i face this issue that it shows
> error : erro no 9 please reply with some solution for this error i am
> beginner so please explain in detail about this error and guide me to fix
> this error.
>

What OS?
What python version?
Are you using pip to install?

Thank you.


>   Thank you
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: I need to study Python

2020-06-25 Thread Igor Korot
Hi,
Just sign-up for a local community college.
Will be easier and u will keep motivation...

Thank you.


On Thu, Jun 25, 2020, 6:49 PM  wrote:

> Hey, I'm a completely noob.
> I want to learn python, how can i or where can i study python?
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pytube problem

2020-04-15 Thread Igor Korot
Hi,

On Wed, Apr 15, 2020 at 7:14 AM Abhi Bajpai
 wrote:
>
> Respected sir or mam..
> I am facing issue related to pytube there is always problem with youtube 
> module please look into this and try to solve it... I have to submit 
> project.. and now all depends on you.

What kind of problem do you have?
Can't install? Can't use - why?

Can you copy'n'paste the error in the message body - the list doesn't
take an attachments...

Thank you.

>
> Sent from Mail for Windows 10
>
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can you help me solve this?

2020-03-16 Thread Igor Korot
Hi,

On Mon, Mar 16, 2020 at 4:26 PM Joseph Nail  wrote:
>
> Hello,
> I have one problem. Somehow in my function when I wrote y=x, they are the
> same variable and then it also changes age or height (which were x) in the
> main program. See more in attached file.
> Maybe it is bug or maybe it should run that way.

This is the text only ML -> NO ATTACHMENT.

Please copy and paste the code inside the E-mail body send it out.

Thank you,

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Please solve this problem

2020-03-09 Thread Igor Korot
Hi,

On Mon, Mar 9, 2020 at 11:56 AM David Raymond  wrote:
>
> > It was a problem and it was solved.
> > Check the second or third e-mail in the thread.
> >
> > Thank you.
>
> The first email was blank,
>
> The second email was from the same person and just said "Rply if solved"
>
> The third was a sarcastic reply to the blank emails with just: "Solved, 
> answer is:"

I was talking about this one.
And just bcause I didn't put a smiley, doesn't mean it is not sarcastic either.

;-)

Thank you.

>
> The fourth was Wildman trying to helpfully let them know nothing came through.
>
> And the fifth was you saying there was both a problem and a solution.
>
> So where is either the problem or solution you speak of?
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Please solve this problem

2020-03-09 Thread Igor Korot
Hi,

On Mon, Mar 9, 2020 at 9:22 AM Wildman via Python-list
 wrote:
>
> On Mon, 09 Mar 2020 11:47:24 +0530, sachin thakur wrote:
>
> What is the problem?  If you attached a screenshot to your post
> it was dropped.  This is a text only group.  Explain the problem
> or put the screenshot on a cloud site such as Dropbox and post
> the link.

It was a problem and it was solved.
Check the second or third e-mail in the thread.

Thank you.

>
> --
>  GNU/Linux user #557453
> The cow died so I don't need your bull!
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Help

2020-01-14 Thread Igor Korot
Hi,

On Tue, Jan 14, 2020 at 10:46 PM kiran chawan  wrote:
>
> Whenever Iam trying to run this 'New  latest version python software 3.8.4
> python ' but it doesn't show any install option and it say ' modify set up
> ' So tell what to do sir plz help me out.

Please explain why are you trying to install python second time?

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: to solve the issues

2020-01-13 Thread Igor Korot
Hi,

On Mon, Jan 13, 2020 at 8:29 AM Gautami Gaikwad
 wrote:
>
> please solve the issues and make me essential use of this software.
> thank you.

Errr, what kid of issue?
Can you be a little more specific?

Thank you.

> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: This is the email address I Believe I should email for support.

2019-12-18 Thread Igor Korot
Hi,

On Wed, Dec 18, 2019 at 7:03 AM Anthony Graziano
 wrote:
>
>When I try to uninstall python 3.8.0 to reinstall, it says that the
>program is currsntly running.

Why do you want to reinstall it?
Does python interpreter actually running?
Can you go to the "Task Manager" and see it punning?

Thank you.

>
>
>
>Please help
>
>
>
>Sent from [1]Mail for Windows 10
>
>
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: How execute at least two python files at once when imported?

2019-11-06 Thread Igor Korot
Hi,

On Wed, Nov 6, 2019 at 10:22 AM Spencer Du  wrote:
>
> Hi
>
> Sorry if I haven't stated my requirements clearly.
>
> I just wanted a way to import at least two python files in parallel and I 
> wanted to know how this can be done or a reason why its bad as stated in 
> another post.

This is not a requirements.

Let me rephrase my question - what problem are you trying to solve?

Also, as I said before - I believe there is a language barrier.

Find some python forum in your native language and ask your question there.

Thank you.

>
> Thanks
> Spencer
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


  1   2   3   >