Re: [Tutor] IDE for Python

2010-10-07 Thread Sayth Renshaw
 Message: 5
 Date: Thu, 07 Oct 2010 20:08:10 +0200
 From: Knacktus knack...@googlemail.com
 To: tutor@python.org
 Subject: Re: [Tutor] IDE for Python
 Message-ID: 4cae0c8a.4040...@googlemail.com
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Am 07.10.2010 17:23, schrieb Juan Jose Del Toro:
  Dear List;
 
  In your experience what is the best IDE for Python?
 
 I'm using Wing IDE. Very good overall package. I like especially the
 debug probe, which is like an interactive shell in the current stack. To
 me it's a good balance between features and learning curve. The only
 thing I really miss is refactoring support.
 That's why I'm currently checking out PyCharm, which is about to be
 released (currently release candidate). It's from the company that
 created IntelliJ. PyCharm is in my opinion by far the most feature-rich
 Python IDE, looks very impressive so far. The only drawback is that it's
 written in Java and has a Swing GUI ;-) (ouuch, it hurts your eyes for a
 while but you get over it, once you discover all those wicked features
 ;-)). But Wing isn't excactly eye-candy either.
 Both are commercial, but if you code a lot it's worth it. Check out the
 offerings. (I think both are free for Open Source Projects.)

 I also tried the free PyDev (an Eclipse plugin), which is very complete
 as well, but I don't get along with the Eclipse world.

 So, check out Wing and PyCharm.

 Cheers,

 JJ


 --


I really like Spe, Stani's Python editor found here
http://pythonide.blogspot.com/ .

It really manages to keep everything clear open and accessible whilst still
providing a tonne of features and support. There are some intro videos
avaiable here.
http://showmedo.com/videotutorials/series?name=PythonDevelopmentWithSPE .

I have never seen Pycharm as JJ suggested so am going to check it out, I
only recently installed Eclipse Helios with Aptana 3 which includes Pydev
and Django support so I can't really offer an indepth opinion but it is an
open source community with a lot of support which if you are learning am ide
as well as a language could prove very helpful. A lot of editors don't have
much in the way of documentation or community which I think is important.

Another verygood option I like and have used a lot is DrPython
http://drpython.sourceforge.net/.

Ultimately though for keep the ide learning curve low and providing power I
still go for Spe, if I had the money I would definitely look at wing ide.

Cheers

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


Re: [Tutor] I am looking for a book on Beginners who never programmed before or have no experience in programming

2010-09-28 Thread Sayth Renshaw
I read python from novice to professinal. I also read a lot of online guides
sometimes more beneficial than the books.

These links should help you

http://wiki.python.org/moin/BeginnersGuide

http://www.awaretek.com/tutorials.html
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Python And reading the Web - Javascript

2010-09-25 Thread Sayth Renshaw
Was hoping some could push me in the right direction about reading
data from web pages and what modules to use. Is there support for
reading if the page uses javascript?

If you know any good links to tutorials for this it would be great. I
was planning to use python 2.6 currently.

I want to read some data from the web it will be text and numeric i
was planning to export it to a database. I was thinking while I am
learning maybe something simple like Sqlite or MySQL.

I then want to read back data to perform sorting and some calculations on.

Any ideas in general in how to do this appreciated. i don't mind
reading so if you have some good links they are appreciated.

Thank You

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


Re: [Tutor] Tutor Digest, Vol 79, Issue 134

2010-09-25 Thread Sayth Renshaw
I started seting up django. the only issue I am having is that all
instructions seem to assume that I am on linux.Don't suppose there are any
good instructions for those on a windows based system.

