On Fri, Feb 5, 2016 at 4:10 PM, Ben Finney wrote:
> Sorry to learn that. The PyPI metadata for ‘python-daemon’
> https://pypi.python.org/pypi/python-daemon/> explicitly declares
> the supported OS limited to “Operating System :: POSIX”, which MS
> Windows is not compatible with.
Depends on the ve
On Sat, Feb 6, 2016 at 2:27 AM, Tim Chase wrote:
> On 2016-02-05 17:57, Bernardo Sulzbach wrote:
>> CSVs is essentially text separated by commas, so you likely do not
>> need any library to write it "Just separating with ','" should work
>> if you are formatting them correctly.
>
>> https://mail.p
On 2016-02-05 17:57, Bernardo Sulzbach wrote:
> CSVs is essentially text separated by commas, so you likely do not
> need any library to write it "Just separating with ','" should work
> if you are formatting them correctly.
> https://mail.python.org/mailman/listinfo/python-list
And even if you ha
On Sat, Feb 6, 2016 at 9:35 AM, wrote:
> On Friday, February 5, 2016 at 12:58:37 PM UTC-7, shaunak...@gmail.com wrote:
>> I am running this python script on R-studio. I have Python 3.5 installed on
>> my system.
>>
>> count = 10
>> while (count > 0):
>> try :
>> # read line from file
Googling that finds
https://cloud.google.com/appengine/docs/python/images/ which may be of
some help.
Emile
On 1/29/2016 5:50 PM, kwe...@gmail.com wrote:
Hi, I am able to display animated gif using pyglet using below code, but I
would like the image to stretch and fit the window as i resize
paul.hermeneu...@gmail.com writes:
> On Fri, Feb 5, 2016 at 11:52 AM, Ben Finney
> wrote:
> > Since MS Windows lacks those facilities, ‘python-daemon’ can't use
> > them.
>
> As you might imagine, I am not always able to specify which OS is
> deployed. That does not mean that I am not responsibl
On Friday, February 5, 2016 at 12:58:37 PM UTC-7, shaunak...@gmail.com wrote:
> I am running this python script on R-studio. I have Python 3.5 installed on
> my system.
>
> count = 10
> while (count > 0):
> try :
> # read line from file:
> print(file.readline())
> # pa
On Fri, Feb 5, 2016 at 4:51 PM, Bernardo Sulzbach wrote:
> On 02/05/2016 07:43 PM, Joel Goldstick wrote:
>
>> print("%d, %2d:%2d, %.1f" % (1,10,24,20.4))
>
1, 10:24, 20.4
>>
>
> Let us be more careful there. Although CSV has no formal specification
> (according to the IETF), *those space
On Friday, February 5, 2016 at 12:58:37 PM UTC-7, shaunak...@gmail.com wrote:
> I am running this python script on R-studio. I have Python 3.5 installed on
> my system.
>
> count = 10
> while (count > 0):
> try :
> # read line from file:
> print(file.readline())
> # pa
On Sat, Feb 6, 2016 at 8:08 AM, Bernardo Sulzbach
wrote:
> On 02/05/2016 07:01 PM, Chris Angelico wrote:
>>
>> On Sat, Feb 6, 2016 at 6:58 AM, wrote:
>>>
>>> I am running this python script on R-studio. I have Python 3.5 installed
>>> on my system.
>>>
>>
>> Let's just try a quick smoke test. Ru
On 02/05/2016 07:43 PM, Joel Goldstick wrote:
print("%d, %2d:%2d, %.1f" % (1,10,24,20.4))
1, 10:24, 20.4
Let us be more careful there. Although CSV has no formal specification
(according to the IETF), *those spaces are not good*.
It is **very unlikely** that they will cause issues, but 1,10
On Fri, Feb 5, 2016 at 4:13 PM, Bernardo Sulzbach wrote:
> On 02/05/2016 07:09 PM, lucan wrote:
>
>>
>> What do you mean? What is "datas"? What do you mean by "correct"?
>>>
>>
>> "datas" I mean the values for example temperature = 20.4 (so they are
>> floating point)
>>
>> Index time temp
>> 1 1
On 02/05/2016 07:26 PM, shaunak.bang...@gmail.com wrote:
from _ssl import RAND_status, RAND_egd, RAND_add
ImportError: cannot import name 'RAND_egd'
I believe I've already seen this issue myself. It has to do with
LibreSSL not having RAND_egd for some reason I can't recall.
This seems
On Friday, February 5, 2016 at 2:09:11 PM UTC-7, Bernardo Sulzbach wrote:
> On 02/05/2016 07:01 PM, Chris Angelico wrote:
> > On Sat, Feb 6, 2016 at 6:58 AM, wrote:
> >> I am running this python script on R-studio. I have Python 3.5 installed
> >> on my system.
> >>
> >
> > Let's just try a quic
On 02/05/2016 07:09 PM, lucan wrote:
What do you mean? What is "datas"? What do you mean by "correct"?
"datas" I mean the values for example temperature = 20.4 (so they are
floating point)
Index time temp
1 10:24 20.4
2 10:25 20.6
...
I wonder if this is correct "my way" to write a csv file
What do you mean? What is "datas"? What do you mean by "correct"?
"datas" I mean the values for example temperature = 20.4 (so they are
floating point)
Index time temp
1 10:24 20.4
2 10:25 20.6
...
I wonder if this is correct "my way" to write a csv file:
file.write('\n'+str(index))
f.wr
On 02/05/2016 07:01 PM, Chris Angelico wrote:
On Sat, Feb 6, 2016 at 6:58 AM, wrote:
I am running this python script on R-studio. I have Python 3.5 installed on my
system.
Let's just try a quick smoke test. Run this script:
import sys
print(sys.version)
input("Press Enter to exit...")
Th
Hi there,
>Thanks for the detailed reply. I edited, saved and opened the file
>again. Still I am getting exactly the same error.
>
>Putting bigger chunk of code and the error again:
[snipped; thanks for the larger chunk]
>Error:
>except socket.error as e:
> ^
>SyntaxErr
On Sat, Feb 6, 2016 at 6:58 AM, wrote:
> I am running this python script on R-studio. I have Python 3.5 installed on
> my system.
>
Let's just try a quick smoke test. Run this script:
import sys
print(sys.version)
input("Press Enter to exit...")
That'll tell you a few things about how your sy
Hi there Shaunak,
I saw your few replies to my (and Nathan's) quick identification of
syntax error. More comments follow, here.
>I am running this python script on R-studio. I have Python 3.5 installed on my
>system.
>
>count = 10
>while (count > 0):
>try :
># read line from file:
On Friday, February 5, 2016 at 1:09:35 PM UTC-7, Martin A. Brown wrote:
> >except socket.error as e
>
> >line 53 except socket.error as e ^ SyntaxError: invalid syntax
> >
> >I tried changing socket.error to ConnectionRefusedError. and still
> >got the same error.
>
> >Please tell me if the
On Friday, February 5, 2016 at 1:11:19 PM UTC-7, shaunak...@gmail.com wrote:
> On Friday, February 5, 2016 at 1:08:11 PM UTC-7, Nathan Hilterbrand wrote:
> > On Feb 5, 2016 15:01, wrote:
> > >
> > > I am running this python script on R-studio. I have Python 3.5 installed
> > on my system.
> > >
>
On Friday, February 5, 2016 at 1:08:11 PM UTC-7, Nathan Hilterbrand wrote:
> On Feb 5, 2016 15:01, wrote:
> >
> > I am running this python script on R-studio. I have Python 3.5 installed
> on my system.
> >
> > count = 10
> > while (count > 0):
> > try :
> > # read line from file:
> >
>except socket.error as e
>line 53 except socket.error as e ^ SyntaxError: invalid syntax
>
>I tried changing socket.error to ConnectionRefusedError. and still
>got the same error.
>Please tell me if the problem is with Rstudio, Python version or
>the syntax.
Syntax.
Your code has, unfor
On Feb 5, 2016 15:01, wrote:
>
> I am running this python script on R-studio. I have Python 3.5 installed
on my system.
>
> count = 10
> while (count > 0):
> try :
> # read line from file:
> print(file.readline())
> # parse
> parse_json(file.readline())
>
I am running this python script on R-studio. I have Python 3.5 installed on my
system.
count = 10
while (count > 0):
try :
# read line from file:
print(file.readline())
# parse
parse_json(file.readline())
count = count - 1
except socket.error as e
On 02/05/2016 05:49 PM, lucan wrote:
Anyway from the moment that datas are scientific value is it correct to
write on a file using str(temp) and separating with ","?
I need a csv file to read it with some data analysis softwares.
What do you mean? What is "datas"? What do you mean by "correct"
I'm new of python adn I'm using it only to complete some experiments.
I'm reading a series of data from various sensors and in the meantime
I'm writing datas on a file. I would like to print output in realtime
(or refresh it when I need) but the problem is that I'm writing on a
file every x sec
On Fri, Feb 5, 2016 at 11:52 AM, Ben Finney wrote:
> paul.hermeneu...@gmail.com writes:
>
>> It appears that python-deamon would be exactly what I need. Alas,
>> appears not to run on Windows. If I am wrong about that, please tell
>> me.
>
> You're correct that ‘python-daemon’ uses Unix facilities
On 02/05/2016 01:39 PM, paul.hermeneu...@gmail.com wrote:
It appears that python-deamon would be exactly what I need. Alas,
appears not to run on Windows. If I am wrong about that, please tell
me.
To what tools should I turn?
I am not eager to produce a "service" on Windows unless it cannot b
We’ve recently stopped building Windows services (Python or any other type)
and started using the NSSM service manager.
Takes a normal Windows application and runs it as a service.
The NSSM service manager provides great command-line support for
installing, configuring, and controlling Windows serv
paul.hermeneu...@gmail.com writes:
> It appears that python-deamon would be exactly what I need. Alas,
> appears not to run on Windows. If I am wrong about that, please tell
> me.
You're correct that ‘python-daemon’ uses Unix facilities to create a
well-behaved Unix daemon process.
Since MS Wind
It appears that python-deamon would be exactly what I need. Alas,
appears not to run on Windows. If I am wrong about that, please tell
me.
To what tools should I turn?
I am not eager to produce a "service" on Windows unless it cannot be avoided.
--
https://mail.python.org/mailman/listinfo/python
wow, that's great.
you read a comment in the code, and you test it, to only find that it
is indeed true,
sounds ok, but feels great. :)
Just experimenting a bit, I swaped the lines _siftdown and _siftup and something
strange happened the number of comparisions in both the versions remained same.
I
On Fri, Feb 5, 2016 at 12:31 PM, Joel Goldstick
wrote:
>
>
> On Fri, Feb 5, 2016 at 9:35 AM, wrote:
>
>> Hi Folks,
>>
>> Is there a python package available to check-in files from Unix to
>> sharepoint?
>> I hope current sharepoint package is used to read from sharepoint server.
>>
>> Thanks,
>>
On Fri, Feb 5, 2016 at 9:35 AM, wrote:
> Hi Folks,
>
> Is there a python package available to check-in files from Unix to
> sharepoint?
> I hope current sharepoint package is used to read from sharepoint server.
>
> Thanks,
> Ramesh
> --
> https://mail.python.org/mailman/listinfo/python-list
>
D
On Fri, Feb 5, 2016 at 11:14 AM, Joel Goldstick
wrote:
> On Fri, Feb 5, 2016 at 12:12 PM, Joel Goldstick
> wrote:
>> That page 404s for me.
>>
>
> Pardon me, looks like sourceforge is down
Ah, I guess caching fooled me when I rechecked.
--
Zach
--
https://mail.python.org/mailman/listinfo/pyth
On Fri, 5 Feb 2016 12:12:58 -0500
Joel Goldstick wrote:
> On Fri, Feb 5, 2016 at 11:10 AM, Zachary Ware > wrote:
>
> > On Fri, Feb 5, 2016 at 9:16 AM, Matt wrote:
> > > How do I do the equivalent of this in Python?
> > >
> > > snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 s tes
On Fri, Feb 5, 2016 at 12:12 PM, Joel Goldstick
wrote:
>
>
> On Fri, Feb 5, 2016 at 11:10 AM, Zachary Ware <
> zachary.ware+pyl...@gmail.com> wrote:
>
>> On Fri, Feb 5, 2016 at 9:16 AM, Matt wrote:
>> > How do I do the equivalent of this in Python?
>> >
>> > snmpset -v 2c -c $community $ip .1.3.
On 02/05/2016 03:18 PM, Grant Edwards wrote:
On 2016-02-05, Joel Goldstick wrote:
I have had success with pysnmp (http://pysnmp.sourceforge.net/).
That page 404s for me
Looks like sourceforge is suffering an outage of some kind.
Agree, it does not work for me right now.
--
https://mail.
On 2016-02-05, Joel Goldstick wrote:
>> I have had success with pysnmp (http://pysnmp.sourceforge.net/).
>
> That page 404s for me
Looks like sourceforge is suffering an outage of some kind.
--
Grant Edwards grant.b.edwardsYow! The FALAFEL SANDWICH
On Fri, Feb 5, 2016 at 11:12 AM, Joel Goldstick
wrote:
> On Fri, Feb 5, 2016 at 11:10 AM, Zachary Ware > wrote:
>> I have had success with pysnmp (http://pysnmp.sourceforge.net/). It
>
> That page 404s for me
Hmm, it works for me (just tried again). Even Gmail's automatic
linkification didn't k
On Fri, Feb 5, 2016 at 11:10 AM, Zachary Ware wrote:
> On Fri, Feb 5, 2016 at 9:16 AM, Matt wrote:
> > How do I do the equivalent of this in Python?
> >
> > snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 s test
> >
> > and
> >
> > snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.
again for the list:
###
import random
from xheap import RemovalHeap
class X(object):
c = 0
def __init__(self, x):
self.x = x
def __lt__(self, other):
X.c += 1
return self.x < other.x
n = 10
for jj in range(5):
items = [X(i) for i i
Hi srinivas,
I wrote this simple benchmark to measure comparisons:
import random
from xheapimport RemovalHeap
class X(object):
c =0 def __init__(self, x):
self.x = x
def __lt__(self, other):
X.c +=1 return self.x < other.x
n =10 for jjin range(5):
items = [X(i
On Fri, Feb 5, 2016 at 9:16 AM, Matt wrote:
> How do I do the equivalent of this in Python?
>
> snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 s test
>
> and
>
> snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 i 123
>
> and
>
> snmpbulkget -v2c -c $community -m ALL $ip .1.3.
On Fri, Feb 5, 2016 at 8:12 PM, Sven R. Kunze wrote:
> On 05.02.2016 02:26, srinivas devaki wrote:
> What do you think about our use-case?
>
Oh, the logic is sound, every element that we have inserted has to be popped,
We are spending some *extra* time in rearranging the elements only to be
sure t
How do I do the equivalent of this in Python?
snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 s test
and
snmpset -v 2c -c $community $ip .1.3.1.1.4.1.1.1.1.1.1.1.0 i 123
and
snmpbulkget -v2c -c $community -m ALL $ip .1.3.1.1.4.1.1.1.1.1.1.1.1
and
snmpget -v2c -c $community -m ALL
On 02/05/2016 12:55 PM, Sven R. Kunze wrote:
On 05.02.2016 15:48, Bernardo Sulzbach wrote:
On 02/05/2016 12:42 PM, Sven R. Kunze wrote:
PS: I do competitive programming, I use these modules every couple of
days
when compared to other modules. so didn't give much thought when
posting to
the mai
On 05.02.2016 15:48, Bernardo Sulzbach wrote:
On 02/05/2016 12:42 PM, Sven R. Kunze wrote:
PS: I do competitive programming, I use these modules every couple of
days
when compared to other modules. so didn't give much thought when
posting to
the mailing list. sorry for that.
Competitive progr
On 02/05/2016 12:42 PM, Sven R. Kunze wrote:
PS: I do competitive programming, I use these modules every couple of
days
when compared to other modules. so didn't give much thought when
posting to
the mailing list. sorry for that.
Competitive programming? That sounds interesting. :)
I wonder
On 05.02.2016 02:26, srinivas devaki wrote:
as I come to think of it again, it is not subheap, it actually heap cut at
some level hope you get the idea from the usage of _siftup. so even though
the `pos` children are valid the _siftup brings down the new element (i.e
the element which is at first
Hi Folks,
Is there a python package available to check-in files from Unix to sharepoint?
I hope current sharepoint package is used to read from sharepoint server.
Thanks,
Ramesh
--
https://mail.python.org/mailman/listinfo/python-list
gemjack...@gmail.com wrote:
>This fixed my problem with thkinter. sudo cp ~/.Xauthority ~root/
Which means that you were creating a GUI window with Python as root,
which is to be avoided if you can. If you can't avoid it and you're
running it with sudo in a bash console, rather than a root
"Frank Millman" wrote in message news:n91ndn$sc1$1...@ger.gmane.org...
Thanks for the link, Lutz. Unfortunately I may have asked the wrong
question.
In my specific case, how do I know if it is safe to use the attribute
'unfinished_tasks' in the class queue.Queue?
It could be that it is in
"Lutz Horn" wrote in message
news:blu178-w1837247af25e5755af69eb9e...@phx.gbl...
Hi,
> What is the rule for knowing if something is part of the official API?
Look into https://docs.python.org/3/library/
Thanks for the link, Lutz. Unfortunately I may have asked the wrong
question.
In my
"Frank Millman" writes:
> What is the rule for knowing if something is part of the official API?
Part of what official API?
Different libraries will have different rules about what is the official
API. Some may not have official rules.
For Python standard library modules, the official API is i
Hi,
> What is the rule for knowing if something is part of the official API?
Look into https://docs.python.org/3/library/
Lutz
--
https://mail.python.org/mailman/listinfo/python-list
Hi all
What is the rule for knowing if something is part of the official API?
I have a queue.Queue(), I want to call q.join(), but I do not want it to
block.
Looking at dir(q), I find an attribute 'unfinished_tasks'. It is an integer,
and it looks like the counter referred to in the document
On 04/02/2016 03:23, Bernardo Sulzbach wrote:
I see. I've bad experiences with Thunderbird in the past, but I will
try a desktop client again.
I've been using Thunderbird on Windows for years and never had a
problem. I read all Python mailing list, blogs, or whatever via gmane,
it's a piece
60 matches
Mail list logo