Re: Your confirmation is required to join the Python-list mailing list

2020-09-10 Thread Michael Torrie
On 9/10/20 10:48 AM, LZ Lian wrote:
> Dear Python Team,
> 
> I've subscribed as requested. I've attached the subscription email
> for your reference too
> 
> Now, for the issue I’ve tried to download and install the latest
> version of Python software a few times. However, each time I run the
> application, the window showing “Modify / Repair / uninstall” will
> pop out. I’ve tried all the options on that pop-up and nothing works.
> I’ve tried googling for solutions and none are really helpful. Pls
> assist. Thanks

Did you read the documentation at
https://docs.python.org/3/using/windows.html?  Is there something in
this document that is lacking?  Seems like this identical question comes
up on a weekly basis.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Your confirmation is required to join the Python-list mailing list

2020-09-10 Thread Richard Damon
On 9/10/20 12:48 PM, LZ Lian wrote:
> Dear Python Team,
>
> I've subscribed as requested. I've attached the subscription email for your 
> reference too
>
> Now, for the issue I’ve tried to download and install the latest version 
> of Python software a few times. However, each time I run the application, the 
> window showing “Modify / Repair / uninstall” will pop out. I’ve tried all the 
> options on that pop-up and nothing works. I’ve tried googling for solutions 
> and none are really helpful. Pls assist. Thanks
>
> Warmest Regards,
> Jovial Lian
>
Sounds like you keep re-running the installer rather than the installed
version of python.

-- 
Richard Damon

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


Re: Your confirmation is required to join the Python-list mailing list

2020-09-10 Thread LZ Lian
Dear Python Team,

I've subscribed as requested. I've attached the subscription email for your 
reference too

Now, for the issue I’ve tried to download and install the latest version of 
Python software a few times. However, each time I run the application, the 
window showing “Modify / Repair / uninstall” will pop out. I’ve tried all the 
options on that pop-up and nothing works. I’ve tried googling for solutions and 
none are really helpful. Pls assist. Thanks

Warmest Regards,
Jovial Lian


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


Get Outlook for Android<https://aka.ms/ghei36>


From: Python-list  on 
behalf of 
python-list-confirm+b649e785f0d9b368d0a61c736e9b5b6a5ff7f...@python.org 

Sent: Friday, September 11, 2020 12:44:50 AM
To: lizhenlia...@gmail.com 
Subject: Your confirmation is required to join the Python-list mailing list

Mailing list subscription confirmation notice for mailing list
Python-list

We have received a request from 223.25.79.105 for subscription of your
email address, "lizhenlia...@gmail.com", to the python-list@python.org
mailing list.  To confirm that you want to be added to this mailing
list, simply reply to this message, keeping the Subject: header
intact.  Or visit this web page:


https://mail.python.org/mailman/confirm/python-list/b649e785f0d9b368d0a61c736e9b5b6a5ff7fad9


Or include the following line -- and only the following line -- in a
message to python-list-requ...@python.org:

confirm b649e785f0d9b368d0a61c736e9b5b6a5ff7fad9

Note that simply sending a `reply' to this message should work from
most mail readers, since that usually leaves the Subject: line in the
right form (additional "Re:" text in the Subject: is okay).

If you do not wish to be subscribed to this list, please simply
disregard this message.  If you think you are being maliciously
subscribed to the list, or have any other questions, send them to
python-list-ow...@python.org.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: SYSTEM and USER environment (was Your confirmation is required to join the Python-list mailing list)

2009-05-04 Thread Dave Angel

Allan Yuan wrote:

Hi,
I just wanna know how to set SYSTEM variables and USER variables of windows,
but got no way.

Firstly I thought "os.environ + os.system" may work well, but found no way
to let "os.environ" run to retrive USER variables.

Then I tried win32api, finding the GetEnvironmentVariables() mixing SYSTEM
and USER variables up, and SetEnvironmentVariables() failing to add
variables.

Could you help me, please?
Thanks a lot.

  
First, you need to put a meaningful subject line on a query to the 
list.  Hopefully you also did the confirmation, so that you'll actually 
be getting the list emails.


Next, your problem.  SYSTEM and USER variables are a uniquely Windows 
concept, and as far as I know, have no direct counterpart in Python.  
These are really just names used in the Control Panel applet to refer to 
two sections of the registry which are used to define which environment 
variables a task will start with, if the task is started directly from 
Explorer.  Tasks that are started by other tasks (eg. the command line) 
get environment variables as defined by the parent.


So, there are at least three obvious ways a process gets started.  One 
is by explorer, in which case it gets the environment described above.  
Two is by a DOS box, in which case it gets the environment variables 
according to the rules of the CMD shell.  And third is from an arbitrary 
3rd party process, in which case it's up to that developer.


So, which are you trying to change?  I'm suspecting you're interested in 
the Explorer version, for example that launches a program from a 
shortcut on the desktop, or via an association with a particular file 
extension.  i don't know which registry variables are involved, but 
there are two registry keys,
Try:hklm/SYSTEm/CurrentControlSet/Control/Session 
Manager/Environmentfor the SYSTEM environment variables

  and hkcu/Environment for the USER environment variables

Experiment first with REGEDIT, then when you get the behavior you want,  
look up module _winreg  (or winreg in Python 3.0) to do it 
programmatically.  Notice that existing DOS boxes won't see these new 
variables, only things launched by Explorer or the equivalent.


It's also possible you just want to set environment variables for a 
particular DOS box session.  In that case, use a .BAT or .CMD file, in 
which a SET statement tells the shell what values to use next time it 
launches.



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


Re: Your confirmation is required to join the Python-list mailing list

2009-05-04 Thread Allan Yuan
Hi,
I just wanna know how to set SYSTEM variables and USER variables of windows,
but got no way.

Firstly I thought "os.environ + os.system" may work well, but found no way
to let "os.environ" run to retrive USER variables.

Then I tried win32api, finding the GetEnvironmentVariables() mixing SYSTEM
and USER variables up, and SetEnvironmentVariables() failing to add
variables.

Could you help me, please?
Thanks a lot.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Your confirmation is required to join the Python-list mailing list

2009-04-18 Thread Mads Nielsen
Hello.

i was wondering if there would be someone on the list that know of or have
ideas for a beginner python project ?
i have made a simple calculator "Program" with a if else loop. and such. but
i need a new project.

i know xml. html. css. and a bit JavaScript. so it can incorporate any or
all of those languages.

Any help / ideas are very much appreciated.

/mads
--
http://mail.python.org/mailman/listinfo/python-list