Steven D'Aprano :
> On Tue, 23 Feb 2016 05:54 pm, Marko Rauhamaa wrote:
>> However, when you are generating signing or encryption keys, you
>> should use /dev/random.
>
> And that is where you repeat something which is rank superstition.
Can you find info to back that up. All I've seen so far is
subhabangal...@gmail.com writes:
> Now if I want to change the values of tags like 'AT', 'NP-TL',
> 'NN-TL', etc. to some arbitrary ones like XX,YY,ZZ and yet preserve
> total structure of tuples in list of lists, please suggest how may I
> do it.
Changing items in lists is done by assigning to
Hi
I am trying to use the following set of tuples in list of lists.
I am using a Python based library named, NLTK.
>>> import nltk
>>> from nltk.corpus import brown as bn
>>> bt=bn.tagged_sents()
>>> bt_5=bt[:5]
>>> print bt
[[(u'The', u'AT'), (u'Fulton', u'NP-TL'), (u'County', u'NN-TL'), (u'G
On Tue, Feb 23, 2016 at 9:54 PM, nikhil amraotkar <
nikhil.amraotk...@gmail.com> wrote:
> Hi...I need help to design a network simulator consisting for 5 routers in
> python...Any help would be appretiated...
> Thanks..
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Gold
Hi...I need help to design a network simulator consisting for 5 routers in
python...Any help would be appretiated...
Thanks..
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 23 Feb 2016 05:54 pm, Marko Rauhamaa wrote:
> Steven D'Aprano :
>
>> On Tue, 23 Feb 2016 06:32 am, Marko Rauhamaa wrote:
>>> Under Linux, /dev/random is the way to go when strong security is
>>> needed. Note that /dev/random is a scarce resource on ordinary
>>> systems.
>>
>> That's actua
Christian Gollwitzer wrote:
> Am 23.02.16 um 22:39 schrieb kevind0...@gmail.com:
>> from Tkinter import *
>>
>> def butContinue():
>> root1.destroy()
>> [...]
>> entryName = Entry(root1).grid(row=1, column=1, pady=5)
>> [...]
>> butGo = Button(root1, text=" Continue " , command=butContin
On Tue, Feb 23, 2016 at 2:19 PM, Wildman via Python-list <
python-list@python.org> wrote:
> I am familiar with OO programming but I am new to Python
> and Tkinter. I am working on a gui program that creates
> a couple of temporary files. As part of the Exit button
> command they are deleted. If
Am 23.02.16 um 23:19 schrieb Wildman:
I am familiar with OO programming but I am new to Python
and Tkinter. I am working on a gui program that creates
a couple of temporary files. As part of the Exit button
command they are deleted. If the program is shut down
using the window close button [X]
Am 23.02.16 um 22:39 schrieb kevind0...@gmail.com:
lblTop = Label(root1, text= ' Enter Values Below', font="Helvetica
14").grid(row=0, column=0, columnspan=2 , pady=5)
##lblTop.pack(side = TOP)
lblDB = Label(root1,text= 'Weight').grid(row=1, column=0 )
lblPWord = Label(root1, text=
Am 23.02.16 um 22:39 schrieb kevind0...@gmail.com:
from Tkinter import *
def butContinue():
root1.destroy()
[...]
entryName = Entry(root1).grid(row=1, column=1, pady=5)
[...]
butGo = Button(root1, text=" Continue " , command=butContinue
).grid(row=3, column=1, sticky=W, pady=10)
root
I am familiar with OO programming but I am new to Python
and Tkinter. I am working on a gui program that creates
a couple of temporary files. As part of the Exit button
command they are deleted. If the program is shut down
using the window close button [X], the exit button code
is not executed a
Hello:
Newbie here.
Spent the a good part of the day tinkering and reading tutorials,
I was able to create a sample that is very close to my requirement.
When I execute the code below the Dialog displayed as expected and
I can enter data into the textboxes. All good.
When I click on butGo I
On 20.02.2016 07:53, Christian Gollwitzer wrote:
If you have difficulties wit hthe overall concept, and if you are open
to discussions in another language, take a look at this video:
https://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-39-await-co-routines
MS has added coroutine suppo
On 23.02.2016 18:37, Ian Kelly wrote:
It's not entirely clear to me what the C++ is actually doing. With
Python we have an explicit event loop that has to be started to manage
resuming the coroutines. Since it's explicit, you could easily drop in
a different event loop, such as Tornado or curio,
Paul Rubin :
> Marko Rauhamaa writes:
>> It is also correct that /dev/urandom depletes the entropy pool as
>> effectively as /dev/random.
>
> I think see what's confusing you: the above is a misconception that is
> probably held by lots of people. Entropy is not water and from a
> cryptographic
On Wed, Feb 24, 2016 at 5:11 AM, Dan Stromberg wrote:
> I'm seeing, in the nosepipe code:
> # we use stdout for IPC, so block all other output
> self._stream = sys.__stdout__
>
> I'm not sure using stdout/stdin for IPC is a great thing; a lot of
> tests write to stdout or stderr, w
On Tue, Feb 23, 2016 at 9:43 AM, Chris Angelico wrote:
> On Wed, Feb 24, 2016 at 4:36 AM, Dan Stromberg wrote:
>> Message: Unhandled exception in thread started by
>> sys.excepthook is missing
>> lost sys.stderr
>>
>> That 1433299041 looks like ASCII:
> hex(1433299041)
>> '0x556e6861'
> c
On Wed, Feb 24, 2016 at 4:36 AM, Dan Stromberg wrote:
> Message: Unhandled exception in thread started by
> sys.excepthook is missing
> lost sys.stderr
>
> That 1433299041 looks like ASCII:
hex(1433299041)
> '0x556e6861'
chr(0x55) + chr(0x6e) + chr(0x68) + chr(0x61)
> 'Unha'
>
> ...but I
On Tue, Feb 23, 2016 at 9:50 AM, Sven R. Kunze wrote:
> On 23.02.2016 01:48, Ian Kelly wrote:
>>
>> On Mon, Feb 22, 2016 at 3:16 PM, Sven R. Kunze wrote:
>>>
>>> Is something like shown in 12:50 ( cout << tcp_reader(1000).get() )
>>> possible
>>> with asyncio? (tcp_reader would be async def)
>>
>
Hi folks.
I'm using (or trying to use) nosepipe to get nose test isolation; I'm
working on an almost-big test suite, and the tests appear to be
lacking test isolation.
I'm encountering a bug in nosepipe:
==
ERROR: testCreateFileM
Thanks for sharing!
On Tue, Feb 23, 2016 at 1:48 AM, Mike S via Python-list <
python-list@python.org> wrote:
> This site was recommended by a friend, it looks really well put together,
> I thought it might be of interest to people considering online tutorials.
>
> http://www.python-course.eu/inde
Dear all,
We are excited to announce a new public release of Diffusion Imaging in
Python (DIPY).
The 0.11 release follows closely on the heels of the 0.10 release,
resolving issues that existed in that release on the Windows 64 bit
platform. New features of the 0.11 and 0.10 release cycles inclu
On 23.02.2016 01:48, Ian Kelly wrote:
On Mon, Feb 22, 2016 at 3:16 PM, Sven R. Kunze wrote:
Is something like shown in 12:50 ( cout << tcp_reader(1000).get() ) possible
with asyncio? (tcp_reader would be async def)
loop = asyncio.get_event_loop()
print(loop.run_until_complete(tcp_reader(1000))
On Tue, Feb 23, 2016, at 11:30, kevind0...@gmail.com wrote:
> Hello:
>
> Newbee here.
>
> I need to change the font of the title of the root.
> Actually I just need it to be larger, which means I may need the
> top boarder to be larger.
>
> I wrote the bit of code below, hoping for the desired
Hello:
Newbee here.
I need to change the font of the title of the root.
Actually I just need it to be larger, which means I may need the
top boarder to be larger.
I wrote the bit of code below, hoping for the desired effect.
Also googled around regarding the toplevel widget
No luck.
Your kind
On 2016-02-23, Mark Lawrence wrote:
> On 23/02/2016 08:22, Paul Rubin wrote:
>> Mark Lawrence writes:
>>> https://mail.python.org/pipermail/python-ideas/2015-September/036333.html
>>> then http://www.gossamer-threads.com/lists/python/dev/1223780
>>
>> Thanks. It would be nice if those were gatew
in the following code, node 3 and node 4 running parallel
if there are 100 nodes running parallel, how can they notify each other
i find this post stackoverflow,
http://stackoverflow.com/questions/29324346/how-do-i-connect-asyncio-coroutines-that-continually-produce-and-consume-data
if zeromq
We have opened up the early-bird sales today and tickets are selling
fast. The first 100 early-bird tickets, we have available, will be
gone in less than an hour. If you want to benefit from reduced ticket
prices too, please register soon.
Our early bird ticket sales are limited to 300 tickets. Re
Cameron Simpson:
> You might also want to check that the interface is up.
>
> My personal hack (not for a VPN, but for "being online", which turns my ssh
> tunnels on and off) is to look in the output
> of "netstat -rn" for a default route. This may imply that an alternative test
> for you is t
On 23/02/2016 08:22, Paul Rubin wrote:
Mark Lawrence writes:
https://mail.python.org/pipermail/python-ideas/2015-September/036333.html
then http://www.gossamer-threads.com/lists/python/dev/1223780
Thanks. It would be nice if those were gatewayed to usenet like this
group is. I can't bring m
Paul Rubin wrote:
> Mark Lawrence writes:
>> https://mail.python.org/pipermail/python-ideas/2015-September/036333.html
>> then http://www.gossamer-threads.com/lists/python/dev/1223780
>
> Thanks. It would be nice if those were gatewayed to usenet like this
> group is. I can't bring myself to s
Mark Lawrence writes:
> https://mail.python.org/pipermail/python-ideas/2015-September/036333.html
> then http://www.gossamer-threads.com/lists/python/dev/1223780
Thanks. It would be nice if those were gatewayed to usenet like this
group is. I can't bring myself to subscribe to mailing lists.
>
On 18Feb2016 10:03, Adam Funk wrote:
On 2016-02-18, Ervin Hegedüs wrote:
I think that the psutil modul could be better for you for this
task:
https://pypi.python.org/pypi/psutil/
and see the "Network" section.
if 'tun0' in psutil.net_if_addrs():
# vpn is running
Brilliant! I've used psut
On 23/02/2016 02:27, Paul Rubin wrote:
Steven D'Aprano writes:
https://www.python.org/dev/peps/pep-0506/
I didn't know about this! The discussion was all on mailing lists?
https://mail.python.org/pipermail/python-ideas/2015-September/036333.html then
http://www.gossamer-threads.com/lists/
35 matches
Mail list logo