On 10/22/25 7:14 PM, Chris Angelico via Python-list wrote:
> And that's why it's so frustrating when someone bases their entire
> argument on an AI's nonsense. If the OP had simply posted it as a
> request, with no hallucinated claims, it would have been a
> straight-forward matter to explain the U
On Thu, 23 Oct 2025 at 12:01, Michael Torrie via Python-list
wrote:
>
> On 10/19/25 12:38 PM, Chris Angelico via Python-list wrote:
> > The entire premise of your post was flat-out wrong. Your data was
> > nothing but hallucinations, and there is nothing to discuss. I'm not
> > even going to bothe
On 10/19/25 12:38 PM, Chris Angelico via Python-list wrote:
> The entire premise of your post was flat-out wrong. Your data was
> nothing but hallucinations, and there is nothing to discuss. I'm not
> even going to bother reading further, because every post you've
> written smells like AI slop.
In
On Mon, 20 Oct 2025 at 02:01, wrote:
>
> Thanks again for your detailed reply — I really appreciate it. I have to
> admit, I wasn’t 100% sure about my data, which is why I submitted it for
> discussion before opening a bug report to the Python developers.
>
Don't. Don't open a discussion based
Thanks again for your detailed reply — I really appreciate it. I have to admit,
I wasn’t 100% sure about my data, which is why I submitted it for discussion
before opening a bug report to the Python developers.
I alredy checked Unicode tables, I saw that the capital ß (U+1E9E) was already
encod
On Sun, 19 Oct 2025 at 11:03, wrote:
>
> Thanks Chris for the response!
>
> As The Unicode Standard does define an uppercase form for the German sharp S
> (U+00DF → U+1E9E), and this has been part of Unicode since version 5.1
> (2008), with the German orthography officially adopting it in 2017.
Thanks Chris for the response!
As The Unicode Standard does define an uppercase form for the German sharp S
(U+00DF → U+1E9E), and this has been part of Unicode since version 5.1 (2008),
with the German orthography officially adopting it in 2017. The relevant case
mappings are clearly specified
Hello friends,
Can I know what’s going on?! Please
في سبت، 18 أكتوبر، 2025 في 7:11 ص، كتب Chris Angelico via Python-list <
[email protected]>:
> On Sat, 18 Oct 2025 at 13:44, wrote:
> >
> > Dear Python Developers,
> >
> > I would like to bring attention to an inconsistency and legacy behavi
On Sat, 18 Oct 2025 at 13:44, wrote:
>
> Dear Python Developers,
>
> I would like to bring attention to an inconsistency and legacy behavior
> regarding the handling of the German sharp S characters in Python’s string
> case conversion methods.
>
This isn't Python's decision. The definition of
. This update improves
text processing accuracy and consistency in German-language applications.
Given Python’s global reach and extensive use in linguistically diverse
contexts, I propose that Python’s standard string methods be updated to:
Convert lowercase “ß” (U+00DF) to uppercase “ẞ” (U+1E9E
On 23/10/2022 9:13 pm, B N wrote:
I am new to python and wish to update 3.9 to3.10.8 which I have downloaded. How
do I replace 3.9 with the 3.10.8 I downloaded.
Kind regards
JohnGee
It depends on the operating system.
Typically, you can just install the new version and adjust your
I am new to python and wish to update 3.9 to3.10.8 which I have downloaded. How
do I replace 3.9 with the 3.10.8 I downloaded.
Kind regards
JohnGee
--
https://mail.python.org/mailman/listinfo/python-list
I'm looking for a mid-level python programmer to help me with a python
script that accesses Usenet. I've got a non-working 2.7 script that
needs a little more attention than just running 2to3 on it. Estimated
level of effort: about 2 hours or less.
If interested please send me an email at moc.l
"df_list". So I get 201 lists with 25 columns
The main code is starting for here:
for elem in df_list:
{do something.}
{Here I'm trying to calculate the outliers}
Out.append(outliers)
Now my problem is that I need to locate those outliers in the df_list and
then update anot
25 columns
The main code is starting for here:
for elem in df_list:
{do something.}
{Here I'm trying to calculate the outliers}
Out.append(outliers)
Now my problem is that I need to locate those outliers in the df_list and
then update another column with is the "Reputation"
The issues illustrated likely have less to do with Python than with
Selenium (or even Firefox - depending how far back we need to go).
That and our fate with the many web-search engines prioritising
'authoritative sources' in their results. Such definition includes
'clicks' over time. It fails to
jkk writes:
> Selenium 3.141+
> python 3.8+
> ubuntu 20.04 or windows 10
>
> I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several
> DepreciationWarnings.
>
> Can someone point me to where I can find the documentation that explains how
> to to remedy these warnings. What are
Sorry, this was simply a typo. Disregard the first "browser = "
Again, I'm hoping someone knows where to find "best coding practices" for newer
versions of python 3.8+
> On 10/13/2021 6:20 PM Tony Oliver wrote:
>
>
> On Wednesday, 13 October 2021 at 16:16:46 UTC+1, jkk wrote:
> > Selenium 3
On Wednesday, 13 October 2021 at 16:16:46 UTC+1, jkk wrote:
> Selenium 3.141+
> python 3.8+
> ubuntu 20.04 or windows 10
>
> I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several
> DepreciationWarnings.
>
> Can someone point me to where I can find the documentation that
Selenium 3.141+
python 3.8+
ubuntu 20.04 or windows 10
I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several
DepreciationWarnings.
Can someone point me to where I can find the documentation that explains how to
to remedy these warnings. What are the new preferred coding pract
n not see this
> > modification of the color until the whole method or function is completed.
> > I believe that I have seen somewhere during my searches and googling that
> > one can flush or update the GUI after each step/action is done.
> > But until now I couldn
d googling that one
can flush or update the GUI after each step/action is done.
But until now I couldn't manage it and I don't know where I have to invoke
flush/update command in PyCharm.
If anyone has done this before and knows about it, I would very appreciate
seeing his solut
hat during debugging, when I change some attributes of a button
or label, let say its background-color, I can not see this modification of the
color until the whole method or function is completed.
I believe that I have seen somewhere during my searches and googling that one
can flush or update the
On Tue, Aug 3, 2021 at 7:26 PM dn via Python-list
wrote:
>
> On 04/08/2021 13.08, Larry Martell wrote:
> > I am trying to write a function that takes kwargs as a param and
> > generates an update statement where the rows to be updated are
> > specified in an in clause.
>
On 04/08/2021 13.08, Larry Martell wrote:
> I am trying to write a function that takes kwargs as a param and
> generates an update statement where the rows to be updated are
> specified in an in clause.
>
> Something like this:
>
> def update_by_in(self, **kwargs):
&
On 2021-08-04 02:08, Larry Martell wrote:
I am trying to write a function that takes kwargs as a param and
generates an update statement where the rows to be updated are
specified in an in clause.
Something like this:
def update_by_in(self, **kwargs):
filter_group
I am trying to write a function that takes kwargs as a param and
generates an update statement where the rows to be updated are
specified in an in clause.
Something like this:
def update_by_in(self, **kwargs):
filter_group = []
for col in kwargs['query_p
On Sun, 3 Jan 2021, Rich Shepard wrote:
I'm trying to rebuild numpy-1.18.2 using the newly installed Python-3.9.1.
The script fails when running setup.py:
Traceback (most recent call last):
File "setup.py", line 32, in
raise RuntimeError("Python version >= 3.5 required.")
RuntimeError: Pyth
Matt Wheeler wrote:
> On 29 Dec 2020, 14:48 +, Chris Green , wrote:
> > I seem to have quite a lot of old python packages installed over the
> > years using pip and would like, if I can. to clear some of them out.
> >
> >
> > Is there any way to tell if a python package was installed by me
> >
On 29 Dec 2020, 14:48 +, Chris Green , wrote:
> I seem to have quite a lot of old python packages installed over the
> years using pip and would like, if I can. to clear some of them out.
>
>
> Is there any way to tell if a python package was installed by me
> directly using pip or was installe
Mats Wichmann wrote:
> On 12/29/20 7:48 AM, Chris Green wrote:
> >
> > If there are any tools/utilities one can install to check these things
> > out I'd love to know about them.
>
> There are some tools (on pypi naturally) for fiddling with installed
> packages, but for starters try these two:
On 12/29/20 7:48 AM, Chris Green wrote:
I seem to have quite a lot of old python packages installed over the
years using pip and would like, if I can. to clear some of them out.
Is there any way to tell if a python package was installed by me
directly using pip or was installed from the [x]ubun
I seem to have quite a lot of old python packages installed over the
years using pip and would like, if I can. to clear some of them out.
Is there any way to tell if a python package was installed by me
directly using pip or was installed from the [x]ubuntu repositories?
'pip list' just tells me
I cannot update parso because of the rule from jedi:
<0.8.0,>=0.7.0
This kind of things happens more often, but normally in less of a week
the module that prevents another to be installed is updated and the
restriction is lifted.
But I think it is about half a year that this restrict
On 9/28/20, Dennis Lee Bieber wrote:
> On Sun, 27 Sep 2020 05:33:14 +0300, "Hylton"
> declaimed the following:
>
>> "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\
>> distlib\scripts.py", line 386, in _get_launcher
>
> That path seems to imply that you have a Pytho
Hello,
�
When I tried to install a package using pip, it informed me that there is a new
version available.
�
Per the recommendation, I tried to update pip, but the update failed.
�
The following is the last few lines of the failure messages
Might be your wish!!! If that is not the fault of the devs then I think
issuing in GitHub wont help.
Souvik flutter dev
On Fri, Apr 10, 2020, 5:10 PM Sanjay Gupta wrote:
> Hi Everyone,
> I recently started working on Data Visualization. In one of my
> assignments, I want to use PyValentina 0.2.
Hi Everyone,
I recently started working on Data Visualization. In one of my assignments, I
want to use PyValentina 0.2.0 library. When I visited the
https://pypi.org/project/PyValentina/
page and click on PyValentina Home Page link it give me a 404 error. After
spending a little more time I come
On 2019-12-05 19:30:31 +, Rhodri James wrote:
> On 05/12/2019 18:49, RobH wrote:
> > TabError: inconsistent use of tabs and spaces in indentation
>
> The problem will be that you have a mix of tabs and spaces in your
> indentation. This causes problems because some people don't think that the
On 12/5/2019 3:55 PM, MRAB wrote:
Ok thanks for the explanation there, and I have placed the cursor at the
beginning of the first indented line. Moving down 1 line at a time ,
each line is at the same position upto line 157 in the authors code .
Then it is closer in to the edge upto line 190, wh
On 2019-12-05 20:39, Joel Goldstick wrote:
On Thu, Dec 5, 2019 at 3:31 PM RobH wrote:
On 05/12/2019 19:40, Rhodri James wrote:
> On 05/12/2019 19:30, Rhodri James wrote:
>> On 05/12/2019 18:49, RobH wrote:
>>> Update:
>>> I did python3 Internet.py
>>> and
On Thu, Dec 5, 2019 at 3:31 PM RobH wrote:
>
> On 05/12/2019 19:40, Rhodri James wrote:
> > On 05/12/2019 19:30, Rhodri James wrote:
> >> On 05/12/2019 18:49, RobH wrote:
> >>> Update:
> >>> I did python3 Internet.py
> >>> and now on
On 05/12/2019 19:40, Rhodri James wrote:
On 05/12/2019 19:30, Rhodri James wrote:
On 05/12/2019 18:49, RobH wrote:
Update:
I did python3 Internet.py
and now only get this error:
pi@raspberrypi:~/Downloads $ python3 Internet.py
File "Internet.py", line 24
font = ImageFon
On 05/12/2019 19:30, Rhodri James wrote:
On 05/12/2019 18:49, RobH wrote:
Update:
I did python3 Internet.py
and now only get this error:
pi@raspberrypi:~/Downloads $ python3 Internet.py
File "Internet.py", line 24
font = ImageFont.truetype( 'Minec
On 05/12/2019 18:49, RobH wrote:
Update:
I did python3 Internet.py
and now only get this error:
pi@raspberrypi:~/Downloads $ python3 Internet.py
File "Internet.py", line 24
font = ImageFont.truetype( 'Minecraftia.ttf', 35)
y.
I was looking at the wrong file previously, and got mixed up, doh!
I have installed the Adafruit_Python_SSD1306 library now.
(There is no mention that I can see about installing other libraries etc
to get the project to work, by the author)
Update:
I did python3 Internet.py
and now only
file previously, and got mixed up, doh!
I have installed the Adafruit_Python_SSD1306 library now.
(There is no mention that I can see about installing other libraries etc
to get the project to work, by the author)
Update:
I did python3 Internet.py
and now only get this error:
pi@raspberrypi:~
A new version of the Python module which wraps GnuPG has been released.
What Changed?=This is an enhancement and security-fix release, and
all users are stronglyencouraged to upgrade.
Brief summary:
* Fixed #108: Changed how any return value from the on_data callable is
processed. In
Hello! I’m not sure if this is the right forum, but I am looking for someone
proficient in Python software to update a website.
I will pay well, and work in the Kansas City area. If this is not the correct
way to find someone who can help, do you have any contacts in the Kansas City
area who
A new version of the Python module which wraps GnuPG has been released.
What Changed?=This is a security-fix release, and all users are
strongly encouraged to upgrade.This fix mitigates against CVE-2018-12020. See
the discoverer's blog post [6] formore information.
Brief summary:
* A
Some community members have been wondering why tickets are not
available yet. We’d like to update you on the current status.
EuroPython is run by the EuroPython Society located in
Sweden. However, the conference being held in the UK, we have to
charge UK VAT for the tickets we sell and submit the
[email protected] writes:
> On Wednesday, April 18, 2018 at 1:59:14 AM UTC-5, Cecil Westerhof wrote:
>> After I updated pip2/3 to 10 from 9 I sometimes get:
>> Cache entry deserialization failed, entry ignored
>>
>> For example when I execute:
>> pip3 list --outdated
>>
>> But not always
On Wednesday, April 18, 2018 at 1:59:14 AM UTC-5, Cecil Westerhof wrote:
> After I updated pip2/3 to 10 from 9 I sometimes get:
> Cache entry deserialization failed, entry ignored
>
> For example when I execute:
> pip3 list --outdated
>
> But not always.
>
> What could be happening here?
After I updated pip2/3 to 10 from 9 I sometimes get:
Cache entry deserialization failed, entry ignored
For example when I execute:
pip3 list --outdated
But not always.
What could be happening here? And how would I solve this?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http:/
:
* EuroPython 2018 Hotel Booking Website *
https://cabsedinburgh.eventsair.com/QuickEventWebsitePortal/europython-2018/home-page
(run by the Edinburgh Convention Bureau)
Update on EuroPython 2018
-
Meanwhile, we wanted to give you an update of where we are with the
conference
Thanks Dan for your response.
I have updated the data to be sent in xml format and now I am able to
update the required fields using put request.
data= '''
web-proxy.xx.com
8080
on
'''
On Thu, Feb 8, 2018 at 10:15 PM, Dan Stromberg wrot
koverflow.com/questions/107390/whats-the-difference-between-a-post-and-a-put-http-request
HTH.
On Thu, Feb 8, 2018 at 12:38 AM, Sum J wrote:
> My xml file is located in local network:
>
> http://192.168.43.109/DevMgmt/NetAppsDyn.xml
>
> Below is a part content of above xml I want
Sum J writes:
> My xml file is located in local network :
> http://192.168.43.109/DevMgmt/NetAppsDyn.xml
>
> Below is a part content of above xml I want to update :
>
>
>
>
> off
>
>
> I want to set value for 'ResourceUI' and
My xml file is located in local network :
http://192.168.43.109/DevMgmt/NetAppsDyn.xml
Below is a part content of above xml I want to update :
off
I want to set value for 'ResourceUI' and 'Port' field in above xml.
I have used bel
Hi, I am trying to batch update mongo using a DataFrame,
df_dict = df[['id', 'name']].to_dict(orient='records')
[{'name': 'vendor1', 'id': '1'},
{'name': 'vendor2', 'id': '2'},
{'
I have my python application running on Raspberry Pi and it needs to be
configured every time. Hence I want to access this .config file over online and
configure it exactly like how we can configure our router, but I want to use
only web sockets.
--
https://mail.python.org/mailman/listinfo/pyth
der (they default to installing
into different folders anyway, e.g. Python34 vs Python36).
thanks
On 21 May 2017 at 22:18, Chris Angelico wrote:
On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote:
> Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64
> (Win 10), the
okay, I see, I will uninstall 3.4 and install 3.6.
thanks
On 21 May 2017 at 22:18, Chris Angelico wrote:
> On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote:
> > Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64
> > (Win 10), the PSF only provides t
On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote:
> Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64
> (Win 10), the PSF only provides tarballs for the 3.4.6 installation.
Do you actually need 3.4.6, or can you upgrade to 3.5 or 3.6? Full
installers are availab
Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64
(Win 10), the PSF only provides tarballs for the 3.4.6 installation.
cheers
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, May 3, 2017 at 3:50:01 PM UTC+1, Joaquin Henriquez wrote:
> >Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and
> >wondering how to update it to 3.5.3. Are there some simple commands to do
> >that?
>
> If available on the Mint repository you s
the kind of
> misconception that could fester for a long time without my every
> realizing it.
They won't update the entire package to 3.4.3 without changing the
version number, but what usually happens is that there are just a
handful of critical security patches on top of 3.4.2. So t
On 05/03/2017 01:14 PM, Matt Ruffalo wrote:
> This isn't quite true -- Ubuntu 14.04 shipped with Python 3.4.0, but was
> updated at some point to 3.4.3 (which will be installed automatically
> through normal update mechanisms).
>
> MMR...
>
Well I'm less worried
On 2017-05-03 12:43, Thomas Nyberg wrote:
> On 05/03/2017 11:47 AM, Wolfgang Maier wrote:
>> On 03.05.2017 17:11, Thomas Nyberg wrote:
>>> On 05/03/2017 11:04 AM, Daiyue Weng wrote:
>>>> nope, I was thinking it might be good to update to 3.5.3 for security
>>
On 05/03/2017 11:47 AM, Wolfgang Maier wrote:
> On 03.05.2017 17:11, Thomas Nyberg wrote:
>> On 05/03/2017 11:04 AM, Daiyue Weng wrote:
>>> nope, I was thinking it might be good to update to 3.5.3 for security
>>> reasons?
>>>
>>
>> (CCing bac
On Thu, May 4, 2017 at 1:47 AM, Wolfgang Maier
wrote:
>> I wouldn't worry about it. Package managers tend to usually take care of
>> security updates. (Of course there is criticism of Linux Mint saying
>> they're not as great at this...) Looking at Ubuntu 16.04, they are still
>> on 3.5.1 (plus Ub
On 03.05.2017 17:11, Thomas Nyberg wrote:
On 05/03/2017 11:04 AM, Daiyue Weng wrote:
nope, I was thinking it might be good to update to 3.5.3 for security
reasons?
(CCing back in python-list since I accidentally dropped it.)
I wouldn't worry about it. Package managers tend to usually
On Thu, May 4, 2017 at 1:03 AM, Daiyue Weng wrote:
> not too urgent, just thinking it might be better to update python to the
> latest version for security reasons?
Let your upstream worry about that. It's their responsibility to
balance security against the potential to break t
On 05/03/2017 11:04 AM, Daiyue Weng wrote:
> nope, I was thinking it might be good to update to 3.5.3 for security
> reasons?
>
(CCing back in python-list since I accidentally dropped it.)
I wouldn't worry about it. Package managers tend to usually take care of
security updat
On Thu, May 4, 2017 at 12:55 AM, Daiyue Weng wrote:
> tried apt-get upgrade, but didn't get python updated, maybe 3.5.3 isn't in
> the repository. Might have to download it and install?
How urgently do you need 3.5.3?
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
not too urgent, just thinking it might be better to update python to the
latest version for security reasons?
On 3 May 2017 at 15:58, Chris Angelico wrote:
> On Thu, May 4, 2017 at 12:55 AM, Daiyue Weng wrote:
> > tried apt-get upgrade, but didn't get python updated, maybe 3.
tried apt-get upgrade, but didn't get python updated, maybe 3.5.3 isn't in
the repository. Might have to download it and install?
On 3 May 2017 at 15:42, Joaquin Henriquez wrote:
> >Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and
> >wondering how to u
On 05/03/2017 10:34 AM, Daiyue Weng wrote:
> Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and
> wondering how to update it to 3.5.3. Are there some simple commands to do
> that?
>
> cheers
>
I wouldn't mess with the system python if I were you. That
>Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and
>wondering how to update it to 3.5.3. Are there some simple commands to do
>that?
If available on the Mint repository you should be able to upgrade it manyally.
Centos: yum upgrade
Debian: apt-get upgrade
Then for
Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and
wondering how to update it to 3.5.3. Are there some simple commands to do
that?
cheers
--
https://mail.python.org/mailman/listinfo/python-list
I'm trying to use dnspython to do a TSIG based dynamic DNS update.
I've followed the example code :
#!/usr/bin/env python
import sys
import dns.update
import dns.query
import dns.tsigkeyring
keyring = dns.tsigkeyring.from_text({
'keyname.' : 'VarFF=2Xts
On 2/24/17, Pablo Lozano wrote:
> Good day,
>
> I installed the Spyder 3.6 IDE from the Anaconda package and at the start k
> to the IDE I get the Spyder Update saying Spyder 3.1.3 is available. Did it
> incorrectly install Anaconda? As far as I know Spyder 3.1.3 is rather old
&
Good day,
I installed the Spyder 3.6 IDE from the Anaconda package and at the start k to
the IDE I get the Spyder Update saying Spyder 3.1.3 is available. Did it
incorrectly install Anaconda? As far as I know Spyder 3.1.3 is rather old and
the latest is 3.6
Regards
Pablo
--
https
On 31/01/17 11:28, Daiyue Weng wrote:
Hi, I am trying to update a list of dictionaries using another list of
dictionaries correspondingly. In that, for example,
# the list of dicts that need to be updated
dicts_1 = [{'dict_1': '1'}, {'dict_2': '2'},
Daiyue Weng writes:
> Hi, I am trying to update a list of dictionaries using another list of
> dictionaries correspondingly. In that, for example,
>
> # the list of dicts that need to be updated
> dicts_1 = [{'dict_1': '1'}, {'dict_2': '2
Hi, I am trying to update a list of dictionaries using another list of
dictionaries correspondingly. In that, for example,
# the list of dicts that need to be updated
dicts_1 = [{'dict_1': '1'}, {'dict_2': '2'}, {'dict_3': '3'}]
#
Hi,
I updated the cheat sheet on the aesthetic side. Parts bloc and their
title are now more easily identified with colors (but its nice with B&W
printing too).
French and german versions have also been updated.
See https://perso.limsi.fr/pointal/python:memento
A+
L.Pointal.
--
https://mail.p
On 2016-11-11 13:29, Peter Otten wrote:
> The same using update(), with a generator expression that avoids
> the intermediate dict:
>
> >>> dict1 = {'A': 'a', 'B': 'b', 'C': 'c'}
> >>> dict1.update((
Tim Chase wrote:
> On 2016-11-11 11:17, Daiyue Weng wrote:
>> dict1 = {'A': 'a', 'B': 'b', 'C': 'c'}
>> dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'}
>>
&
On 2016-11-11 11:17, Daiyue Weng wrote:
> dict1 = {'A': 'a', 'B': 'b', 'C': 'c'}
> dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'}
>
> I am wondering how to update d
Hi, I have two dicts, e.g.
dict1 = {'A': 'a', 'B': 'b', 'C': 'c'}
dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'}
I am wondering how to update dict1 using dict2 that
o
On 03Apr2016 11:24, Hongyi Zhao wrote:
On Sun, 03 Apr 2016 18:20:31 +1000, Cameron Simpson wrote:
In particular, you want the subprocess' output. As written, your code
sets "output" to the Popen object. You actually want to set it to the
.stdout attribute of that object, which is the output fr
On Sun, 03 Apr 2016 18:20:31 +1000, Cameron Simpson wrote:
> In particular, you want the subprocess' output. As written, your code
> sets "output" to the Popen object. You actually want to set it to the
> .stdout attribute of that object, which is the output from the
> subcommand.
Based on your a
On 03Apr2016 14:24, Steven D'Aprano wrote:
On Sun, 3 Apr 2016 01:29 pm, Hongyi Zhao wrote:
I use the following code to update the os.environ with subprocess.Popen:
I don't understand what you are trying to do here. But regardless of your
intention, the problem you have is nothing
On Sun, 3 Apr 2016 01:29 pm, Hongyi Zhao wrote:
> Hi all,
>
> I use the following code to update the os.environ with subprocess.Popen:
I don't understand what you are trying to do here. But regardless of your
intention, the problem you have is nothing to do with updating os.
5, in
>> os.environ.update(line.partition('=')[::2] for line in output.split
>> ('\0'))
>> AttributeError: 'Popen' object has no attribute 'split'
>> ---
>
> So your problem is nothing to do with “update ‘o
Hongyi Zhao writes:
> I use the following code to update the os.environ with
> subprocess.Popen
Again, it is quite misleading to describe what you are doing as “update
the os.environ with subprocess.Popen”.
The ‘subprocess.Popen’ call *cannot* upsdate the Python process's
‘os.envi
Hi all,
I use the following code to update the os.environ with subprocess.Popen:
-
from subprocess import Popen
output = Popen("""
/bin/bash <
os.environ.update(line.partition('=')[::2] for line in output.split
('\0'))
AttributeError:
Hi all,
I use the following code to update the os.environ with subprocess.Popen:
-
from subprocess import Popen
output = Popen("""
/bin/bash <
os.environ.update(line.partition('=')[::2] for line in output.split
('\0'))
AttributeError:
Hi all,
I use the following code to update the os.environ with subprocess.Popen:
-
from subprocess import Popen
output = Popen("""
/bin/bash <
os.environ.update(line.partition('=')[::2] for line in output.split
('\0'))
AttributeError:
1 - 100 of 561 matches
Mail list logo