With reference to a beginning editor, if you want to go heavy-weight go vim. Now I'm not a python expert, but I will say vim is prolly a little harder than emacs, however scripting in vim has many similarities to various types in python. The python forloop is definitely very similar to that of vim. Plus, vim may be configured for use with ipython(enhanced interactive python shell) But those are as previously mentioned very complex editors. There are others that although aren't totally as powerful will make things infinitely easier to learn. The thing that's nice about others that are ready to roll once installed, the ease in use let's you focus on learning the programming. Some of these more user friendly editors are: spyder(python editor with lots of features), or geany, which is probably the more widespread. These will with a click or few clicks provide syntax+highlighting+syntax error-checking setup. This can be difficult in the traditional text editors vim+ emacs,(I know vim) have to be compiled with certain support, as well as then have plugins installed/created, and alot of things configured. But if you wanna go w/a text editor+ python try out swaroop's site. He has two books, A Byte of Python, and A Byte of Vim. They are great for introduction stuff. But in the end learning one well makes it far easier than learning both at the same time. Good Luck!!
Connected by DROID on Verizon Wireless

-----Original message-----
From: tutor-requ...@python.org
To: tutor@python.org
Sent: Mon, Oct 31, 2011 02:55:23 GMT+00:00
Subject: Tutor Digest, Vol 92, Issue 123

Send Tutor mailing list submissions to
        tutor@python.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.python.org/mailman/listinfo/tutor
or, via email, send a message with subject or body 'help' to
        tutor-requ...@python.org

You can reach the person managing the list at
        tutor-ow...@python.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tutor digest..."


