In article <6856a21c-57e8-4cdd-a9e8-5dd738c36...@gmail.com>,
Travis Griggs wrote:
> OSX (Mavericks) has python2.7 stock installed. But I do all my own personal
> python stuff with 3.3. I just flushed my 3.3.2 install and installed the new
> 3.3.3. So I need to install pyserial again. I can do
On Wed, Nov 20, 2013 at 1:14 PM, Logan wrote:
> Chris,
>
> That is genius. Thank you!
Then it works? Awesome!! (Permit me an evil laugh. Muahahah!)
This is why I love working with open source languages. Even if you
don't end up actually changing anything, you can go and snoop the code
and s
Chris,
That is genius. Thank you!
-- Logan
--
https://mail.python.org/mailman/listinfo/python-list
OSX (Mavericks) has python2.7 stock installed. But I do all my own personal
python stuff with 3.3. I just flushed my 3.3.2 install and installed the new
3.3.3. So I need to install pyserial again. I can do it the way I've done it
before, which is:
Download pyserial from pypi
untar pyserial.tgz
Ajay Kumar wrote:
>
>Hi Guys, i have created a site for Python Tutorials. here is the link
>http://pypix.com/python/get-started-python-web-development/ . I would like to
>have your opinion like what tutorials would you love to see.
Are you making a site for Python Tutorials, or tutorials for cr
On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano
wrote:
2 does count because it isn't divisible by 3. The question states,
"[count] how many positive integers less than N are not divisible
by 2,3
or 5". Two is not divisible by 3, so "not divisible by 2,3 or 5" is
true,
so two gets counted.
Th
Steven D'Aprano wrote:
Which sum would that be?
Addition of vectors, matrices, quaternions, tensors, something else?
Considering vectors, multiplying a vector by a scalar
can be thought of as putting n copies of the vector
together nose-to-tail.
That's not very much different from putting n c
On Tuesday 2013 November 19 19:39, Larry Wilson wrote:
> Wanting to parse out the the temperature value in the " element, just after the guid element using ElementTree or xml.sax.
When you get tired of that, take a look at Universal Feedparser, a Python
Package:
http://code.google.com/p/feedparse
On Tue, 19 Nov 2013 22:10:55 -0500, Dave Angel wrote:
> On 20 Nov 2013 00:17:23 GMT, Steven D'Aprano
> wrote:
>> problem by hand. I'll get you started by solving the problem for 7.
>
>
>
>
>> Positive integers less than 23 are 1, 2, 3, 4, 5, 6. So let's start
>> checking them for divisors:
>
Wanting to parse out the the temperature value in the "http://rss.weather.com.au/nsw/newcastle";
===
http://rss.weather.com.au/w.dtd";>
Weather.com.au - Newcastle Weather
http://www.weather.com.au/nsw/newcast
On 20 Nov 2013 00:17:23 GMT, Steven D'Aprano
wrote:
problem by hand. I'll get you started by solving the problem for 7.
Positive integers less than 23 are 1, 2, 3, 4, 5, 6. So let's start
checking them for divisors:
Where did 23 come from?
- 1 is not divisible by 2, 3 or 5, so we coun
On 20 November 2013 12:57, Steven D'Aprano
wrote:
> On Wed, 20 Nov 2013 10:32:08 +1000, alex23 wrote:
>>
>> They appear to be resurrecting a 12 year old thread.
>
> Wow, that's one slow News server.
http://en.wikipedia.org/wiki/Slow_Movement
:)
--
https://mail.python.org/mailman/listinfo/python
On 20/11/2013 00:30, Victor Hooi wrote:
Hi,
Is either approach (try-excepts, or using libmagic) considered more idiomatic?
What would you guys prefer yourselves?
Also, is it possible to use either approach with a context manager ("with"),
without duplicating lots of code?
For example:
try:
On Wed, 20 Nov 2013 10:32:08 +1000, alex23 wrote:
> On 20/11/2013 12:12 AM, Chris Angelico wrote:
>> On Wed, Nov 20, 2013 at 12:50 AM, Annmarina Nagy
>> wrote:
>>> the command label gets "stuck"
>>
>> A bit of context would help hugely. Are you replying to someone else's
>> post? All we have is a
On Tue, 19 Nov 2013 16:30:46 -0800, Victor Hooi wrote:
> Hi,
>
> Is either approach (try-excepts, or using libmagic) considered more
> idiomatic? What would you guys prefer yourselves?
Specifically in the case of file types, I consider it better to use
libmagic. But as a general technique, usin
Hi,
Is either approach (try-excepts, or using libmagic) considered more idiomatic?
What would you guys prefer yourselves?
Also, is it possible to use either approach with a context manager ("with"),
without duplicating lots of code?
For example:
try:
with gzip.open('blah.txt', 'rb') a
On 20/11/2013 12:12 AM, Chris Angelico wrote:
On Wed, Nov 20, 2013 at 12:50 AM, Annmarina Nagy wrote:
the command label gets "stuck"
A bit of context would help hugely. Are you replying to someone else's
post? All we have is a subject line.
They appear to be resurrecting a 12 year old threa
On Tue, 19 Nov 2013 10:40:18 -0800, bradleybooth12345 wrote:
> Hi,
>
> A Friend is doing maths in University and has had some coursework to do
> with python.
>
> The question is
>
> "Write a program that calculates how many positive integers less than N
> are not divisible by 2,3 or 5. The user
On Wed, Nov 20, 2013 at 9:43 AM, glen herrmannsfeldt
wrote:
> I also used to use a BASIC system that allowed you to stop a program
> (or the program stopped itself), change statements (fix bugs) and
> continue on from where it stopped. Not all can do that, but pretty
> much compilers never do.
Di
> Think they just needed a starting point really to be honest as they can't get
> there head round it.
Then the problem is that your friend doesn't understand one or more of
the words being used. This is s necessary prerequisite for making an
algorithm from a text description. Perhaps they don'
On Tuesday 19 November 2013 17:20:54 Ethan Furman did opine:
> On 11/19/2013 08:19 AM, Gene Heskett wrote:
> > On Tuesday 19 November 2013 11:16:10 Peter Otten did opine:
> >> Gene Heskett wrote:
> >>> OSError: [Errno 2] No such file or directory
> >>>
> >>> No clue, even when straced, as to what
On Tuesday 19 November 2013 16:48:40 xDog Walker did opine:
> On Tuesday 2013 November 19 10:57, Tim Chase wrote:
> > Just an observation here, it looks like you might have a "one"
> > instead of an "ell" in "float" in the file-name.
>
> That is exactly what I see using Monospace font where the l
In comp.lang.fortran Rainer Weikusat wrote:
> glen herrmannsfeldt writes:
>> In comp.lang.fortran E.D.G. wrote:
> "E.D.G." wrote in message
> news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com...
>>> Posted by E.D.G. on November 19, 2013
>>> 1. PERL PDL CALCULATION SPEED VERSUS PY
On Tuesday 19 November 2013 17:17:12 xDog Walker did opine:
> On Tuesday 2013 November 19 10:57, Tim Chase wrote:
> > Just an observation here, it looks like you might have a "one"
> > instead of an "ell" in "float" in the file-name.
>
> Gene,
> In an earlier email in this thread I lied when
On Tuesday 19 November 2013 17:02:37 Mark Lawrence did opine:
> On 19/11/2013 19:06, xDog Walker wrote:
> > On Tuesday 2013 November 19 10:43, Gene Heskett wrote:
> >> Interesting, a print cmd immediately in front of that is quite noisy:
> >> ['./camview-emc-f1oat.py', '-v', '1280x720', '-C', 'cam
On Tuesday 19 November 2013 16:03:23 Tim Chase did opine:
> On 2013-11-19 13:43, Gene Heskett wrote:
> > Interesting, a print cmd immediately in front of that is quite
> > noisy: ['./camview-emc-f1oat.py', '-v', '1280x720', '-C',
> > 'camview.cfg', '-g', 'cam.ui', '-H', 'campins.hal', '-w',
> > '1
glen herrmannsfeldt writes:
> In comp.lang.fortran E.D.G. wrote:
"E.D.G." wrote in message
news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com...
>> Posted by E.D.G. on November 19, 2013
>
>> 1. PERL PDL CALCULATION SPEED VERSUS PYTHON AND FORTRAN
>
> (snip)
>
>> This progr
2013/11/19 glen herrmannsfeldt :
> More recently, there are JIT systems which generate the intermediate
> code, but then at the appropriate time (Just In Time) compile that to
> machine code and execute it. This is common for Java, and more recently
> for languages like Matlab.
Is there a particul
In comp.lang.fortran E.D.G. wrote:
>>> "E.D.G." wrote in message
>>> news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com...
> Posted by E.D.G. on November 19, 2013
> 1. PERL PDL CALCULATION SPEED VERSUS PYTHON AND FORTRAN
(snip)
> This program translation project has become one of th
On Tue, 19 Nov 2013 11:27:08 -0800, bradleybooth12345 wrote:
> On Tuesday, November 19, 2013 6:40:18 PM UTC, bradleyb...@gmail.com
> wrote:
>> "Write a program that calculates how many positive integers less than N
>> are not divisible by 2,3 or 5.
>> "The collatz process .
>> Any help woul
On Tuesday, November 19, 2013 6:40:18 PM UTC, bradleyb...@gmail.com wrote:
> Hi,
>
>
>
> A Friend is doing maths in University and has had some coursework to do with
> python.
>
>
>
> The question is
>
>
>
> "Write a program that calculates how many positive integers less than N are
> n
On Tuesday 2013 November 19 10:57, Tim Chase wrote:
> Just an observation here, it looks like you might have a "one"
> instead of an "ell" in "float" in the file-name.
Gene,
In an earlier email in this thread I lied when I stated the name of the
file you were missing (I retyped what I tho
On 19/11/2013 19:06, xDog Walker wrote:
On Tuesday 2013 November 19 10:43, Gene Heskett wrote:
Interesting, a print cmd immediately in front of that is quite noisy:
['./camview-emc-f1oat.py', '-v', '1280x720', '-C', 'camview.cfg', '-g',
'cam.ui', '-H', 'campins.hal', '-w', '150995278']
The fil
On 11/19/2013 10:40 AM, bradleybooth12...@gmail.com wrote:
Hi,
A Friend is doing maths in University and has had some coursework to do with
python.
The question is
"Write a program that calculates how many positive integers less than N are not
divisible by 2,3 or 5. The user should be prompt
On Tuesday 2013 November 19 10:57, Tim Chase wrote:
> Just an observation here, it looks like you might have a "one"
> instead of an "ell" in "float" in the file-name.
That is exactly what I see using Monospace font where the letter and digit are
different shapes.
--
Yonder nor sorghum stenches
bradleybooth12...@gmail.com via python.org asks:
> A Friend is doing maths in University and has had some
> coursework to do with python.
>
> The question is
>
> "Write a program that calculates how many positive integers
> less than N are not divisible by 2,3 or 5. The user should be
> prompted to
On Tuesday, November 19, 2013 10:40:18 AM UTC-8, bradleyb...@gmail.com wrote:
> Hi,
>
>
>
> A Friend is doing maths in University and has had some coursework to do with
> python.
>
>
>
> The question is
>
>
>
> "Write a program that calculates how many positive integers less than N are
On Tuesday 2013 November 19 10:43, Gene Heskett wrote:
> Interesting, a print cmd immediately in front of that is quite noisy:
> ['./camview-emc-f1oat.py', '-v', '1280x720', '-C', 'camview.cfg', '-g',
> 'cam.ui', '-H', 'campins.hal', '-w', '150995278']
The file it cannot find is apparently ./camvi
On Tuesday, November 19, 2013 5:22:36 PM UTC, Thomas Heller wrote:
> Am 19.11.2013 17:58, schrieb Mark Summerfield:
>
> > Hi,
>
> >
>
> > I am using ctypes to access a function in a DLL using Python 3.3
>
> > 32-bit on Windows 7 64-bit:
>
> >
>
> > dplGetPageText = dpl.DPLGetPageText dplGetPa
On 2013-11-19 13:43, Gene Heskett wrote:
> Interesting, a print cmd immediately in front of that is quite
> noisy: ['./camview-emc-f1oat.py', '-v', '1280x720', '-C',
> 'camview.cfg', '-g', 'cam.ui', '-H', 'campins.hal', '-w',
> '150995278']
This suggests that the value of "cmd" is indeed a list of
On Tuesday 19 November 2013 12:42:28 Tim Chase did opine:
> On 2013-11-19 12:19, Gene Heskett wrote:
> > > On 2013-11-19 11:19, Gene Heskett wrote:
> > > >>> Traceback (most recent call last):
> > > >>> File "/usr/bin/axis", line 3326, in
> > > >>>
> > > >>> _dynamic_tabs(inifile)
> > >
Hi,
A Friend is doing maths in University and has had some coursework to do with
python.
The question is
"Write a program that calculates how many positive integers less than N are not
divisible by 2,3 or 5. The user should be prompted to supply the Number N.
Demonstrate your program output
On 11/19/2013 08:19 AM, Gene Heskett wrote:
On Tuesday 19 November 2013 11:16:10 Peter Otten did opine:
Gene Heskett wrote:
OSError: [Errno 2] No such file or directory
No clue, even when straced, as to what file might be missing.
So, how do I find out?
How about inserting a
print cmd
be
Gene Heskett wrote:
> On Tuesday 19 November 2013 11:16:10 Peter Otten did opine:
>
>> Gene Heskett wrote:
>> > Old python, 2.6.4 I believe, not update able from the Ubuntu 10.04.3
>> > LTS repo's.
>> >
>> > Should be a mauchs nichs as the code was written on, and is running
>> > on, several of
On Tue, Nov 19, 2013 at 3:08 PM, Thomas Heller wrote:
> "All of the surviving members of comedy group Monty Python are to reform for
> a stage show, one of the Pythons, Terry Jones, has confirmed."
>
> See: http://www.bbc.co.uk/news/entertainment-arts-24999401
>
> Thomas
> --
> https://mail.python
On Tuesday 2013 November 19 09:19, Gene Heskett wrote:
> _dynamic_tabs is not a file in /usr/lib/python2.6, nor does it "grep" in
> that directory.
The Traceback says that _dynamic_tabs is in /usr/bin/axis .
--
Yonder nor sorghum stenches shut ladle gulls stopper torque wet
strainers.
--
http
On 2013-11-19 12:19, Gene Heskett wrote:
> > On 2013-11-19 11:19, Gene Heskett wrote:
> > >>> Traceback (most recent call last):
> > >>> File "/usr/bin/axis", line 3326, in
> > >>>
> > >>> _dynamic_tabs(inifile)
> > >>>
> > >>> File "/usr/bin/axis", line 3182, in _dynamic_tabs
> >
Am 19.11.2013 17:58, schrieb Mark Summerfield:
Hi,
I am using ctypes to access a function in a DLL using Python 3.3
32-bit on Windows 7 64-bit:
dplGetPageText = dpl.DPLGetPageText dplGetPageText.argtypes =
(ctypes.c_int, ctypes.c_int) dplGetPageText.restype =
ctypes.c_wchar_p
Python returns th
On Tuesday 19 November 2013 12:12:49 Tim Chase did opine:
> On 2013-11-19 11:19, Gene Heskett wrote:
> >>> Traceback (most recent call last):
> >>> File "/usr/bin/axis", line 3326, in
> >>>
> >>> _dynamic_tabs(inifile)
> >>>
> >>> File "/usr/bin/axis", line 3182, in _dynamic_tabs
>
On Tuesday 2013 November 19 08:19, Gene Heskett wrote:
> You are suggesting I edit /usr/lib/python2.6/subprocess.py?
You should use either
subprocess.Popen(["ls", "-l"])
or
subprocess.Popen("ls -l")
The argument to the first is a two element list.
The argument to the second is a str
On 2013-11-19 11:19, Gene Heskett wrote:
>>> Traceback (most recent call last):
>>> File "/usr/bin/axis", line 3326, in
>>>
>>> _dynamic_tabs(inifile)
>>>
>>> File "/usr/bin/axis", line 3182, in _dynamic_tabs
>>>
>>> child = Popen(cmd)
>
> You are suggesting I edit /usr/lib/py
Hi,
I am using ctypes to access a function in a DLL using Python 3.3 32-bit on
Windows 7 64-bit:
dplGetPageText = dpl.DPLGetPageText
dplGetPageText.argtypes = (ctypes.c_int, ctypes.c_int)
dplGetPageText.restype = ctypes.c_wchar_p
Python returns this as a str with the raw bytes already decoded.
MOn Tue, Nov 19, 2013 at 10:35 AM, Jai
wrote:
> please help what is this i have try lot but unable to remove it
Your code is getting into an infinite loop.
One problem is, I suspect:
> def find_position(line):
> pun = ""
> if re.search(r"[.?!]+", line):
> pun = re.search(r"[.?!]
On Tuesday 19 November 2013 11:16:10 Peter Otten did opine:
> Gene Heskett wrote:
> > Old python, 2.6.4 I believe, not update able from the Ubuntu 10.04.3
> > LTS repo's.
> >
> > Should be a mauchs nichs as the code was written on, and is running
> > on, several of these same linuxcnc installs.
>
On 19/11/2013 06:59, Georg Brandl wrote:
To download Python 3.3.3 rc2 visit:
http://www.python.org/download/releases/3.3.3/
Please make your mind up, final or rc2?
Thanks everybody for your efforts, much appreciated :)
--
Python is the second best programming language in the world.
Bu
On 19/11/2013 15:35, Jai wrote:
Code
#
#!/usr/bin/env python
import sys, re
def find_position(line):
pun = ""
if re.search(r"[.?!]+", line):
pun = re.search(r"[.?!]+", line).group()
pos = line.find(pun)
pos = pos+len(pun)-1
retu
On Tuesday 19 November 2013 10:56:49 Juan Pablo Ugarte did opine:
> On Mon, 2013-11-18 at 21:12 -0500, Gene Heskett wrote:
> [...]
>
> > > Invalid in what way? It looks fine to me. Or is it that you don't
> > > trust its signer?
> > >
> > > ChrisA
> >
> > Firefox barked at me. So I backed away
On Tuesday 19 November 2013 10:10:31 Gene Heskett did opine:
> On Tuesday 19 November 2013 08:51:09 Albert Dengg did opine:
> > On Tue, Nov 19, 2013 at 04:31:15AM -0500, Gene Heskett wrote:
> > ...
> >
> > > But when I switch in, as one of the plugins a new .py version of
> > > camview- emc, I ge
On Mon, 2013-11-18 at 21:12 -0500, Gene Heskett wrote:
[...]
> > Invalid in what way? It looks fine to me. Or is it that you don't
> > trust its signer?
> >
> > ChrisA
>
> Firefox barked at me. So I backed away. And now it works. Phase of moon
> sensitive? Chew in wrong side of mouth? Or y
Code
#
#!/usr/bin/env python
import sys, re
def find_position(line):
pun = ""
if re.search(r"[.?!]+", line):
pun = re.search(r"[.?!]+", line).group()
pos = line.find(pun)
pos = pos+len(pun)-1
return pos
def sentence_splitter(f
On Wed, Nov 20, 2013 at 2:06 AM, MRAB wrote:
> You need to distinguish between "Scottish English" and "Scots", the
> latter being related to English, but isn't English, much as Danish is
> related to Swedish, but isn't Swedish.
Ah. When I referred to a "Scots" word, I was talking about the Gaelic
On 19/11/2013 12:59, Alister wrote:
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote:
On Tue, Nov 19, 2013 at 11:36 PM, Alister
wrote:
the language & nationality is Scottish, the people are Scots & Scotch
is a type of whisky.
Hmm, I don't know that it's that clear-cut (other than th
On Wed, Nov 20, 2013 at 12:50 AM, Annmarina Nagy wrote:
> the command label gets "stuck"
A bit of context would help hugely. Are you replying to someone else's
post? All we have is a subject line.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
"All of the surviving members of comedy group Monty Python are to reform
for a stage show, one of the Pythons, Terry Jones, has confirmed."
See: http://www.bbc.co.uk/news/entertainment-arts-24999401
Thomas
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Nov 20, 2013 at 12:55 AM, Tim Golden wrote:
> On 19/11/2013 13:50, Mark Lawrence wrote:
>> On 19/11/2013 10:48, Chris Angelico wrote:
>>>
>>> Anyway, we Aussies know more about your geography than you know about
>>> ours, I reckon. Which of these is not a real place: Parramatta,
>>> Warrna
On 19/11/2013 13:55, Tim Golden wrote:
On 19/11/2013 13:50, Mark Lawrence wrote:
On 19/11/2013 10:48, Chris Angelico wrote:
Anyway, we Aussies know more about your geography than you know about
ours, I reckon. Which of these is not a real place: Parramatta,
Warrnambool, Cerinabbin, Mordialloc?
On Tuesday 19 November 2013 08:51:09 Albert Dengg did opine:
> On Tue, Nov 19, 2013 at 04:31:15AM -0500, Gene Heskett wrote:
> ...
>
> > But when I switch in, as one of the plugins a new .py version of
> > camview- emc, I get this when I attempt to run linuxcnc -l, where the
> > -l is "use the sa
On 19/11/2013 13:50, Mark Lawrence wrote:
> On 19/11/2013 10:48, Chris Angelico wrote:
>>
>> Anyway, we Aussies know more about your geography than you know about
>> ours, I reckon. Which of these is not a real place: Parramatta,
>> Warrnambool, Cerinabbin, Mordialloc? No fair Googling them, see if
On 19/11/2013 10:48, Chris Angelico wrote:
Anyway, we Aussies know more about your geography than you know about
ours, I reckon. Which of these is not a real place: Parramatta,
Warrnambool, Cerinabbin, Mordialloc? No fair Googling them, see if you
can call it. I've been to three of the above pla
the command label gets "stuck"
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote:
> On Tue, Nov 19, 2013 at 11:36 PM, Alister
> wrote:
>> the language & nationality is Scottish, the people are Scots & Scotch
>> is a type of whisky.
>
> Hmm, I don't know that it's that clear-cut (other than the drink).
> Derrick McClure
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote:
> On Tue, Nov 19, 2013 at 11:36 PM, Alister
> wrote:
>> the language & nationality is Scottish, the people are Scots & Scotch
>> is a type of whisky.
>
> Hmm, I don't know that it's that clear-cut (other than the drink).
> Derrick McClure
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote:
> On Tue, Nov 19, 2013 at 11:36 PM, Alister
> wrote:
>> the language & nationality is Scottish, the people are Scots & Scotch
>> is a type of whisky.
>
> Hmm, I don't know that it's that clear-cut (other than the drink).
> Derrick McClure
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote:
> On Tue, Nov 19, 2013 at 11:36 PM, Alister
> wrote:
>> the language & nationality is Scottish, the people are Scots & Scotch
>> is a type of whisky.
>
> Hmm, I don't know that it's that clear-cut (other than the drink).
> Derrick McClure
On Tue, Nov 19, 2013 at 11:36 PM, Alister wrote:
> the language & nationality is Scottish, the people are Scots & Scotch is
> a type of whisky.
Hmm, I don't know that it's that clear-cut (other than the drink).
Derrick McClure is himself a Scot, and he posted this on Savoynet:
https://mailman.br
On Tue, 19 Nov 2013 22:58:35 +1100, Chris Angelico wrote:
> On Tue, Nov 19, 2013 at 10:53 PM, Walter Hurry
> wrote:
>> On Tue, 19 Nov 2013 21:48:10 +1100, Chris Angelico wrote:
>>
>>> I guessed Scots for the second one because it didn't look Welsh and it
>>> seemed plausible to get a mostly-Engli
On Monday, November 18, 2013 10:57:23 PM UTC-5, Tony the Tiger wrote:
> On Sun, 17 Nov 2013 11:22:05 +0200, Nikos wrote:
>
> > python3.4 is gone at this stage. Now if i only could install pip for
> > Python 3.3.2
>
>
>
> What are you? Some fucking moron? Multi-posting under different subjects
On Tue, Nov 19, 2013 at 10:53 PM, Walter Hurry wrote:
> On Tue, 19 Nov 2013 21:48:10 +1100, Chris Angelico wrote:
>
>> I guessed Scots for the second one because it
>> didn't look Welsh and it seemed plausible to get a mostly-English
>> paragraph with one Welsh name and one Scots word.
>
> The wor
On Tue, 19 Nov 2013 21:48:10 +1100, Chris Angelico wrote:
> I guessed Scots for the second one because it
> didn't look Welsh and it seemed plausible to get a mostly-English
> paragraph with one Welsh name and one Scots word.
The word is *Scottish*. I think that's what Mark was driving at.
--
h
"E.D.G." wrote in message
news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com...
Posted by E.D.G. on November 19, 2013
1. PERL PDL CALCULATION SPEED VERSUS PYTHON AND FORTRAN
2. COMPUTER PROGRAMMING PROJECTS
PERL PDL CALCULATION SPEED VERSUS PYTHON AND FORTRAN
This program translati
On Tue, Nov 19, 2013 at 9:18 PM, JL wrote:
> I have the following code;
>
> try:
> session = FTP(ftp_server_ip,ftp_user,ftp_password)
> file = open(filename,'rb') # file to send
> session.storbinary('STOR ' + filename, file) # send the file
> except Exception, errO
On Tue, Nov 19, 2013 at 8:54 PM, Mark Lawrence wrote:
> On 19/11/2013 09:26, Chris Angelico wrote:
>>
>>
>> It couldn't figure out "Absytrytewh", "picsbeliud", or
>> "hnasoa/tw.nartswdbvweos/utrtek:p./il". That's not a bad result. (And
>> as a human, I'm guessing that the second one isn't an Engli
On Tue, Nov 19, 2013 at 8:54 PM, Mark Lawrence wrote:
> On 19/11/2013 09:26, Chris Angelico wrote:
>>
>>
>> It couldn't figure out "Absytrytewh", "picsbeliud", or
>> "hnasoa/tw.nartswdbvweos/utrtek:p./il". That's not a bad result. (And
>> as a human, I'm guessing that the second one isn't an Engli
I repost the original code segment to make it more complete;
from ftplib import FTP
try:
session = FTP(ftp_server_ip,ftp_user,ftp_password)
file = open(filename,'rb') # file to send
session.storbinary('STOR ' + filename, file) # send the file
except Excepti
I have the following code;
try:
session = FTP(ftp_server_ip,ftp_user,ftp_password)
file = open(filename,'rb') # file to send
session.storbinary('STOR ' + filename, file) # send the file
except Exception, errObj:
print Exception
print errObj
Gene Heskett wrote:
> Old python, 2.6.4 I believe, not update able from the Ubuntu 10.04.3 LTS
> repo's.
>
> Should be a mauchs nichs as the code was written on, and is running on,
> several of these same linuxcnc installs.
>
> But when I switch in, as one of the plugins a new .py version of cam
On Tue, Nov 19, 2013 at 04:31:15AM -0500, Gene Heskett wrote:
...
> But when I switch in, as one of the plugins a new .py version of camview-
> emc, I get this when I attempt to run linuxcnc -l, where the -l is "use the
> same config as last time" option.
>
> Starting LinuxCNC...
> Traceback (mos
On 19/11/2013 09:26, Chris Angelico wrote:
It couldn't figure out "Absytrytewh", "picsbeliud", or
"hnasoa/tw.nartswdbvweos/utrtek:p./il". That's not a bad result. (And
as a human, I'm guessing that the second one isn't an English word -
maybe it's Scots?) Here's the code:
I sense another lett
On 19/11/2013 08:53, Ian Kelly wrote:
On Fri, Nov 15, 2013 at 1:45 PM, Alister wrote:
and if you haven't seen it before :-
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in
waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht
the frist and lsat ltteer be
On Tue, Nov 19, 2013 at 2:26 AM, Chris Angelico wrote:
> It couldn't figure out "Absytrytewh", "picsbeliud", or
> "hnasoa/tw.nartswdbvweos/utrtek:p./il". That's not a bad result. (And
> as a human, I'm guessing that the second one isn't an English word -
> maybe it's Scots?) Here's the code:
It's
On 19/11/2013 07:13, Victor Hooi wrote:
So basically, using exception handling for flow-control.
However, is that considered bad practice, or un-Pythonic?
If it works for you use it, practicality beats purity :)
--
Python is the second best programming language in the world.
But the best ha
Old python, 2.6.4 I believe, not update able from the Ubuntu 10.04.3 LTS
repo's.
Should be a mauchs nichs as the code was written on, and is running on,
several of these same linuxcnc installs.
But when I switch in, as one of the plugins a new .py version of camview-
emc, I get this when I atte
On Tue, Nov 19, 2013 at 7:53 PM, Ian Kelly wrote:
> Aoilegpos for aidnoptg a cdocianorttry vwpiienot but, ttoheliacrley
> spkeaing, lgitehnneng the words can mnartafucue an iocnuurgons
> samenttet that is vlrtiauly isbpilechmoenrne.
isbpilechmoenrne. I totally want to find an excuse to use that w
Le lundi 18 novembre 2013 14:31:33 UTC+1, Steven D'Aprano a écrit :
>
>
> ... choose one of the three bad choices: ...
>
>
>
> * choose UTF-16 or UTF-8, and have O(n) primitive string operations (like
>
> Haskell and, apparently, Ceylon);
>
>
>
> * or UTF-16 without support for the sup
On Monday, November 18, 2013 7:24:53 AM UTC-7, Piet van Oostrum wrote:
> Ferrous Cranus writes:
> > No i haven't broke it at all.
> > Everything work as they should.
> > The refusal of 'pygeoip' to install turned out to be the local setting in
> > my new VPS.
> > So i have changes it to:
> > expo
On 11/18/2013 07:30 AM, Ferrous Cranus wrote:
>[...]
> No i haven't broke it at all. Everything work as they should.
>
> The refusal of 'pygeoip' to install turned out to be the local
> setting in my new VPS.
>
> So i have changes it to:
>
> export LANG = en_US.UTF-8
>
> and then 'pip install p
On Fri, Nov 15, 2013 at 1:45 PM, Alister wrote:
> and if you haven't seen it before :-
>
> Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in
> waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht
> the frist and lsat ltteer be at the rghit pclae. The rset ca
On 19/11/2013 2:15 AM, Ferrous Cranus wrote:
[...]
Any chance you could stop acting like a troll and generating new email
addresses in an apparent attempt to get around people's filters?
You claim you're acting in good faith, so stop appearing to do otherwise.
--
https://mail.python.org/mailma
Ferrous Cranus wrote:
Trying to figure out how to install-setup EPEL repository along with python3 &&
python3-pip and 2 extra modules my script needed in my new VPS have costed 4-5
of my life and of my mental health, while if you just helped a bit these would
have been done in a couple of hours.
Hi all,
I missed to find a Python 2.7.6 Centos 5 distribution.
Here's what I planned to do:
- building from source on Centos 5 in a chroot (is working fine)
- using "sudo make altinstall" (is working fine)
But ...
- I want to build this via Jenkins (we have this kind of chroot
build's sti
100 matches
Mail list logo