On Sep 13, 2012, at 12:00 PM, andrea crotti wrote:
> I have to give a couple of Python presentations in the next weeks, and
> I'm still thinking what is the best approach.
>
> In one presentation for example I will present decorators and context
> managers, and my biggest doubt is how much I sho
On Sep 11, 2012, at 9:12 AM, Bob Aalsma wrote:
> Hmm, this feels embarrassing but the good news is that, on seeing the errors,
> I remember using a "sudo" with the make install and only later finding out
> that I shouldn't have.
>
> Last login: Tue Sep 11 09:46:11 on ttys000
> macpro1:~ debaas
On Sep 11, 2012, at 3:52 AM, Bob Aalsma wrote:
>
> Op 10 Sep 2012, om 22:53 heeft William R. Wing (Bill Wing) het volgende
> geschreven:
>
>> On Sep 10, 2012, at 11:17 AM, Bob Aalsma wrote:
>>
>>> Well, Bill, better late than never - thanks for stepping i
On Sep 10, 2012, at 11:17 AM, Bob Aalsma wrote:
> Well, Bill, better late than never - thanks for stepping in.
> You are right, my problems are not yet solved ;)
As Hans pointed out, you are looking for python, not Python (the frameworks are
named Python, the executable is python). Sorry about
On Sep 9, 2012, at 10:28 AM, BobAalsma wrote:
> I think I've installed Python 2.7.3 according to the instructions in the
> README, and now want to use that version.
> However, when typing "python" in Terminal, I get "Python 2.6.4 (r264:75821M,
> Oct 27 2009, 19:48:32) ".
> So:
> (1) I can't se
On Sep 4, 2012, at 1:58 PM, David Hoese wrote:
> A friend made me aware of this:
> When a python beginner (2.x) quick searches for "print" on docs.python.org,
> the print function doesn't even come up in the top 20 results. The print
> statement isn't even listed as far as I can tell. Is ther
On Aug 22, 2012, at 1:28 PM, Jerry Hill wrote:
> On Wed, Aug 22, 2012 at 11:38 AM, William R. Wing (Bill Wing)
> wrote:
>> Much to my surprise, when I looked at the output file, it only contained 160
>> characters. Catting produces:
>>
>> StraylightPro:Logs wr
"i" in this instance is
2354, so the file should (I thought) have contained the value of "i" followed
by 2 x 2354 values of the data.
> On Wed, Aug 22, 2012 at 8:38 AM, William R. Wing (Bill Wing)
> wrote:
>> In the middle of a longer program that reads and plot
In the middle of a longer program that reads and plots data from a log file, I
have added the following five lines (rtt_data is fully qualified file name):
wd = open(rtt_data, 'w')
stat = wd.write(str(i))
stat = wd.writelines(str(x_dates[:i]))
stat = wd.writelines(str(y_rtt[:i]))
wd.close()
The
On Aug 16, 2012, at 11:40 AM, Ramchandra Apte wrote:
> Look you are the only person complaining about top-posting.
> GMail uses top-posting by default.
>
MANY of us find it irritating...
and it only takes a second to move your cursor down and play nice.
-Bill
--
http://mail.python.org/mailma
On Aug 9, 2012, at 10:38 AM, David Thomas wrote:
> Im looking to upgrade my Mac to 10.8 and I'm worried if Python and IDLE may
> not run on it.
> When I try to run this command in Terminal: python -m idlelib.idle
> I can not launch IDLE which comes bundled on Mac. On Lion it's been fine but
>
On Aug 5, 2012, at 5:14 PM, John Mordecai Dildy wrote:
> Im using Textwrangler and thats the only text editor that im using just
> saying for everyone
> --
> http://mail.python.org/mailman/listinfo/python-list
(With apologies, I initially sent this privately to John, and not to the list.)
As
On Aug 3, 2012, at 11:12 PM, Eric wrote:
> I'm just starting to futz around with matplotlib and I tried to run this
> example from the matplotlib doc page (it's the imshow() example):
>
> import numpy as np
> import matplotlib.cm as cm
> import matplotlib.mlab as mlab
> import matplotlib.pyplot
On Jul 17, 2012, at 9:58 PM, Maria Hanna Carmela Dionisio wrote:
> Im just a student :)
>
> Our prof gave as a task that we need to make a program using python (for
> redhat) and c++(for windows)
>
> Our objective is to make a program file and we will said it remotely to
> another computer via
On Jun 6, 2012, at 9:45 AM, William R. Wing (Bill Wing) wrote:
> On Jun 6, 2012, at 9:29 AM, Alain Ketterlin wrote:
>
>> loial writes:
>>
>>> I have a requirement to test the creation time of a file with the
>>> current time and raise a message if the f
On Jun 6, 2012, at 9:29 AM, Alain Ketterlin wrote:
> loial writes:
>
>> I have a requirement to test the creation time of a file with the
>> current time and raise a message if the file is more than 15 minutes
>> old.
>> Platform is Unix.
>> I have looked at using os.path.getctime for the file
On Jun 3, 2012, at 8:31 PM, Steven D'Aprano wrote:
> On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote:
>
>> Thanks Alain. I should have a compiler on my Mac OS X Lion. I am
>> thinking that it isn't set in my $PATH variable. I don't know where the
>> $PATH is set at. I will check to see
On May 23, 2012, at 7:45 PM, hsa...@gmail.com wrote:
> I am trying to join an online class that uses python. I need to brush up on
> the language quickly. Is there a good book or resource that covers it well
> but does not have to explain what an if..then..else statement is?
>
> Thanks.
> --
>
On May 9, 2012, at 11:35 AM, Florian Lindner wrote:
> Hello,
>
> how can I achieve a behavior like tee in Python?
>
> * execute an application
> * leave the output to stdout and stderr untouched
> * but capture both and save it to a file (resp. file-like object)
>
> I have this code
>
> proc =
On May 8, 2012, at 3:07 PM, F L wrote:
> Hello everyone,
>
> We are trying to implement our own interactive interpreter in our application
> using an embedded Python interpreter.
>
> I was wondering what would be the best way to retreive as text the result of
> executing Python code. The text
On May 2, 2012, at 10:14 PM, Steve Howell wrote:
> This is slightly off topic, but I'm hoping folks can point me in the
> right direction.
>
> I'm looking for a fairly lightweight key/value store that works for
> this type of problem:
>
> ideally plays nice with the Python ecosystem
> the data
On May 7, 2010, at 10:18 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> See comments in-line.
>> On May 7, 2010, at 3:23 PM, MRAB wrote:
>>> William R. Wing (Bill Wing) wrote:
>>>> On May 7, 2010, at 2:08 PM, MRAB wrote:
[byte -byte- byte]
&
On May 7, 2010, at 4:12 PM, J. Cliff Dyer wrote:
> On Fri, 2010-05-07 at 15:36 -0400, William R. Wing wrote:
>
>>
>> Maybe I should have been more explicit. The first line in the Python
>> file is:
>>
>>
>> #!/usr/bin/env Python (alternatively #!/u
See comments in-line.
On May 7, 2010, at 3:23 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> On May 7, 2010, at 2:08 PM, MRAB wrote:
>>> William R. Wing (Bill Wing) wrote:
>>>> Hello World -
>>>> I'm new to both Python and this list, but
On May 7, 2010, at 2:08 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> Hello World -
>> I'm new to both Python and this list, but here's hoping someone can spot my
>> problem.
>> System: Mac OS-X, 10.6.3 (Intel dual quad processor)
>> Usi
Hello World -
I'm new to both Python and this list, but here's hoping someone can spot my
problem.
System: Mac OS-X, 10.6.3 (Intel dual quad processor)
Using Python 2.6.1, and pyserial-2.5_rc2-py2.6
The following snippet of code is designed to open a port via a KeySpan
USB-to-serial converter
26 matches
Mail list logo