On Sat, Sep 25, 2010 at 8:00 PM, tutor-requ...@python.org wrote:

 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. Re: pure function problem (Dave Angel)
   2. Re: pure function problem (Roelof Wobben)
   3. Re: Plotting a Linear Equation (kb1...@aim.com)
   4. Re: list.append(x) but at a specific 'i' (Norman Khine)
   5. Python And reading the Web - Javascript (Sayth Renshaw)


 --

 Message: 1
 Date: Fri, 24 Sep 2010 06:29:03 -0400
 From: Dave Angel da...@ieee.org
 To: Roelof Wobben rwob...@hotmail.com
 Cc: tutor@python.org
 Subject: Re: [Tutor] pure function problem
 Message-ID: 4c9c7d6f.5080...@ieee.org
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

  On 2:59 PM, Roelof Wobben wrote:
 
 
  
  From: st...@pearwood.info
  snip
  On Fri, 24 Sep 2010 06:20:25 am Roelof Wobben wrote:
 
  time =ijd()
  [...]
  print time(uitkomst)
  Why are you calling time as a function, when it is a tijd instance?
 
  snip
 
  Hello Steve,
 
  I found this in my tutorial.
 
  13.8. Instances as return values?
  Functions can return instances. For example, find_center takes a
 Rectangle as an argument and returns a Point that contains the coordinates
 of the center of the Rectangle:
  def find_center(box):
   p =oint()
   p.x =ox.corner.x + box.width/2.0
   p.y =ox.corner.y - box.height/2.0
   return p
  To call this function, pass box as an argument and assign the result to a
 variable:
  center =ind_center(box)
  print_point(center)
  (50.0, 100.0)
 
 
  So i followed it but appearently not the good way.
 
  Roelof
 There's a big difference between   print_point() and   print time().

 print_point() in your tutorial is a function, presumably defined
 someplace else.

 You used print time(),  (no underscore), which uses the print statement,
 and tries to call a function called time().

 Since you defined time as an instance of your class, and didn't do
 anything special, it's not callable.

 DaveA



 --

 Message: 2
 Date: Fri, 24 Sep 2010 10:40:46 +
 From: Roelof Wobben rwob...@hotmail.com
 Cc: tutor@python.org
 Subject: Re: [Tutor] pure function problem
 Message-ID: snt118-w46627fe73899be912de70dae...@phx.gbl
 Content-Type: text/plain; charset=iso-8859-1




 
  Date: Fri, 24 Sep 2010 06:29:03 -0400
  From: da...@ieee.org
  To: rwob...@hotmail.com
  CC: tutor@python.org
  Subject: Re: [Tutor] pure function problem
 
  On 2:59 PM, Roelof Wobben wrote:
 
 
  
  From: st...@pearwood.info
 
  On Fri, 24 Sep 2010 06:20:25 am Roelof Wobben wrote:
 
  time =ijd()
  [...]
  print time(uitkomst)
  Why are you calling time as a function, when it is a tijd instance?
 
 
 
  Hello Steve,
 
  I found this in my tutorial.
 
  13.8. Instances as return values?
  Functions can return instances. For example, find_center takes a
 Rectangle as an argument and returns a Point that contains the coordinates
 of the center of the Rectangle:
  def find_center(box):
  p =oint()
  p.x =ox.corner.x + box.width/2.0
  p.y =ox.corner.y - box.height/2.0
  return p
  To call this function, pass box as an argument and assign the result to
 a variable:
  center =ind_center(box)
  print_point(center)
  (50.0, 100.0)
 
 
  So i followed it but appearently not the good way.
 
  Roelof
  There's a big difference between print_point() and print time().
 
  print_point() in your tutorial is a function, presumably defined
  someplace else.
 
  You used print time(), (no underscore), which uses the print statement,
  and tries to call a function called time().
 
  Since you defined time as an instance of your class, and didn't do
  anything special, it's not callable.
 
  DaveA
 

 Oke,

 I see it now.
 I have to us a function that i had to write a few questions before.

 Thanks everybody

 Roelof



 --

 Message: 3
 Date: Fri, 24 Sep 2010 12:26:31 -0400 (EDT)
 From: kb1...@aim.com
 To: tutor@python.org
 Subject: Re: [Tutor] Plotting a Linear Equation
 Message-ID: 8cd2a1c6185afcf-854-...@webmail-m060.sysops.aol.com
 Content-Type: text/plain; charset=utf-8; format=flowed




 -Original Message-
 From: Greg gregb...@gmail.com
 To: tutor tutor@python.org