Re: Multiprocessing "Pool" aborts without any error message or return code? (Python 3.6.4, cygwin 32 bit, Windows Server 2012)

2018-08-13 Thread Niels Kristian Jensen
fredag den 10. august 2018 kl. 15.35.46 UTC+2 skrev Niels Kristian Jensen: > Please refer to: > (cut) It appears, that Python is simply not supported on Cygwin (!): https://bugs.python.org/issue30563 Best regards, Niels Kristian -- https://mail.python.org/mailman/listinfo/python-list

Multiprocessing "Pool" aborts without any error message or return code? (Python 3.6.4, cygwin 32 bit, Windows Server 2012)

2018-08-10 Thread aenkaa
Please refer to: https://docs.python.org/3.6/library/multiprocessing.html the first example program. If I run it on Windows 10 (Python 3.6.4) or Linux Mint 18 (Python 3.5.2), it works as expected. On Windows Server 2012, however, I get no (none!) output, no matter if I run with admin rights or

Where is import defined in the source code? (python 2)

2016-09-21 Thread Peng Yu
Hi, I want know where import is defined in the source code. Is it implemented using __import__? -- Regards, Peng -- https://mail.python.org/mailman/listinfo/python-list

Re: code python

2014-12-21 Thread Rustom Mody
On Saturday, December 20, 2014 7:30:20 AM UTC+5:30, Khetam Yassen wrote: > Hello all > I Have problem about , How i can compute accuracy to unigram,bigram and > trigram > and how i can change the size to iteration separate from 1 to 10 in each > stage from iteration train take 90% and training 10

code python

2014-12-19 Thread Khetam Yassen
Hello all I Have problem about , How i can compute accuracy to unigram,bigram and trigram and how i can change the size to iteration separate from 1 to 10 in each stage from iteration train take 90% and training 10%. thank you to read my message import codecs import nltk from nltk import* outfile

Re: what is wrong in my code?? (python 3.3)

2013-09-30 Thread Piet van Oostrum
dream4s...@gmail.com writes: > I rename file from test.py in test.txt and all works fine. So clearly problem > it is not in file coding or browser. ANY IDEAS?? It looks like the encoding of stdout is not utf-8 in the CGI script. Check it with import sys print(sys.stdout.encoding) If it's not

Re: what is wrong in my code?? (python 3.3)

2013-09-30 Thread dream4soul
On Friday, September 27, 2013 7:19:45 PM UTC+3, Denis McMahon wrote: > On Fri, 27 Sep 2013 06:54:48 -0700, dream4soul wrote: > > > > > #!c:/Python33/python.exe -u > > > import os, sys > > > print("Content-type: text/html; charset=utf-8\n\n") > > > print ('Hello, world!') > > > print('ранее

Re: what is wrong in my code?? (python 3.3)

2013-09-27 Thread Denis McMahon
On Fri, 27 Sep 2013 06:54:48 -0700, dream4soul wrote: > #!c:/Python33/python.exe -u > import os, sys > print("Content-type: text/html; charset=utf-8\n\n") > print ('Hello, world!') > print('ранее предусматривалась смертная казнь.') > I see only first print, second it just question marks in my br

Re: [CODE] - Python Newcomer Starting with Coding

2006-03-21 Thread Dave Hansen
On Tue, 21 Mar 2006 20:05:48 +0200 in comp.lang.python, Ilias Lazaridis <[EMAIL PROTECTED]> wrote: >bruno at modulix wrote: [...] >> Look for the Python cookbook (google is your friend). >... > >http://www.oreilly.com/catalog/pythoncook/ > >sorry, I've not clarified that I mean an free internet re

Re: [CODE] - Python Newcomer Starting with Coding

2006-03-21 Thread Ilias Lazaridis
Ed Singleton wrote: > On 21/03/06, Ilias Lazaridis <[EMAIL PROTECTED]> wrote: >> Where can I find practical coding examples for real life coding problems? >> >> Something like a categorized solution guide? >> > > This sounds quite a lot like PLEAC. It certainly contains a lot that > you would fin