Today's Topics:

  1. Setting Up Emacs (Rinu Boney)
  2. Re: Setting Up Emacs (Steven D'Aprano)
  3. Re: Setting Up Emacs (Tim Johnson)
  4. Re: Setting Up Emacs (Alan Gauld)
  5. Re: Setting Up Emacs (Tim Johnson)
  6. Re: Method to create small and simple database (Joel M.)
  7. Re: Setting Up Emacs (Bill Allen)


----------------------------------------------------------------------

Message: 1
Date: Sun, 30 Oct 2011 18:53:04 +0530
From: Rinu Boney <rinu.mat...@gmail.com>
To: tutor@python.org
Subject: [Tutor] Setting Up Emacs
Message-ID:
        <cajtwv12yyow+nb-+cekzwfmp0f3wjkvyerzfoe1kzctf7dh...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I am New To Python.
I Would Like To Setup Emacs As A Python IDE.
I Don't Know Anything About Emacs!
Can Someone Help Me ?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111030/ad7f346e/attachm ent-0001.html>

------------------------------

Message: 2
Date: Mon, 31 Oct 2011 02:25:23 +1100
From: Steven D'Aprano <st...@pearwood.info>
To: tutor@python.org
Subject: Re: [Tutor] Setting Up Emacs
Message-ID: <4ead6c63.6020...@pearwood.info>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Rinu Boney wrote:
I am New To Python.
I Would Like To Setup Emacs As A Python IDE.
I Don't Know Anything About Emacs!

If you don't know anything about emacs, and you don't know anything about Python, why do you want to make things ten times more difficult by learning a new language AND the most heavyweight, complex editor at the same time?

I recommend you use a more friendly editor. You haven't mentioned what operating system you are using. If you are using Linux with the KDE desktop, I recommend you use a good, modern GUI editor like Kate as your editor. Other people might prefer different editors, but I've come to like Kate the best.

Personally, I recommend against IDEs. I find that they are over-complicated and get in the way. I've seen too many people struggling because their IDE changes the way their code works. I recommend you keep your code open in an editor, an interactive session open in a good xterm, and a second xterm tab open for running your script. That's my preference.

But, if you still want to use Emacs as a Python IDE, have you tried searching for "python emacs ide"?

https://duckduckgo.com/html/?q=python%20emacs%20ide



--
Steven


------------------------------

Message: 3
Date: Sun, 30 Oct 2011 07:53:15 -0800
From: Tim Johnson <t...@akwebsoft.com>
To: tutor@python.org
Subject: Re: [Tutor] Setting Up Emacs
Message-ID: <20111030155315.gb10...@akwebsoft.com>
Content-Type: text/plain; charset=us-ascii

* Steven D'Aprano <st...@pearwood.info> [111030 07:40]:
Rinu Boney wrote:
>I am New To Python.
>I Would Like To Setup Emacs As A Python IDE.
>I Don't Know Anything About Emacs!

If you don't know anything about emacs, and you don't know anything about Python, why do you want to make things ten times more difficult by learning a new language AND the most heavyweight, complex editor at the same time?

I recommend you use a more friendly editor. You haven't mentioned what operating system you are using. If you are using Linux with the KDE desktop, I recommend you use a good, modern GUI editor like Kate as your editor. Other people might prefer different editors, but I've come to like Kate the best.

 I've used emacs extensively in the past and now use vim.  They are
 both rewarding to use, but to support Steven, it could be a
nightmare for Rinu to to learn both python and emacs or vim. I believe that idle is part of the python distro on both linux and
 darwin (Mac OSX). That is worth consideration, I would think.
If Rinu is on windows, there is pythonwin and there is an
 extremely good, well supported and easy-to-learn shareware editor
 called Boxer. I would recommend either to any programmer in a
 windows environment.
        
Personally, I recommend against IDEs. I find that they are over-complicated and get in the way. I've seen too many people struggling because their IDE changes the way their code works. I recommend you keep your code open in an editor, an interactive session open in a good xterm, and a second xterm tab open for running your script. That's my preference.

Yeah. What he said.
--
Tim tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com


------------------------------

Message: 4
Date: Sun, 30 Oct 2011 17:20:18 +0000
From: Alan Gauld <alan.ga...@btinternet.com>
To: tutor@python.org
Subject: Re: [Tutor] Setting Up Emacs
Message-ID: <j8k10i$ma2$1...@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 30/10/11 13:23, Rinu Boney wrote:
I am New To Python.

Welcome to the group.
Do you know any other languages or are you new to programming
as well?

I Would Like To Setup Emacs As A Python IDE.
I Don't Know Anything About Emacs!

If you don;t know emacs then don;t bother.
emacs is a fantastic editor and general user environment but
it is big and complex and takes long time to gt "just right"
for you.

If you were already an emacs user I'd say go right ahead,
but as a newbie learning Python will be a big enough challenge.

If you are used to IDEs like MS Visual Studio or Eclipse then
the best bet is to use Eclipse with the PyDev plug-in.
(Or Netbeans if you prefer it to Eclipse, I've used and
liked both, and they both support Python well)

If you are on a Mac you can use the Apple XDeveloper
tools (XCode etc) or install Eclipse.

If you are not a died in the wool IDE user then try something
simpler like IDLE or Pythonwin for Windows (But the fact you
even mention Emacs suggests you are not using Windows)

Or go for the minimalist approach suggested by Stephen.
Many of us(including me) favor 3 separate windows
- a text editor to type the final code
- an interpreter to try out ideas and snippets
- A vanilla OS prompt to test the "production" code

Occasionally you may open a debugger window too,
but mostly in Python you don't need that.

HTH,

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



------------------------------

Message: 5
Date: Sun, 30 Oct 2011 09:41:48 -0800
From: Tim Johnson <t...@akwebsoft.com>
To: tutor@python.org
Subject: Re: [Tutor] Setting Up Emacs
Message-ID: <20111030174148.gc9...@akwebsoft.com>
Content-Type: text/plain; charset=us-ascii

* Alan Gauld <alan.ga...@btinternet.com> [111030 09:26]:
On 30/10/11 13:23, Rinu Boney wrote:
>I am New To Python.

Welcome to the group.
Do you know any other languages or are you new to programming
as well?

>I Would Like To Setup Emacs As A Python IDE.
>I Don't Know Anything About Emacs!

If you are on a Mac you can use the Apple XDeveloper
tools (XCode etc) or install Eclipse.
If you are not a died in the wool IDE user then try something
simpler like IDLE or Pythonwin for Windows (But the fact you
even mention Emacs suggests you are not using Windows)

 IDLE came pre-installed on my mac. I believe that I had to add it
 on my ubuntu PC.

--
Tim tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com


------------------------------

Message: 6
Date: Sun, 30 Oct 2011 15:33:23 -0400
From: "Joel M." <joelmonte...@gmail.com>
To: Tutor Python <tutor@python.org>
Subject: Re: [Tutor] Method to create small and simple database
Message-ID:
        <CAKLZg_yZ=z4aieuffcg35ozhgmji3wye3svzzmat0esfgo-...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Sat, Oct 29, 2011 at 6:58 PM, Alan Gauld <alan.ga...@btinternet.com>wrote:

On 29/10/11 19:28, Joel Montes de Oca wrote:

 After looking at the Python module documentation for sqlite3
(http://docs.python.org/**library/sqlite3.html#module-**sqlite3<http://docs.p ython.org/library/sqlite3.html#module-sqlite3>),
it seems
to me it's the best way to make the small database that I am looking for.


SQLlite is a great way to build small scale SQL databases.
However for this app I'd probably second the advice to use shelve.
Shelve acts like a dictionary in a file so you can associate a list of
items with a user very very easily.



 Now I need to look for a basic tutorial on constructing a simple
database (tables, rows, keys) and how to connect all that stuff
together. If anyone happens to know of a good intro tutorial or
documentation to database concepts, please forward it to me.


You can try the database topic in my tutorial(see below).
It's only available for Python v2 at present but the translation
to Python v3 (if that's what you are using) is trivial.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/


______________________________**_________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/**mailman/listinfo/tutor<http://mail.python.org/mailma n/listinfo/tutor>




I will take a look into Shelve and Alan's tutorial sometime this coming
week.

Keep the suggestions coming if there's more. :)

-Joel M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111030/dd2ee420/attachm ent-0001.html>

------------------------------

Message: 7
Date: Sun, 30 Oct 2011 21:52:40 -0500
From: Bill Allen <walle...@gmail.com>
To: tutor@python.org
Subject: Re: [Tutor] Setting Up Emacs
Message-ID:
        <cacrcdxsvqrkgmqc2xtnubxyavzzswzor7xhfbstdnxpfv3v...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

> On 30/10/11 13:23, Rinu Boney wrote:
> >I am New To Python.
>

> >I Would Like To Setup Emacs As A Python IDE.
> >I Don't Know Anything About Emacs!
>

As others have also mentioned, try IDLE.  It comes packaged with Python
for Windows and is easily available for Python on Linux.   It will do most
of what you really, really need.

--Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111030/ce73f11c/attachm ent.html>

------------------------------

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


End of Tutor Digest, Vol 92, Issue 123
**************************************

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to