Larry Martell writes:
> I have an app that uses the logging package with a SocketHandler to
> send messages. Now I've been asked to change it so that it can receive
> a response for each log message sent. It appears there is no way to do
> this with logging package. Is that true?
You are right.
Thomas Güttler writes:
> ...
> Why we are unhappy with logging to files:
>
> - filtering: We don't want to get INFO messages over the VPN.
You can quite easily control at what level messages are logged with
the standard Python logging framework. Each handler has a level
and will ignore messages
Le 09/09/2015 20:58, Gary Roach a écrit :
On 09/09/2015 01:45 PM, John Gordon wrote:
In Gary Roach
writes:
Traceback (most recent call last):
File "/root/mystuff/mystuff/ex39_test.py", line 6, in
hashmap.set(states, 'Oregon', 'OR')
File "/root/mystuff/mystuff/hashmap.py", line
Stefan Behnel writes:
> dieter schrieb am 09.09.2015 um 10:20:
>> Palpandi writes:
>>> Is it better to use pyxb than lxml?
>>>
>>> What are the advantages of lxml and pyxb?
>>
>> "pyxb" has a different aim than "lxml".
>>
>> "lxml" is a general purpose library to process XML documents.
>> It gi
Hey,
its resolved by small tweak :)
do child.sendline('logout') instead of child.logout()
Thanks...
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Sep 10, 2015 at 7:58 AM, Julio Alonso wrote:
> have a problem to import a multiprocessing module. I am using Python 2.7 and
> Windows 8. The program (.py) is executed since MS-DOS console.
>
> If I run the program the output is "ImportError: No module named
> multiprocessing".
>
> If I exe
On Tuesday, 8 September 2015 17:07:24 UTC+5:30, hariramm...@gmail.com wrote:
> Some where i am missing simple logic :)
>
> =
> child = pexpect.spawn('ssh hari@hostname')
> child.logfile = sys.stdout
> child.expect('hari\'s Password: ')
> =
>
> getting error as follows:
>
On 09/09/2015 01:45 PM, John Gordon wrote:
In Gary Roach
writes:
Traceback (most recent call last):
File "/root/mystuff/mystuff/ex39_test.py", line 6, in
hashmap.set(states, 'Oregon', 'OR')
File "/root/mystuff/mystuff/hashmap.py", line 50, in set
i, k, v = get_slot(aMap,
On 09/09/2015 01:45 PM, John Gordon wrote:
In Gary Roach
writes:
Traceback (most recent call last):
File "/root/mystuff/mystuff/ex39_test.py", line 6, in
hashmap.set(states, 'Oregon', 'OR')
File "/root/mystuff/mystuff/hashmap.py", line 50, in set
i, k, v = get_slot(aMap,
Gary Roach writes:
> Python 2.7 (It's going to be a while before 2,7 goes away. There is
> just too much code out there.
The time since Python 2 got any improvements is long in the past, and it
will never get any more.
It is rapidly becoming the case that new libraries just don't support
Python
On Thu, Sep 10, 2015 at 3:27 AM, Gary Roach wrote:
>
> Python 2.7 (It's going to be a while before 2,7 goes away. There is just too
> much code out there.
2.7 isn't going to go away, but that doesn't mean you should learn on
it. Unless you have a particular reason for learning 2.7, I would
recomm
On Thu, Sep 10, 2015 at 1:58 PM, chenc...@inhand.com.cn
wrote:
> hi:
>This is not a question about python. It is a shell question. I'm sorry to
> bother you. But I really want to know it. As follow:
>I want to set a shell environment variable:PYTHONPATH. When i execute
> echo $PYTHONPATH,
hi:
This is not a question about python. It is a shell question. I'm
sorry to bother you. But I really want to know it. As follow:
I want to set a shell environment variable:PYTHONPATH. When i
executeecho $PYTHONPATH, it is
value:/usr/lib/python/Lib:/usr/lib/python/lib/python27.zip:/var/a
On 09/09/2015 01:45 PM, John Gordon wrote:
In Gary Roach
writes:
Traceback (most recent call last):
File "/root/mystuff/mystuff/ex39_test.py", line 6, in
hashmap.set(states, 'Oregon', 'OR')
File "/root/mystuff/mystuff/hashmap.py", line 50, in set
i, k, v = get_slot(aMap,
I've installed 3.5 for all users so it's in C:\Program Files
From
https://docs.python.org/3.5/using/windows.html#from-the-command-line it
says "System-wide installations of Python 3.3 and later will put the
launcher on your PATH. The launcher is compatible with all available
versions of Pytho
On 9/9/2015 3:35 PM, Denis McMahon wrote:
On Tue, 08 Sep 2015 17:44:26 -0500, Nassim Gannoun wrote:
My question is in a while loop; how do l sum all the numbers in the
given list (list_a)?
You don't normally use a while loop or a counter to iterate over a list.
Such a question should only be
On Tue, 08 Sep 2015 17:44:26 -0500, Nassim Gannoun wrote:
> My question is in a while loop; how do l sum all the numbers in the
> given list (list_a)?
You don't normally use a while loop or a counter to iterate over a list.
Such a question should only be used as a precursor to discussing better
On Wed, 09 Sep 2015 20:45:57 +, John Gordon wrote:
> In any case, I saved your code and ran it, and did not get an error.
+1
I think "Execution Succesful!" might be coming from his IDE?
--
Denis McMahon, denismfmcma...@gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
I have a list of Pandas Dataframes that I am attempting to combine using the
concatenation function.
dataframe_lists = [df1, df2, df3]
result = pd.concat(dataframe_lists, keys = ['one', 'two','three'],
ignore_index=True)
The full traceback that I receive when I execute this function is:
-
In Gary Roach
writes:
> Traceback (most recent call last):
>File "/root/mystuff/mystuff/ex39_test.py", line 6, in
> hashmap.set(states, 'Oregon', 'OR')
>File "/root/mystuff/mystuff/hashmap.py", line 50, in set
> i, k, v = get_slot(aMap, key)
> TypeError: 'NoneType' object is
On Wed, 09 Sep 2015 17:21:59 +0100, Tim Golden wrote:
> On 09/09/2015 17:16, Wolfgang Maier wrote:
>> On 09.09.2015 10:23, Chris Angelico wrote:
>>> On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
>>> wrote:
Whenever I start PIP, I get:
"Fatal error in launcher: Unable to
On Wed, Sep 9, 2015, at 15:59, Tim Golden wrote:
> On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
> > Yes, you are right, let me append the message.
> > Just after a fresh install of Python with PIP on Windows.
> > Whenever I start PIP, I get:
> > "Fatal error in launcher: Unable to crea
On 09.09.2015 21:59, Tim Golden wrote:
Well on my Win8.1 machine I created a local user with the name you give
and did a fresh install of the very latest Python 3.5rc. I installed
from the 32-bit web installer and the only variation from the defaults
was to add Python to the PATH (the last check
On 09/09/2015 20:57, Mario Figueiredo wrote:
On 09-09-2015 18:55, Steven D'Aprano wrote:
On Wed, 9 Sep 2015 11:09 am, Mario Figueiredo wrote:
You know, it is a pointless exercise to try and downplay programming
languages (any programming language) that has proven its worth by being
generally a
On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
Dear group,
I do use Windows 7 and have a user name with diacritics.
Whenever I am querying an extension with pip, it w
On 09-09-2015 18:55, Steven D'Aprano wrote:
> On Wed, 9 Sep 2015 11:09 am, Mario Figueiredo wrote:
>
>> You know, it is a pointless exercise to try and downplay programming
>> languages (any programming language) that has proven its worth by being
>> generally adopted by the programming community.
On 09/09/2015 20:14, Laura Creighton wrote:
In a message of Thu, 10 Sep 2015 05:00:22 +1000, Chris Angelico writes:
To get started, you need some other sort of kick.
Having Brian Kernighan write a really nice book about you, helps a lot.
Laura
Who? Did he play left wing or right wing for
On 2015-09-09 20:03, John McKenzie wrote:
Hello.
As per the suggestion of two of you I went to the Raspberry Pi
newsgroup. Dennis is also there and has been posting in response to my
problems. Between there and the Raspberry Foundation website I discovered
that my wiring did not match my co
On Thu, Sep 10, 2015 at 5:20 AM, Mark Lawrence wrote:
> On 09/09/2015 18:59, William Ray Wing wrote:
>> Right. Note that the Arabs, who DID invent zero, still count from one.
>
> Would you please provide a citation to support your claim as this
> http://www.livescience.com/27853-who-invented-zero
On 2015-09-09 18:59, William Ray Wing wrote:
On Sep 9, 2015, at 1:22 PM, Steven D'Aprano wrote:
[byte]
I think my favourite is the guy who claims that the reason natural languages
all count from 1 is because the Romans failed to invent zero. (What about
languages that didn't derive from
On 09/09/2015 18:59, William Ray Wing wrote:
On Sep 9, 2015, at 1:22 PM, Steven D'Aprano wrote:
[byte]
I think my favourite is the guy who claims that the reason natural languages
all count from 1 is because the Romans failed to invent zero. (What about
languages that didn't derive from
On 09.09.2015 21:00, Chris Angelico wrote:
Suppose it's possible, somehow, to design the perfect language. (It
isn't, because the best language for a job depends on the job, but
suppose it for the nonce.) It is simultaneously more readable than
Python, more ugly than Perl, more functional than Ha
On Thu, Sep 10, 2015 at 5:14 AM, Laura Creighton wrote:
> In a message of Thu, 10 Sep 2015 05:00:22 +1000, Chris Angelico writes:
>>To get started, you need some other sort of kick.
>
> Having Brian Kernighan write a really nice book about you, helps a lot.
It kinda does. And of course, it also h
In a message of Thu, 10 Sep 2015 05:00:22 +1000, Chris Angelico writes:
>To get started, you need some other sort of kick.
Having Brian Kernighan write a really nice book about you, helps a lot.
Laura
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Sep 10, 2015 at 4:26 AM, Sven R. Kunze wrote:
>> Adoption of programming languages is driven by many things, technical
>> excellence and careful design are not even in the top 10. Most of them are
>> social in nature, particularly "what is everyone else using?". Network
>> effects dominate
Hello.
As per the suggestion of two of you I went to the Raspberry Pi
newsgroup. Dennis is also there and has been posting in response to my
problems. Between there and the Raspberry Foundation website I discovered
that my wiring did not match my code and changed all PUD_DOWN to PUD_UP
and
> On Sep 9, 2015, at 1:22 PM, Steven D'Aprano wrote:
>
>
[byte]
>
> I think my favourite is the guy who claims that the reason natural languages
> all count from 1 is because the Romans failed to invent zero. (What about
> languages that didn't derive from Latin, say, Chinese?)
Right. Note
On Wed, Sep 9, 2015, at 13:55, Steven D'Aprano wrote:
> In fairness to the C creators, I'm sure that nobody back in the early
> seventies imagined that malware and security vulnerabilities would be as
> widespread as they have become. But still, the fundamental decisions made
> by C are lousy. Assi
Hi all
I am new to python but not programming (Although rusty) and am using
Learning Python The Hard Way. I really like it.
System:
---
Debian 8 (jessie)
KDE Desktop
Python 2.7 (It's going to be a while before 2,7 goes away. There is just
too much code out there.
Ninja-IDE IDE
On 09.09.2015 19:55, Steven D'Aprano wrote:
On Wed, 9 Sep 2015 11:09 am, Mario Figueiredo wrote:
You know, it is a pointless exercise to try and downplay programming
languages (any programming language) that has proven its worth by being
generally adopted by the programming community. Adoption
On 9/9/2015 10:55 AM, Steven D'Aprano wrote:
(I wanted to link to the "Everything Is Broken" essay on The Medium, but the
page appears to be gone.
Is this it?
http://www.sott.net/article/280956-Everything-is-broken-on-the-Internet
--
https://mail.python.org/mailman/listinfo/python-list
In a message of Thu, 10 Sep 2015 03:55:54 +1000, "Steven D'Aprano" writes:
>(I wanted to link to the "Everything Is Broken" essay on The Medium, but the
>page appears to be gone. This makes me sad. BTW, what's the point of
>Google's cache when it just redirects to the original, missing, page?)
Wor
On Wed, 9 Sep 2015 11:09 am, Mario Figueiredo wrote:
> You know, it is a pointless exercise to try and downplay programming
> languages (any programming language) that has proven its worth by being
> generally adopted by the programming community. Adoption is the sign of
> a respected and well des
On Wed, 9 Sep 2015 07:37 pm, Φώντας Λαδοπρακόπουλος wrote:
[...]
> [root@superhost ~]# /opt/rh/python33/root/usr/bin/python -V
> /opt/rh/python33/root/usr/bin/python: error while loading shared
> libraries: libpython3.3m.so.1.0: cannot open shared object file: No such
> file or directory
Again?
On Thu, Sep 10, 2015 at 3:22 AM, Steven D'Aprano wrote:
> I think my favourite is the guy who claims that the reason natural languages
> all count from 1 is because the Romans failed to invent zero. (What about
> languages that didn't derive from Latin, say, Chinese?) And that now that
> we have z
On Thu, 10 Sep 2015 02:09 am, Christian Gollwitzer wrote:
> Am 09.09.15 um 05:23 schrieb Steven D'Aprano:
>> And yes, the fellow Joe who completely missed the point of the blog post,
>> and made the comment "You don’t think you’re wrong and that’s part of a
>> much larger problem, but you’re still
On 09/09/2015 16:04, Antoon Pardon wrote:
Op 09-09-15 om 05:27 schreef Steven D'Aprano:
In the case of case/switch, there is no consensus on what the statement
should do, how it should work, what purpose it has, or what syntax it
should use. Rather than "there's no alternative to a case stateme
On 09/09/2015 17:16, Wolfgang Maier wrote:
> On 09.09.2015 10:23, Chris Angelico wrote:
>> On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
>> wrote:
>>> Whenever I start PIP, I get:
>>> "Fatal error in launcher: Unable to create process using '"C:\Users
>>> \BürgerGegenFluglärm\App
On 09.09.2015 10:23, Chris Angelico wrote:
On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
wrote:
Whenever I start PIP, I get:
"Fatal error in launcher: Unable to create process using '"C:\Users
\BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
\python.exe" "C:\Use
Am 09.09.15 um 05:23 schrieb Steven D'Aprano:
And yes, the fellow Joe who completely missed the point of the blog post,
and made the comment "You don’t think you’re wrong and that’s part of a
much larger problem, but you’re still wrong" completely deserved to be
called out on his lack of reading
On 09/09/2015 14:10, Chris Angelico wrote:
> Don't bother responding to jmf - he's our resident Unicode troll. His
> posts don't get through to me any more, except when someone responds
> :) Not sure where they're getting blocked; probably at the news<->list
> boundary.
They're held for mailing li
Op 09-09-15 om 05:27 schreef Steven D'Aprano:
>
>> Were those polls, like the poll he once did for the condtional expression?
>> There the poll indicated no specific proposal had a majority, so for each
>> specific proposal one could say it didn't have popular support, but the
>> majority still pre
On behalf of the Python development community and the Python 3.5 release
team, I'm surprised to announce the availability of Python 3.5.0rc4,
also known as Python 3.5.0 Release Candidate 4.
Python 3.5.0 Release Candidate 3 was only released about a day ago.
However: during testing, a major
On Wed, Sep 9, 2015 at 9:07 PM, Laszlo Lebrun via Python-list
wrote:
> On Wed, 09 Sep 2015 00:22:31 -0700, wxjmfauth wrote:
>
>> Yes, I know how to fix all these problems.
>
> I know as well: have a user, which name is just plain ASCII.
> But it sucks to rebuild everything...
Don't bother respond
On Tue, 08 Sep 2015 17:44:26 -0500, Nassim Gannoun wrote:
> Hi I'm also new to Python but would like to reply.
> Like others have stated there is a built in function (sum) that can give
> the sum of the elements of a list, but if what you are trying to do is
> learn how to use the while command he
On Tuesday, 8 September 2015 17:07:24 UTC+5:30, hariramm...@gmail.com wrote:
> Some where i am missing simple logic :)
>
> =
> child = pexpect.spawn('ssh hari@hostname')
> child.logfile = sys.stdout
> child.expect('hari\'s Password: ')
> =
>
> getting error as follows:
>
On Wed, 09 Sep 2015 00:22:31 -0700, wxjmfauth wrote:
> Yes, I know how to fix all these problems.
I know as well: have a user, which name is just plain ASCII.
But it sucks to rebuild everything...
--
Stand up against TTIP and ISDS !
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 09 Sep 2015 09:13:41 +0100, Tim Golden wrote:
> On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
>> On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
>>
>>> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
Dear group,
I do use Windows 7 and have a u
>Hey All,
>
>I am able to achieve this using pxssh.. thank you for help...
Great to hear it. Good luck with the crazies.
Laura
--
https://mail.python.org/mailman/listinfo/python-list
In a message of Wed, 09 Sep 2015 01:58:30 -0700, harirammanohar...@gmail.com wr
ites:
>Thank you for spawnu, now i got stuck with freezing issue similar to it is not
>returing to the shell prompt...its on waiting...i had to press ctrl+c
>
>===
>child.sendline(password)
>child.expect('-bas
Op 09-09-15 om 01:55 schreef Michael Torrie:
> In any case, 0-based indexing in Python makes a lot of sense when you
> bring in the slicing syntax. Especially if you think of slicing as
> operating on the boundaries between cells as it were.
Then you have never used slices with a negative step.
I
I have an app that uses the logging package with a SocketHandler to
send messages. Now I've been asked to change it so that it can receive
a response for each log message sent. It appears there is no way to do
this with logging package. Is that true? Can I not receive data over a
socket used in a l
dieter schrieb am 09.09.2015 um 10:20:
> Palpandi writes:
>> Is it better to use pyxb than lxml?
>>
>> What are the advantages of lxml and pyxb?
>
> "pyxb" has a different aim than "lxml".
>
> "lxml" is a general purpose library to process XML documents.
> It gives you an interface to the documen
On Tuesday, 8 September 2015 17:07:24 UTC+5:30, hariramm...@gmail.com wrote:
> Some where i am missing simple logic :)
>
> =
> child = pexpect.spawn('ssh hari@hostname')
> child.logfile = sys.stdout
> child.expect('hari\'s Password: ')
> =
>
> getting error as follows:
>
On Thursday, 3 September 2015 22:25:06 UTC+5:30, Palpandi wrote:
> Hi All,
>
> Is there any module available in python standard library for XML binding? If
> not, any other suggestions.
>
> Which is good for parsing large file?
> 1. XML binding
> 2. Creating our own classes
>
>
> Thanks,
> Pa
On Tuesday, 8 September 2015 17:07:24 UTC+5:30, hariramm...@gmail.com wrote:
> Some where i am missing simple logic :)
>
> =
> child = pexpect.spawn('ssh hari@hostname')
> child.logfile = sys.stdout
> child.expect('hari\'s Password: ')
> =
>
> getting error as follows:
>
Up to now we use simple logging to files.
We don't use syslog or an other server based solution.
I am unsure which architecture works for our environment.
Our environment:
- django based applications
- a lot of batch/cron jobs (non web gui) processing
- One linux server runs several systems.
On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
wrote:
> Whenever I start PIP, I get:
> "Fatal error in launcher: Unable to create process using '"C:\Users
> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> \python.exe" "C:\Users\B³rgerGegenFluglõrm\AppData\Local\P
Palpandi writes:
> Is it better to use pyxb than lxml?
>
> What are the advantages of lxml and pyxb?
"pyxb" has a different aim than "lxml".
"lxml" is a general purpose library to process XML documents.
It gives you an interface to the document's resources (elements,
attributes, comments, proce
On 9/9/2015 2:09 AM, Ben Finney wrote:
Terry Reedy writes:
[Reply] should send the reply to the list.
The function named “reply” normally means “reply individually to the
author”, and that's how it needs to stay.
Oh, right. I was thinking of 'Followup' and that should go to the list,
an
On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
> On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
>
>> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>>>
>>> Dear group,
>>> I do use Windows 7 and have a user name with diacritics.
>>>
>>> Whenever I am querying an ext
On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>>
>> Dear group,
>> I do use Windows 7 and have a user name with diacritics.
>>
>> Whenever I am querying an extension with pip, it will fail since it
>> does not pass on the user
Chris Angelico writes:
> Personally, what I do (which I'm doing with this post) is to use
> Gmail's "reply-all" feature, and then manually delete the individual
> addresses.
That is testimony in support of the position that Google Mail is a
poorly-designed interface for discussion forums such as
On Wed, Sep 9, 2015 at 4:37 PM, Nick Sarbicki wrote:
> My question then is do you reply to all (with a clean cc list but including
> an OP from outside the list) in response to a persons question, even if the
> question is relatively simple.
>
> For me it's appreciated so that you know someone is
Nick Sarbicki writes:
> My question then is do you reply to all (with a clean cc list but
> including an OP from outside the list) in response to a persons
> question
If the question was addressed to this forum, then answering the question
should also be addressed to this forum. So: reply to lis
75 matches
Mail list logo