On 26 January 2012 04:50, JJ Zolper <cod...@madtrak.com> wrote:
> In many of the (I)DEs (PythonWin, IDLE, probably the various EMACS
> and VI configurations, SciTE), one can edit a file, save it (some will
> save for you if needed), then hit some key combo which will spawn a
> Python interpreter passing it the file for execution. You may even be
> prompted to supply command line arguments (PythonWin, I know does this).
>
> This is very interesting thanks for sharing! As for the information above
> that has cleared it up quite a bit for me.
>
> Sam Lai has helped a lot I think I am going to try to see if CPython works
> in VS because he thinks I will have less compatibility with IronPython and
> Django which would not be good. For the time being however I think I might
> just use VS since I am still new to really what I could be lacking with that
> as far as compatibility.

Python Tools for Visual Studio should automatically detect CPython if
you have that installed. If you haven't, I suggest you download an
install a CPython distribution called ActivePython Community Edition
(http://www.activestate.com/activepython/downloads). It will set up
Python in your Windows environment properly, which the official one
doesn't seem to do right (judging by the posts here about Windows).

The bonus with VS is the great debugger, which works with CPython as
well. Many of the IDEs mentioned are just great text editors, and
don't include a debug environment (i.e. the ability to set
breakpoints, explore stack, step through code visually etc.). Some do
include such an environment, including PyCharm and PyDev.

PostgreSQL also works fine on Windows. No idea about all the GIS stuff
though. If you're comfortable with using Linux, then go for it, but
most of the basic stuff you can do on Windows (until you need other
bits of software to make things work, like Redis). Unless you have a
preference for Windows though, I wouldn't use it as a Django app web
server in production; there's far less support on the net to help you
out when things go wrong.

I use ActiveState Komodo Edit on Windows to modify files on my Linux
VM which runs the web server for my Django apps. It means I don't get
a debug environment though; working on finding something to make that
work.

>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/2LQU1l81OyoJ.
>
> 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.

-- 
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