Re: Python not Running

2021-01-20 Thread Sibylle Koczian

Am 19.01.2021 um 17:48 schrieb Dennis Lee Bieber:

On Tue, 19 Jan 2021 03:26:50 + (UTC), Mladen Gogala via Python-list
 declaimed the following:


Since you're most probably using Winduhs, use regedit and modify your PATH


You don't need to use regedit to modify environment variables.

Right click "This PC" (Win10), Properties, Advance System Settings
(respond to UAC prompt), [Environment Variables]

This presents a window with "user" (the admin account being used after
the UAC authorization) and "system" which are the environment variables
that apply to all users.

To change regular user environment variables, open old-style control
panel, drill down in "User Accounts" until your get to your account, and
there will be an option on the left for editing environment variables.


It's not necessary to have Python in the path - it may perhaps be a 
little more comfortable, but not much. The file extensions .py and .pyw 
can be associated with python and pythonw, there is the Python Launcher, 
and for things like pip you can always change into your Python 
directory. But pip works just as well with the Launcher.



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


Re: Python not Running

2021-01-19 Thread MRAB

On 2021-01-19 03:26, Mladen Gogala via Python-list wrote:
[snip]


Since you're most probably using Winduhs, use regedit and modify your PATH
variable. Your python will be in c:\Program Files if you installed 64 bit
version, which you should have done. Otherwise, it will be in C:\Program
Files(x86). Your "idle" program will be in your "start menu" which came
back in Winduhs 10. You would probably never have guessed, but I'm not
particularly fond of Winduhs.


[snip]

I wouldn't use regedit to edit the PATH variable. It's an environment 
variable, so I'd use the System Properties dialog (the Advanced tab).

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


Re: Python not Running

2021-01-18 Thread Mladen Gogala via Python-list
On Sat, 16 Jan 2021 14:55:26 -0600, Logan Cranford wrote:

> I downloaded Python but when I try to run Idle it says it is not found
> and I should try to redownload it. When I try to do that all that comes
> up is a page that says modify, repair or uninstall. I have repaired
> several times but it still gives me the same message. Can anyone  help
> me with this?

Have you tried with Perl? What is your OS and how are you trying to run
it? I would suggest doing "sudo bash" and on the root prompt do this:

dnf -y install python3

When you type "which python", your OS should tell you where your Python
is:

[mgogala@umajor tmp]$ which python
/usr/bin/python

You can further test by echoing Python version:


[mgogala@umajor tmp]$ python -V
Python 3.9.1


If you see something like C:\ prompt, then install Cygwin and use your 
Python from Cygwin. Your goal is have bash and vi editor. If that is an
option, reformat your boot drive and install Ubuntu, Mint or Fedora.

[mgogala@umajor tmp]$ cat /etc/redhat-release
Fedora release 33 (Thirty Three)
[mgogala@umajor tmp]$ 

Visual studio code is available both on Linux and Windows and is freaking 
awesome. No need to run Idle. Idle is a flint ax when compared to VSCode. 
VSCode supports auto-completion, formatting and many other things that 
you cannot even dream of in Idle.

PS:
Since you're most probably using Winduhs, use regedit and modify your PATH
variable. Your python will be in c:\Program Files if you installed 64 bit 
version, which you should have done. Otherwise, it will be in C:\Program 
Files(x86). Your "idle" program will be in your "start menu" which came 
back in Winduhs 10. You would probably never have guessed, but I'm not 
particularly fond of Winduhs.



-- 
Mladen Gogala
Database Consultant
http://mgogala.byethost5.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python not Running

2021-01-16 Thread Terry Reedy

On 1/16/2021 3:55 PM, Logan Cranford wrote:

I downloaded Python but when I try to run Idle it says it is not found and


From where? try how? what is 'it'?
Read the section of
https://docs.python.org/3/using/index.html
appropriate for your system, likely Windows.


I should try to redownload it. When I try to do that all that comes up is a
page that says modify, repair or uninstall. I have repaired several times


This sounds like you are rerunning the python installer, not python 
itself.  Doing the latter depends on how you installed.  Read the doc.



but it still gives me the same message. Can anyone  help me with this?

You can also read answers to similar posts at
https://mail.python.org/pipermail/python-list/


--
Terry Jan Reedy

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


Python not Running

2021-01-16 Thread Logan Cranford
I downloaded Python but when I try to run Idle it says it is not found and
I should try to redownload it. When I try to do that all that comes up is a
page that says modify, repair or uninstall. I have repaired several times
but it still gives me the same message. Can anyone  help me with this?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python not running

2020-05-20 Thread Michael Torrie
On 2020-05-20 8:22 a.m., Supriyo Roy wrote:
> I have installed the latest version of python which is 3.8.3. However, when
> I try to run a sample program, a small python icon appears on my taskbar
> for a split second and then disappears. Nothing else happens. Please advise
> me on how to get python up and running.
> Thank you in advance. Regards.

Always state your operating system!

Python is simply an interpreter, not a graphical application, and is
normally run from the command prompt.  Your program is in fact running,
but after it finishes, the window goes away, as it does for all console
programs.  If you run it from a command prompt you will see the complete
output from your program.  Please read the link that DL Neil helpfully
provided to get you up and running on Windows.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python not running

2020-05-20 Thread DL Neil via Python-list

On 21/05/20 2:22 AM, Supriyo Roy wrote:

I have installed the latest version of python which is 3.8.3. However, when
I try to run a sample program, a small python icon appears on my taskbar
for a split second and then disappears. Nothing else happens. Please advise
me on how to get python up and running.
Thank you in advance. Regards.



Please advise if the following reference is accurate, and works for you:
https://docs.python.org/3/using/windows.html
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list


Python not running

2020-05-20 Thread Supriyo Roy
I have installed the latest version of python which is 3.8.3. However, when
I try to run a sample program, a small python icon appears on my taskbar
for a split second and then disappears. Nothing else happens. Please advise
me on how to get python up and running.
Thank you in advance. Regards.

-- 
Supriyo Roy
-- 
https://mail.python.org/mailman/listinfo/python-list