thanks for the useful notes guys, you are really of great help.
oh and Phil, i will pay attention to the subject next time i post
something :)

On 17 Apr, 10:28, Phil Mocek <pmocek-list-django-us...@mocek.org>
wrote:
> On Fri, Apr 17, 2009 at 12:53:29AM -0700, 83nini wrote:
> > guys how do i create a .py file?
>
> > I am working on the tutorial and i don't know how to create views.py
>
> First, for your own good and that of other subscribers to this mailing
> list, please see Eric S. Raymond's essay, "How To Ask Questions The
> Smart Way" [1], particularly the section, "Use meaningful, specific
> subject headers" [2].
>
> There's really no such thing as a ".py file".  ".py" is a suffix
> typically used in the names of files that contain source code written in
> the Python programming language.  They can be created the same ways that
> any other files are created.  Typically, you'd do so using a text
> editor.
>
> A text editor, sometimes called a programmer's editor, is simply a
> program that allows one to create and modify plain text.  Source code is
> plain text.  E-mail is plain text (unless you stuff something else, like
> HTML in it, but please don't do that).
>
> Although all modern word processors can export a document as plain text
> and although some are able to edit in a special plain text mode, they
> are generally not the best tool for editing plain text, as they are
> designed primarily for dealing with complicated formatting and page
> layout.
>
> GNU Emacs [4] and Vim [5] (a clone of the ancient vi editor) are very
> powerful and widely-used editors with steep learning curves.  Though
> their roots are in Unix, they are now available on any platform for
> which an ANSI C compiler exists, so they run almost everywhere.
>
> The bare-bones but ubiquitous Notepad is included with Windows operating
> systems.  It has very few features -- it's a text editor, but hardly
> adequate as a programmer's editor -- but it is small, fast, and familiar
> to Windows users.  Notepad2 [6] seems to be a good replacement.
>
> On Mac OS, TextEdit is included with the operating system and is similar
> in functionality to Windows' Notepad.  BBEdit [7] and SubEthaEdit [8] are
> very popular text editors for Macs.
>
> jEdit [9] is written in Java, so it runs on all the above operating
> systems.
>
> For more advanced editing with the addition of features like code
> completion, syntax highlighting, syntax analysis, refactoring, and
> debugging, some people prefer to use an IDE (integrated development
> environment).  An excellent one is Eclipse [10].  It runs anywhere Java
> is available.  PyDev [11] is a Python plugin for Eclipse.
>
> On an Ubuntu or Debian GNU/Linux system, to install vim and any
> prerequisites, you'd run "apt-get install vim" from the command line.
> Similarly, to install PyDev (and Eclipse, and all their prerequisites)
> you'd run "apt-get install eclipse-pydev".  On Mac OS, things are a bit
> more complicated.  On Windows, things are a lot more complicated.
>
> References:
>
>  [1]: <http://www.catb.org/~esr/faqs/smart-questions.html>
>  [2]: <http://www.catb.org/~esr/faqs/smart-questions.html#bespecific>
>  [3]: <http://www.python.org/>
>  [4]: <http://www.gnu.org/software/emacs/>
>  [5]: <http://www.vim.org/>
>  [6]: <http://www.flos-freeware.ch/notepad2.html>
>  [7]: <http://www.barebones.com/products/bbedit/index.shtml>
>  [8]: <http://www.codingmonkeys.de/subethaedit/>
>  [9]: <http://www.jedit.org/>
> [10]: <http://www.eclipse.org/>
> [11]: <http://pydev.sourceforge.net/>
>
> --
> Phil Mocek
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to