On 21/05/12 01:41, Steven D'Aprano wrote:
That is insanity! There is only One True EDitor, ed! It is right there
in the name, it's an EDitor! ed is the true unix editor:
http://www.gnu.org/fun/jokes/ed.msg.html
Having once had no alternative to ed and a 3500 line C program to write,
I don't
On 21/05/12 06:57, Modulok wrote:
Learning to use a command line at first feels really clunky and primitive, but
eventually it eclipses most GUI's and IDE's in terms of speed and the tools
An old colleague of mine used to say: "A GUI makes easy things trivial
and hard things impossible" :-)
On Sun, May 20, 2012 at 11:57:14PM -0600, Modulok wrote:
> Learning to use a command line at first feels really clunky and primitive, but
> eventually it eclipses most GUI's and IDE's in terms of speed and the tools
> available. You can also ooze right into system administration without much
> eff
All, I have had a curious idea for awhile, and was wondering the best
way to implement it in Python and if it is even possible. The concept
is this, a file that is actually a folder that contains multiple files
(Like an Archive format). The actual files are really un-important.
What I want is for t
On Mon, May 21, 2012 at 6:38 AM, wolfrage8...@gmail.com
wrote:
> All, I have had a curious idea for awhile, and was wondering the best
> way to implement it in Python and if it is even possible. The concept
> is this, a file that is actually a folder that contains multiple files
> (Like an Archive
wolfrage8...@gmail.com wrote:
All, I have had a curious idea for awhile, and was wondering the best
way to implement it in Python and if it is even possible. The concept
is this, a file that is actually a folder that contains multiple files
(Like an Archive format). The actual files are really un
On Mon, May 21, 2012 at 5:06 AM, Steven D'Aprano wrote:
> On Sun, May 20, 2012 at 11:57:14PM -0600, Modulok wrote:
>
>> Learning to use a command line at first feels really clunky and primitive,
>> but
>> eventually it eclipses most GUI's and IDE's in terms of speed and the tools
>> available. Yo
Joel Goldstick wrote:
I'm not sure if this is exactly what you are looking for, but python
handles tar files (various compression formats) with this module:
http://docs.python.org/library/tarfile.html.
Technically, tar is not a compression format. It just combines multiple files
into a single
On Mon, May 21, 2012 at 7:38 AM, Steven D'Aprano wrote:
> Joel Goldstick wrote:
>
>> I'm not sure if this is exactly what you are looking for, but python
>> handles tar files (various compression formats) with this module:
>> http://docs.python.org/library/tarfile.html.
>
>
> Technically, tar is n
On 05/21/2012 06:38 AM, wolfrage8...@gmail.com wrote:
> All, I have had a curious idea for awhile, and was wondering the best
> way to implement it in Python and if it is even possible. The concept
> is this, a file that is actually a folder that contains multiple files
> (Like an Archive format).
When I started learning Python I was pleased to discover Python For
Windows. I probably would have given up if this tool were not available.
Perhaps this is because I had spent many years working with other IDEs
in other languages/applications. (VBA, FoxPro, Advanced Revelation to
name some).
-- Forwarded message --
From: wolfrage8...@gmail.com
Date: Mon, May 21, 2012 at 2:16 PM
Subject: Re: [Tutor] Is this possible and should it be done?
To: Steven D'Aprano
Thank you for the information. Sorry if I implied I wanted to
re-invent the wheel but actually this feedback i
Forwarded because I did not reply to the list properly. Hopefully I
did not forward wrong.
-- Forwarded message --
From: wolfrage8...@gmail.com
Date: Mon, May 21, 2012 at 2:18 PM
Subject: Re: [Tutor] Is this possible and should it be done?
To: Joel Goldstick
Thank you for your h
On Mon, May 21, 2012 at 4:06 PM, William R. Wing (Bill Wing)
wrote:
> On May 21, 2012, at 6:38 AM, wolfrage8...@gmail.com wrote:
>
>> All, I have had a curious idea for awhile, and was wondering the best
>> way to implement it in Python and if it is even possible. The concept
>> is this, a file th
Hey all,
Being new to programming, I've found that my learning is accelerated when
I've been asked to write scripts and deliver them in a specified time
frame...Then, have those scripts critiqued.
My question: Would the moderators of this list be interested in creating a
monthly "challenge" of so
On Mon, May 21, 2012 at 4:47 PM, Malcolm Newsome
wrote:
> Hey all,
>
> Being new to programming, I've found that my learning is accelerated when
> I've been asked to write scripts and deliver them in a specified time
> frame...Then, have those scripts critiqued.
>
> My question: Would the moderato
Hello,
: Being new to programming, I've found that my learning is
: accelerated when I've been asked to write scripts and deliver
: them in a specified time frame...Then, have those scripts
: critiqued.
:
: My question: Would the moderators of this list be interested in
: creating a mo
On 21 May 2012 03:39, "Steven D'Aprano" wrote:
>
> boB Stepp wrote:
>> now on learning an IDE if it will save me time overall. IF it would be
>> beneficial now to learn an IDE, then it begs the question
>
>
> No it doesn't. It RAISES the question -- begging the question means to
*assume the ans
Hello,
Is there a module available for python to convert datetime into an
array of integers. For example, I have date where the first column is
a datetime string (i.e. '2010-10-10 01:10:00') and I would like to
convert that into an array with 5 columns corresponding to the integer
values of Year,M
On Monday 21 May 2012, Martin A. Brown wrote:
> Hello,
>
> : Being new to programming, I've found that my learning is
> : accelerated when I've been asked to write scripts and deliver
> : them in a specified time frame...Then, have those scripts
> : critiqued.
> :
> : My question: Would the
This should do what you want.
import time
timestring = '2010-10-10 01:10:00'
time_format = '%Y-%m-%d %H:%M:%S'
timestruct = time.strptime(timestring, time_format)
print [x for x in timestruct]
For complex date parsing I would recommend checking out the dateutil.parser
http://labix.org/python-dat
On 5/21/2012 3:38 AM wolfrage8...@gmail.com said...
All, I have had a curious idea for awhile, and was wondering the best
way to implement it in Python and if it is even possible. The concept
is this, a file that is actually a folder that contains multiple files
(Like an Archive format). The actu
On Mon, May 21, 2012 at 11:47 AM, Jeremy Traurig
wrote:
> Hello,
>
> Is there a module available for python to convert datetime into an
> array of integers. For example, I have date where the first column is
> a datetime string (i.e. '2010-10-10 01:10:00') and I would like to
> convert that into a
Hi Jeremy,
On 21 May 2012 16:47, Jeremy Traurig wrote:
> Is there a module available for python to convert datetime into an
>
I presume you mean, "convert a datetime *string* into an array of integers"?
array of integers. For example, I have date where the first column is
> a datetime string (i
On 21 May 2012 01:19, "boB Stepp" wrote:
>
> On Sun, May 20, 2012 at 4:44 PM, Brian van den Broek
> wrote:
> > With you polyglot agenda, I would say you would be much better off to
learn
> > a powerful multipurpose editor well than to try to find the best of
breed of
> > each class of special
In my humble opinion, I think what is important is to get familiar with python
for now. The free version of Komodo is what I have been using and its been
cool.
When you're comfortable with the language and you want to start writing some
apps and all of that, you would be matured and independen
On 21/05/12 15:23, wolfrage8...@gmail.com wrote:
if any of these formats offer file locking with in them, ;et me say
that better. Can I open a, as example, tar file and lock a file with
in it, with out locking the entire tar archive?
No and you probably shouldn't.
If two users are accessing t
Pop onto http://ubuntuforums.org and find the programming talk sub-forum.
One of the stickies there is an index of beginner programming challenges.
It's a rolling process where the winner of the previous challenge posts a
new one and then picks a winning entry who goes on to post the next
challenge
Hello,
I am reading a data file with a string time stamp as the first column,
example below:
'03/10/2010 02:00:00'
'03/10/2010 02:10:00'
'03/10/2010 02:20:00'
'03/10/2010 02:30:00'
etc to n number of rows.
I'm using the numpy function genfromtxt to read this data:
import numpy as np
datetime_IN
On 05/21/2012 07:24 PM, Alan Gauld wrote:
> On 21/05/12 15:23, wolfrage8...@gmail.com wrote:
>
>> if any of these formats offer file locking with in them, ;et me say
>> that better. Can I open a, as example, tar file and lock a file with
>> in it, with out locking the entire tar archive?
>
> No a
Hi,
On 21 May 2012 15:17, bob gailer wrote:
> There are numerous IDES for Python that run on Linux systems (most are
> free).
>
I'd like to add that if/when you do decide to pick up an IDE, I suggest you
try Eclipse. For one it will allow you to use it for other languages also
(Java, C++, et a
On 5/21/2012 1:04 PM Jeremy Traurig said...
Hello,
I am reading a data file with a string time stamp as the first column,
example below:
'03/10/2010 02:00:00'
'03/10/2010 02:10:00'
'03/10/2010 02:20:00'
'03/10/2010 02:30:00'
etc to n number of rows.
I'm using the numpy function genfromtxt to r
Many thanks for all of the helpful input to my original questions. The
deciding factors came down to the fact that GNU Emacs, vintage year
2001, is available on the Sun Blade at work, I already own the book
"Learning GNU Emacs" and it would be nice to have my fingers trained
the same way for both w
33 matches
Mail list logo