On 2014-03-20, Terry Reedy wrote:
> That must be the only one you imported.
So it is. Thank you.
nb
--
https://mail.python.org/mailman/listinfo/python-list
On 2014-03-20, Ned Batchelder wrote:
> On 3/20/14 3:07 PM, Eric Jacoboni wrote:
>> With Arch-Linux, python is python3...
>>
> Yes, and they have been told many times that this was foolish and wrong,
> but it persists, much to our pain.
I've read that 2.7 is the defacto std for python (default
On 2014-03-20, Mark H Harris wrote:
> When I call python2 that means python2.7.6 /
>
> When I call python3 that means python3.3.4 /
>
> I can also call python2.7, which is 2.7.2 /
>
> You get the idea. There is no one set rule, because there are many
> distros (gnu/linux) that use python at va
On 2014-03-20, Mark H Harris wrote:
> not) there really is no problem. The reason is that the .pyc files
> created for python2.x are only used by python2.
Lordy, what hath I wrought!? ;)
What the heck is a .pyc file and how are they created? Actually, I
can see it's a compiled binary, but
On 2014-03-20, Zachary Ware wrote:
> If you're specifying the interpreter in your command (by calling
> "python .py", etc), the shebang won't mean anything
> anyway.
DOH!
I was following you, fine, until that last sentence. Then how should
I invoke the scripts? as your example is exactly
On 2014-03-20, Marko Rauhamaa wrote:
> That's a bit of a sore spot.
>
> On a linux box, the initial line of the script indicates the
> interpreter:
>
>#!/usr/bin/env python2
>
> for Python 2.x
>
>#!/usr/bin/env python3
>
> for Python 3.x.
>
> All tutorials will tell you to start it with
>
Dumb noob questions:
I've installed python 3.3 on my Slack box, which by default comes with
python 2.7. I know how to fire up the different IDLE environments,
but how do I differentiate between the scripts? IOW, up till now,
I've used .py on all my 2.7 files. How do I know not to run a .py in
I'm trying to learn python. I'm doing it via Zed Shaw's Learn Python
the Hard Way. Sure enough, 16 lessons in and I've run aground. Is it
OK for a painfully stupid ol' fart to ask painfully stupid noob
questions, here? I'm a long time usenet fan and prefer it to irc.
I've run Slackware for man
On 2014-01-20, Matt Watson wrote:
> My question to you guys is... for someone like me, what route would
> you take to learning Python? "Learn Python the Hard Way" sounds like
> a good route, but I prefer some testimony before I make a
> purchase.
You sound a lot like myself, in that you are eas
On 2013-02-26, Tim Chase wrote:
> which suggests that they've been actively maintained since 1999-2000
> or so.
in various guises, dating back to the man pages. Not all as
thorough as the latest "manual". Perhaps I shoulda qualified usable
docs. ;)
nb
--
http://mail.python.org/mailman
On 2013-02-26, Andrew Berg wrote:
> On 2013.02.26 10:19, notbob wrote:
>> zsh? What docs!?
> You mean other than the gigantic user manual?
> http://zsh.sourceforge.net/Doc/
"This document was generated by Simon Ruderich on July 24, 2012"
'bou
On 2013-02-26, Steven D'Aprano wrote:
> "The Python documentation is bad, and you should feel bad".
Ahh! A point at which I can interject.
As a rank green python noob, I definitely hava an opinion on python
documentation and it's not entirely flattering. OTOH, it's hard to
toss any other sing
On 2008-05-21, Paul Rubin wrote:
> Knowing lots of languages is good for you. php is probably your
> quickest route to getting a rudimentary web app running. Python
> is a longer term project. Do both.
Good advice. Thank you.
nb
--
http://mail.python.org/mailman/listinfo/python-list
On 2008-05-22, Larry Bates <[EMAIL PROTECTED]> wrote:
> Check out the Pylons blog tutorial. You will have a simple blog up and
> running
> in less than 30 minutes and have a platform to extend it with as much
> functionality as you want later on.
>
> Larry Bates
>
> Pylons blog tutorial:
>
> h
On 2008-05-21, Damon Getsman <[EMAIL PROTECTED]> wrote:
> My suggestion, if you want to keep that gray meat sparking, is to go
> with only html & php. You could have the php dumping your entries
> into date/time named textfiles on there when you're writing, and when
> someone is reading, it just
On 2008-05-21, Carl Banks <[EMAIL PROTECTED]> wrote:
> If you just want to write a simple blog, PHP is probably good enough.
> It's undeniably easier to jump into web programming with PHP--
> partially because of it's widespread support and straightforward
> usage, partially because Python web sol
On 2008-05-21, Michael Vilain <[EMAIL PROTECTED]> wrote:
> your site. They may even have a blogging package you can administer
> entries without any programming.
>
> What's your end-goal here? If you can't program, you may be better off
> with a package or tool that does all the heavy lifting
I'm not posting this just to initiate some religious flame war, though it's
the perfect subject to do so. No, I actaully want some serious advice about
these two languages and since I think usenet is the best arena to find it,
here ya' go.
So, here's my delimna: I want to start a blog. Yeah, who
On 2008-05-12, John Salerno <[EMAIL PROTECTED]> wrote:
> language, I can't help but feel that I will be mostly unable to use what I
> learn simply because I have no reason to use it.
> The *process* of learning is enough fun for me, and every now and then I do
> find a small use for Python that
On 2008-05-11, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> on the Amiga, it could be any of those applications).
ahhh the Amiga, the demise of which was one of the great calamaties of
our cyber time. (sniff)
nb
--
http://mail.python.org/mailman/listinfo/python-list
On 2008-05-10, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> So... in short, you'd need to have been reading a tutorial specific
> to "shell" scripting...
I have been. I'm also trying to learn bash shell scripting, not to mention
sed/awk, php, etc. I should have started this a long time
On 2008-05-10, notbob <[EMAIL PROTECTED]> wrote:
> BTW, anyone know a better cli news client/editor combo than slrn/jed (don't
> even think vi!)? When I cp/past code (or most anything else) to jed, all
> the lines become stair-stepped. This is no biggie for a most stuff, bu
On 2008-05-10, Ivan Illarionov <[EMAIL PROTECTED]> wrote:
> Shebang is certainly broken, possible causes:
> 1. Wrong line endings (should be \n)
Nope. Not it.
> 2. Whitespace before the shebang
BINGO! we have a winner. ;)
I thought for sure that was not correct. No white space before t
On 2008-05-10, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> notbob schrieb:
>> script the same way ($ ./helloworld) and it works fine. Same shebang, same
>> dir, same permission, etc.
>
> I'm pretty sure you misse the correct shebang -
Sorry. Both exac
Grrr
I'm following A Byte of Python and into the while loops chap. I cp/paste
while.py to a file and give 777 perms. I mv while.py to while and run it
(./while)
as a standalone script. I get errors.
Here is the script:
while.py
http://www.ibiblio.org/swaroopch/byteofpython/read/while-st
On 2008-05-08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am running Fedora Linux and KDE, using the Konsole command line.
I also run python from Konsole.
> When coding Python, I regularly make a bug causing my program to not
> terminate. But how do I kill the non-terminating Python inte
On 2008-05-06, hdante <[EMAIL PROTECTED]> wrote:
> When you have a problem with your code, always post here the complete
> code and a complete execution. For example:
I'll keep this example. Thnx.
> /--\ glued
> | bruce | --> 42
> \--/
>
> When you use a stamp, it r
On 2008-05-06, Jeffrey Froman <[EMAIL PROTECTED]> wrote:
> Nice to see another Slackware user around here!
Likewise. ;)
> That's correct. A function doesn't generally *do* anything until it is
> called. Here, it is only defined. The only thing this function does when
> called is to print the v
On 2008-05-04, notbob <[EMAIL PROTECTED]> wrote:
> I'm trying to learn how to program. I'm using:
>
> How to Think Like a Computer Scientist
>
> Learning with Python
> 2nd Edition
http://openbookproject.net//thinkCSpy/index.xhtml
OK then, using the above, I
I'm trying to learn how to program. I'm using:
How to Think Like a Computer Scientist
Learning with Python
2nd Edition
Am I likely to receive any help, here, or is there another irc, forum, etc,
that might better serve a complete amateur such as myself. Thnx.
nb
--
http://mail.python.org/m
On 2007-06-27, Twisted <[EMAIL PROTECTED]> wrote:
> irritating was the necessary frequent trips to the help. Even when the
> help was easy to use (itself rare) that's a load of additional task
> switching and crap. Of course, lots of the time the help was not easy
> to use. Man pages and anything
On 2007-06-25, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> X11 interface. I don't see why Notepad is special in any way here.
It's not. I discovered, quite by accident, wordpad is the superior
text editor in windows. It even properly formats those cryptic brag
pages crackers put in cracked
On 2007-06-21, Kaldrenon <[EMAIL PROTECTED]> wrote:
> Feel free to disagree with what I'm about to say.
[...]
> And if you disagree with me, or if you think I expressed my point
> poorly
I think you expressed it well. I'll add that using one does not
necessarilly exclude using the other. I
["Followup-To:" header set to comp.emacs.]
> If you'd spent half an hour using the tutorial (helpfully displayed
> right there when you start emacs), you could have saved three and a half
> hours of wasted time. And you'd now be using an actual text editor,
> which is often helpful.
Your stateme
On 2007-06-21, Lew <[EMAIL PROTECTED]> wrote:
> Your comment reads like you've missed most of this thread.
This may be due to the fact I've missed most of this thread.
nb
--
http://mail.python.org/mailman/listinfo/python-list
On 2007-06-21, David Kastrup <[EMAIL PROTECTED]> wrote:
>
> I should think that version 2.3.1 would not even try ftp. Is that on
> Multics?
Slackware 10.1
nb
--
http://mail.python.org/mailman/listinfo/python-list
On 2007-06-21, Lew <[EMAIL PROTECTED]> wrote:
> To the claim that "emacs is too hard for the beginner" we have a mounting
> pile
> of steaming evidence that refutes. It may still be true that it is too hard
> for some beginners..
I point them to jed. I, too, was overwhelmed by emacs, ini
On 2007-06-21, David Kastrup <[EMAIL PROTECTED]> wrote:
> You know you can use something like
> C-x C-f /su::/etc/fstab RET
> (or /sudo::/etc/fstab) in order to edit files as root in a normal
> Emacs session?
As I understand it, this will only work for ver 22 and later or if
you have tramp(?) ins
On 2007-06-21, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> You can have Emacs when you pry it from my cold hypertrophied
> escape-pressing pinky!
LOL!
nb
--
http://mail.python.org/mailman/listinfo/python-list
On 2007-05-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> http://britneyboobs.blogspot.com/2007/05/britney-spears-slips-up-again-exposes.html
> - Exclusive pics of Britney Spears..
Britneyboobs what?... you take pride in being one?
nb
--
http://mail.python.org/mailman/listinfo/python
40 matches
Mail list logo