Steven D'Aprano writes:
> I have select.poll, but I'm looking for something like ppoll instead. From
> the Linux man page:
I don't understand your post: do you have a question?
Also I thought the current preferred practice was to use epoll.
--
https://mail.python.org/mailman/listinfo/python-li
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpuɐʇs əp
Hi
I wanted to know whether it is possible in python to pause and resume the file
upload process to AWS S3, I tried a lot but I did not get any solution so I
request you to get me a solution for this.
If it is possible to do so can you please let me know how to do.
My alternate email id = as
Hi All---
I am new to Pandas. I am trying to load a csv file into pandas using
import pandas as pd
f = pd.read_csv(OSATemp.csv')
Even though I was able to read and manipulate the file in Python343, in
Pandas the file could not be loaded. When I run the above statement, I get
a series of ma
Hello...
I have tried installing both Python 2.7 and 3.5, and in both cases I cannot get
IDLE to work. I received the following message both times:
IDLE’s subprocess didn’t make connection. Either IDLE can’t start a subprocess
or personalfirewall software is blocking the connection.
I am running
On 20/10/15 22:33, jon...@mail.python.org wrote:
In your comment you mentioned that convention is to declare variables
(and constants?) in the construction (__ini__).
I would suggest that 'constants' are not 'declared' in the __init__
method body, but either as class variables or (see later)
On Wed, 21 Oct 2015 00:09:18 +1100
Steven D'Aprano wrote:
> I don't believe that the Python mailing list archives are hosted in a
> country under the jurisdiction of European Law. If I'm right, then
> removing posts sets a dangerous precedent of obeying laws in foreign
> countries that don't ap
On Thu, Oct 22, 2015 at 8:57 AM, Ek Esawi wrote:
>
> Traceback (most recent call last):
>
> File "C:\Users\EK Esawi\Anaconda3\Scripts\file1.py", line 3, in
>
> f = pd.read_csv('c:/Users/EK Esawi/My Documents/Temp/GOSATemp.csv')
>
> File "C:\Users\EK Esawi\Anaconda3\lib\site-packages\pandas\
On Thu, Oct 22, 2015 at 11:45 AM, John O'Hagan wrote:
> On Wed, 21 Oct 2015 00:09:18 +1100
> Steven D'Aprano wrote:
>
>
>> I don't believe that the Python mailing list archives are hosted in a
>> country under the jurisdiction of European Law. If I'm right, then
>> removing posts sets a dangerous
On Wednesday, October 21, 2015 at 11:26:40 PM UTC+1, eryksun wrote:
>
> Also check out the curses module that's available on Christoph Gohlke's site:
>
> http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses
Neat. I wasn't aware of this library of wheel installations. I'll have a look
at how
In a message of Thu, 22 Oct 2015 16:38:52 +1100, "Steven D'Aprano" writes:
>Using Python 2.6, don't hate me.
>Technically, *I* don't want this, it's one of my work-colleagues. He says:
>
>"My high-level goal is to run a callback function whenever the alsa mixer
>level changes. The C alsa API pro
In a message of Thu, 22 Oct 2015 02:02:28 -0700, Peter Brittain writes:
>On Wednesday, October 21, 2015 at 11:26:40 PM UTC+1, eryksun wrote:
>>
>> Also check out the curses module that's available on Christoph Gohlke's site:
>>
>> http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses
>
>Neat. I
Maybe I've been too cryptic. I apologize.
Il 22/10/2015 01:35, JonRob ha scritto:
@Dennis,
Thanks for your example. My structure is very similar.
And that's ok. But you can also 'attach' the constants to a class, if it
makes sense. For example, the same code of Dennis can be written as:
On Thu, 22 Oct 2015 19:05:04 +1100
Chris Angelico wrote:
> On Thu, Oct 22, 2015 at 11:45 AM, John O'Hagan
[...]
> >
> > For better or worse, that's not how defamation law works. Generally,
> > the defaming is regarded as happening where the material is read,
> > i.e. at the point of download. T
On 22 October 2015 at 09:05, Chris Angelico wrote:
> On Thu, Oct 22, 2015 at 11:45 AM, John O'Hagan wrote:
>> On Wed, 21 Oct 2015 00:09:18 +1100
>> Steven D'Aprano wrote:
>>
>>
>>> I don't believe that the Python mailing list archives are hosted in a
>>> country under the jurisdiction of Europea
On Thursday, October 22, 2015 at 10:24:11 AM UTC+1, Laura Creighton wrote:
> Fredrik Lundh's console implementation
> http://effbot.org/zone/console-handbook.htm
> might be of interest in that case, but I think it is 'old versions
> of windows only'. But it's a different take on the abstraction
>
On 22 October 2015 at 11:56, Peter Brittain wrote:
> On Thursday, October 22, 2015 at 10:24:11 AM UTC+1, Laura Creighton wrote:
>> Fredrik Lundh's console implementation
>> http://effbot.org/zone/console-handbook.htm
>> might be of interest in that case, but I think it is 'old versions
>> of windo
In a message of Thu, 22 Oct 2015 11:33:13 +0100, Oscar Benjamin writes:
>I have a feeling that something may have changed recently but
>certainly until a few years ago we used to have lots of cases of
>"libel tourism" in the UK. This is where someone decides to bring a
>libel case which has nothing
Steven D'Aprano :
> I have select.poll, but I'm looking for something like ppoll instead. From
> the Linux man page:
>
>ppoll()
>The relationship between poll() and ppoll() is analogous to the
>relationship between select(2) and pselect(2): like pselect(2),
>ppo
"Peter Brittain" wrote:
I have recently been working on a terminal/console animation package
(https://github.com/peterbrittain/asciimatics).
I tried installing your package with "pip.exe -v install asciimatics".
Some problem with pypiwin32 it seems:
Installing collected packages: pypiwin32,
The UK libel reform act of 2013, I see, may be responsible for
the decline in libel tourism.
http://www.libelreform.org/
Laura
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, October 22, 2015 at 12:25:09 PM UTC+1, Gisle Vanem wrote:
> I tried installing your package with "pip.exe -v install asciimatics".
> Some problem with pypiwin32 it seems:
>
> Installing collected packages: pypiwin32, future, Pillow, pyfiglet,
> asciimatics
>
> Cleaning up...
> E
On 22 October 2015 at 12:36, Laura Creighton wrote:
>
> The UK libel reform act of 2013, I see, may be responsible for
> the decline in libel tourism.
> http://www.libelreform.org/
Yes I think so. From Wikipedia:
"""
A court does not have jurisdiction to hear and determine any action,
unless the
On Thu, Oct 22, 2015 at 10:22 PM, Gisle Vanem wrote:
> IOError: [Errno 13] Permission denied:
> 'g:\\Programfiler\\Python27\\Lib\\site-packages\\win32\\win32api.pyd'
>
> -
>
> BTW, this is on Python 2.7.9 on Win-XP SP3.
Does that file exist? A .pyd file is a DLL, so if it already exists
and
"Chris Angelico" wrote:
On Thu, Oct 22, 2015 at 10:22 PM, Gisle Vanem wrote:
IOError: [Errno 13] Permission denied:
'g:\\Programfiler\\Python27\\Lib\\site-packages\\win32\\win32api.pyd'
-
BTW, this is on Python 2.7.9 on Win-XP SP3.
Does that file exist? A .pyd file is a DLL, so if it
On Thu, Oct 22, 2015 at 11:42 PM, Gisle Vanem wrote:
> I think the Errno 13 (=EACCESS) is due to another module (WConio.pyd) that
> seems gets loaded via my site-customize.py is using this
> win32api.pyd. Hence it's is in use and shutil fails in updating it.
Ah, that might well be it. Does it wor
Here is the whole output. EKE
Traceback (most recent call last):
File "C:\Users\EK Esawi\Anaconda3\Scripts\MyFile.py", line 3, in
f = pd.read_csv('c:/Users/EK Esawi/My Documents/Temp/GOSATemp1.csv')
File "C:\Users\EK
Esawi\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 474, in
On 22 October 2015 at 13:42, Gisle Vanem wrote:
> "Chris Angelico" wrote:
>
>> On Thu, Oct 22, 2015 at 10:22 PM, Gisle Vanem wrote:
>>>
>>> IOError: [Errno 13] Permission denied:
>>> 'g:\\Programfiler\\Python27\\Lib\\site-packages\\win32\\win32api.pyd'
>>>
>>> -
>>>
>>> BTW, this is on Pyth
Hi Ek,
> On 22 Oct 2015, at 14:44, Ek Esawi wrote:
>
> f = pd.read_csv('c:/Users/EK Esawi/My Documents/Temp/GOSATemp1.csv')
> File "pandas\parser.pyx", line 1382, in pandas.parser._string_box_utf8
> (pandas\parser.c:17655)
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 8
"Chris Angelico" wrote:
Ah, that might well be it. Does it work if you run:
python -S -m pip install --upgrade win32api
Hm.
c:\>python2 -S -m pip install --upgrade win32api
Collecting win32api
Could not find any downloads that satisfy the requirement win32api
No distributions at al
Thanks you all for the input. Michiel's suggestion worked. At first It gave
me an error about "low_memory"; once i sat low_memory to false, it worked.
I am new to pandas and i am working on a 20,000 record csv file with mixed
data types and in many cases, one entry (cell) has a combination of str
I want that this script runs to times from the upper line to the buttom line.
I tried with for x in range(2): but that didn't work
The GoPiGo is a small robot on wheels.
The API codes are here:
http://www.dexterindustries.com/GoPiGo/programming/python-programming-for-the-
raspberry-pi-gopigo/
f
On Thu, 22 Oct 2015 11:45 am, John O'Hagan wrote:
> On Wed, 21 Oct 2015 00:09:18 +1100
> Steven D'Aprano wrote:
>
>
>> I don't believe that the Python mailing list archives are hosted in a
>> country under the jurisdiction of European Law. If I'm right, then
>> removing posts sets a dangerous
On 2015-10-22 16:07, input/ldompel...@casema.nl wrote:
I want that this script runs to times from the upper line to the buttom line.
I tried with for x in range(2): but that didn't work
You say "didn't work", but in what way didn't it work?
The GoPiGo is a small robot on wheels.
The API code
In reply to "MRAB" who wrote the following:
> On 2015-10-22 16:07, input/ldompel...@casema.nl wrote:
> > I want that this script runs to times from the upper line to the buttom
> > line.
> > I tried with for x in range(2): but that didn't work
>
> You say "didn't work", but in what way didn't it
On 2015-10-22 16:45, input/ldompel...@casema.nl wrote:
In reply to "MRAB" who wrote the following:
On 2015-10-22 16:07, input/ldompel...@casema.nl wrote:
> I want that this script runs to times from the upper line to the buttom
> line.
> I tried with for x in range(2): but that didn't work
You
Nagy László Zsolt wrote:
> Today I have tried to register and upload a new package by executing
>
> setup.py register
>
>
> I was asked if I want to save the creditentials in a .pypirc file and I
> answered yes.
>
> Next I wanted to run
>
> setup.py upload
>
> and I got this error:
>
>
> T
>
> Could be http://bugs.python.org/issue20120 ?
Almost. Except that the password was saved incorrectly by distutils
itself. So maybe the read part should not be fixed, but the write part
should.
--
https://mail.python.org/mailman/listinfo/python-list
http://gadgetzz.com/2015/10/12/this-creepy-puzzle-arrived-in-our-mail/
--
https://mail.python.org/mailman/listinfo/python-list
On 10/21/2015 11:24 AM, Terry Alexander via Python-list wrote:
I have tried installing both Python 2.7 and 3.5, and in both cases I
cannot get IDLE to work. I received the following message both times:
What OS? Windows? which version? How did you start IDLE? Start menu
icon? Command line?
Hello,
I'm trying to install the yowsup2-2.4.2.tar from pypi, but my system gives
warnings and errors:
warning: GMP or MPIR library not found; Not building
Crypto.PublicKey._fastmath.
more in detail:
running build_ext
building 'Crypto.Random.OSRNG.winrandom' extension
warning: GMP o
Hi everybody,
I'm writing an python script test for mobile App (for Android). One of them
is to test memory device. I have one test to try to install an APK on
device that doesn't have enough memory, so I want to catch this exception:
03:27:35 E/ddms: transfer error: No space left on device
03:27:
cas...@walboomers.nl writes:
> warning: GMP or MPIR library not found; Not building
> Crypto.PublicKey._fastmath.
> How to fix this problem? Or should I run another (lower) version of python?
See if the program works anyway without _fastmath. It would use the
built-in Python arithmetic which
43 matches
Mail list logo