>
>
>
> I really like using F5 to run my code, so you can put in your .vimrc so you
> don't have to type it, or just type it every time:
>
> map :!python %
>
> and every time you hit it will run your current script.
>
> Thanks for that. It's even better than typing :!python % because it doesn't
s
Try out Vim. It may take you a week to get used to it. Best thing I ever did
was finally get started on Vim. Once I got used to it I was very happy.
Google around for Vim tutorials. There is a #VIM channel on freenode I
believe. There is also a VIM mailing list that is very helpful. You won't
need
>
> On Tue, Jun 9, 2009 at 6:34 AM, The Green Tea Leaf <
> thegreenteal...@gmail.com> wrote:
>
>> I got an email from him that he had a gzip.pyc file in that folder.
>> Once he deleted that everything works OK.
>
>
> Heh... I think I've made that mistake before;
>
> "My import statement doesn't wor
On Tue, Jun 9, 2009 at 3:00 AM, Mike Hoy wrote:
> Here's the screenshot:
>
> http://img40.imageshack.us/img40/7124/printtwice.png
>
> In case the image goes down here's the code:
> import gzip
> import datetime
> date = datetime.date.today()
> name = date.st
I have the following code:
import gzip
import datetime
date = datetime.date.today()
name = date.strftime('%m-%d-%Y')+'.gz'
date.strftime('%m-%d-%Y')+'.gz'
print "The name of the file will be", name
the output is:
The name of the file will be
The name of the file will be 06-08-2009.gz
I can't fi
ughts?
--
Mike Hoy
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
os.system("cat textfile | less")
did the trick, thanks everyone.
On Wed, Nov 19, 2008 at 2:34 PM, Lie Ryan <[EMAIL PROTECTED]> wrote:
> On Mon, 17 Nov 2008 09:20:55 -0500, Shawn Milochik wrote:
>
>> On Sun, Nov 16, 2008 at 1:21 PM, Mike Hoy <[EMAIL PROTECTED]&
Ok thanks Alan for looking into it. I'll give it a try.
On Mon, Nov 17, 2008 at 12:27 PM, ALAN GAULD <[EMAIL PROTECTED]> wrote:
> Forwarding to the group.
> Please use Reply All when responding.
>
>
> - Original Message
> From: Mike Hoy <[EMAIL PROT
gram? I noticed that on the man pages that you can do that
although I'm sure it's not written in python. Do I need to find a new
language to write this in? Maybe use a different language for the
output and still use python? Any help appreciated.
--
Mike H
is it possible to take information contained inside a text file and put
it into a list? My text file contains info derived from a list so it
looks like this: ['foo','bar'].
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo
quot;:
print "GoodBye"
deleteAll()
Any pointers you can offer would be appreciated.
Thanks,
Mike Hoy
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
11 matches
Mail list logo