Re: [CODE] - Python Newcomer Starting with Coding

2006-03-21 Thread Ilias Lazaridis
bruno at modulix wrote: > Ilias Lazaridis wrote: >> Where can I find practical coding examples for real life coding problems? > > Probably in real life code ?-) > >> Something like a categorized solution guide? > > Look for the Python cookbook (google is your friend). ... http://www.oreilly.com

Re: [CODE] - Python Newcomer Starting with Coding

2006-03-21 Thread Ed Singleton
On 21/03/06, Ilias Lazaridis <[EMAIL PROTECTED]> wrote: > Where can I find practical coding examples for real life coding problems? > > Something like a categorized solution guide? > This sounds quite a lot like PLEAC. It certainly contains a lot that you would find useful. http://pleac.sourcefo

Re: [CODE] - Python Newcomer Starting with Coding

2006-03-21 Thread bruno at modulix
Ilias Lazaridis wrote: > Where can I find practical coding examples for real life coding problems? Probably in real life code ?-) > Something like a categorized solution guide? Look for the Python cookbook (google is your friend). > - > > My current problem: > > * create a folder > * seems

[CODE] - Python Newcomer Starting with Coding

2006-03-21 Thread Ilias Lazaridis
Where can I find practical coding examples for real life coding problems? Something like a categorized solution guide? - My current problem: * create a folder * seems to be: os.mkdir(path) * obtain the path of a python package * copy the content of the package folder to the created folder

Re: Cheapest pocket device to code python on

2005-12-03 Thread adDoc's networker Phil
. I could actually touch-type on the psion (a genuine [/]pocket computer!) but I was looking forward to eventually writing a key mapper (new key layouts are always an aggravation) . my plans were snipped in the bud however, because I got cheap and tried to sneak around the warranty with a universal

Re: Cheapest pocket device to code python on

2005-11-26 Thread Ten
On Friday 04 November 2005 03:55, [EMAIL PROTECTED] wrote: > What is the cheapest/affordable pocket device that I can code python > on? I think the closest I have seen is pocketpc from this page: > > http://www.murkworks.com/Research/Python/PocketPCPython/Overview Depends what you

Re: Cheapest pocket device to code python on

2005-11-04 Thread adDoc's networker Phil
On 3 Nov 2005 19:55:03 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:What is the cheapest/affordable pocket device that I can code python on? I think the closest I have seen is pocketpc from this page:http://www.murkworks.com/Research/Python/PocketPCPython/Overview Cameron

Re: Cheapest pocket device to code python on

2005-11-04 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Sybren Stuvel <[EMAIL PROTECTED]> wrote: >Devan L enlightened us with: >> I would not recommend trying to code on a handheld device. Small >> screen size and [usually] small keyboards make it >> less-than-practical. Stick with a laptop, or write it in a notebook, >>

Re: Cheapest pocket device to code python on

2005-11-04 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > What is the cheapest/affordable pocket device that I can code python > on? I think the closest I have seen is pocketpc from this page: A used Fujitsu Lifebook running Linux and fairly large pockets? ;) There is some version of Python running on Palms, but it'

Re: Cheapest pocket device to code python on

2005-11-04 Thread Sybren Stuvel
Devan L enlightened us with: > I would not recommend trying to code on a handheld device. Small > screen size and [usually] small keyboards make it > less-than-practical. Stick with a laptop, or write it in a notebook, > if you must. Although it isn't the pinnacle of usability, I can program just

Re: Cheapest pocket device to code python on

2005-11-03 Thread Devan L
[EMAIL PROTECTED] wrote: > What is the cheapest/affordable pocket device that I can code python > on? I think the closest I have seen is pocketpc from this page: > > http://www.murkworks.com/Research/Python/PocketPCPython/Overview I would not recommend trying to code on a handheld d

Cheapest pocket device to code python on

2005-11-03 Thread theboringdays
What is the cheapest/affordable pocket device that I can code python on? I think the closest I have seen is pocketpc from this page: http://www.murkworks.com/Research/Python/PocketPCPython/Overview -- http://mail.python.org/mailman/listinfo/python-list