Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 52 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Programmingarrow Learning Python (Again...)
EH-Net
May 20, 2013, 12:12:50 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Learning Python (Again...)  (Read 9204 times)
0 Members and 1 Guest are viewing this topic.
PyHacker
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: June 03, 2009, 06:31:12 AM »

Hey all im new to the EH scene and as a matter of fact the whole 'H' scene.
Im re-starting to learn the Python Scripting language as it seems to be a wise choice. I already know a little Python (note i said RE-starting) and some VB 6 but from reading the forums that seems bad for my 'health'.

My question to you all is as follows: What are the decent books that i could acquire too learn Python? I have bought one and it diddnt particulary grab me, i ended up stopping with the language after a while as i felt i had no direction. I understand that you have better/bigger fish to fry, for that i thank you far any and all input you may provide me with.

Many thanks,

the complete and utter n00b.

 
Logged
UNIX
Hero Member
*****
Offline Offline

Posts: 1234


View Profile
« Reply #1 on: June 03, 2009, 06:40:18 AM »

Hi PyHacker and welcome to the forums.

As you wrote that you already learned it once it shouldn't be too hard to get in again. I would recommend to work on some projects so that you have a certain goal to achieve for yourself. This should also keep you motivated.

Besides the onlice resources and the good official python documentation I can recommend the book Learning Python which can be found here.
I also liked Python in a nutshell and the Python Cookbook.


Logged
PyHacker
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: June 03, 2009, 07:52:31 AM »

Ahh Fantastic, much appreciated UNIX. Ill check all three of them out. Ther just seems to be a vast number of Python books out there.

Thanks again.
Logged
UNIX
Hero Member
*****
Offline Offline

Posts: 1234


View Profile
« Reply #3 on: June 03, 2009, 08:13:24 AM »

You are welcome.

Check also the official documentation which should be enough when you understand the basics of programming in general.
Logged
Otter
Newbie
*
Offline Offline

Posts: 41


View Profile
« Reply #4 on: June 03, 2009, 12:18:16 PM »

PyHacker, 

I was fortunate enough get a copy of Justin Seitz's  Gray Hat Python: Python Programming for Hackers and Reverse Engineers at  Chicagocon 2009s a month or so ago, and it looks great from what I've read of it.   It's an O'Reilly book, and I've yet to see that publisher lay an egg yet really.   Check it out:

http://oreilly.com/catalog/9781593271923/

Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1631



View Profile
« Reply #5 on: June 03, 2009, 12:33:35 PM »

Then there's also the 'far' simpler learning / method book, which don reviewed on eh-net, 'Hello World! Computer Programming for Kids and Other Beginners'

While it doesn't get 'uber-advanced,' it does make both someone's initial learning curve easier, and is a great refresher for main points and usages, in Python.

Again, it's much  more simplistic, and may be TOO easy to follow, but if you're looking to get back in quickly, it might be enough reminder / refresher, to be of help.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
nebu10uz
Sr. Member
****
Offline Offline

Posts: 368



View Profile WWW
« Reply #6 on: June 03, 2009, 03:48:20 PM »


You can try this site:

http://openbookproject.net//thinkCSpy/
Logged

Security+, OSCP, CEH
former33t
Full Member
***
Offline Offline

Posts: 226


View Profile
« Reply #7 on: June 03, 2009, 03:53:22 PM »

This is off topic, but Otter I actually own some O'Rielly eggs.  There are plenty of them out there.  They usually happen in two cases:

1.  O'Rielly rushes to press to be the only one publishing a book on a topic (or to beat another publisher to press).  This is happening less and less as there are more publishers in the market competing for share, but still happens occasionally.  The "regular expression pocket guide" is a prime example of a book they published that is completely unusable in any way, shape or form.  I know regex's and can't use the thing as a reference.

2.  They are publishing the second edition of a book and can't get the first edition's author back (see Advanced Perl Programming)
Logged

Certifications: CREA, MCSE: Security, CCNA, Security+, other junk
PyHacker
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #8 on: June 03, 2009, 04:12:33 PM »

Yeah i saw Grey Hat, it looks good but im worried about it becoming another paper  weight. I feel like i might fall out of my depth. What is the feel of the book? Advanced, Elite, Baisic?
Logged
ethicalhack3r
Full Member
***
Offline Offline

Posts: 139


View Profile WWW
« Reply #9 on: June 03, 2009, 07:18:39 PM »

I learnt Python just through wanting to achieve a particular task and then googleing for things that I did not know or understand.

The way I learnt certainly takes longer however is much more fun than any book.
Logged
phn1x
Newbie
*
Offline Offline

Posts: 26


View Profile
« Reply #10 on: June 04, 2009, 10:40:20 AM »

Why not grab the O'reilly book "Learning Python" and "Python Cookbook" and just start hacking code.

Come up with projects to do, even ones that already exist, and convert them into python. Make up a list and start working on them after reading the first 8 chapters of learning python. Use the books as a guide, don't try to read them. Attempting to just read a programming book from cover to cover is not an efficient means to learn a language. Immersing yourself in it, is imho the only way.
Logged
UNIX
Hero Member
*****
Offline Offline

Posts: 1234


View Profile
« Reply #11 on: June 08, 2009, 04:14:57 AM »

PyHacker, 
I was fortunate enough get a copy of Justin Seitz's  Gray Hat Python: Python Programming for Hackers and Reverse Engineers at  [...]

I would not recommend this book, at least not to a beginner. It had in my opinion some good points but was unfortunately lacking in some areas.
Logged
Andrew Waite
Hero Member
*****
Offline Offline

Posts: 928



View Profile WWW
« Reply #12 on: June 08, 2009, 06:28:32 AM »

I would not recommend this book, at least not to a beginner. It had in my opinion some good points but was unfortunately lacking in some areas.

Unix, can you expand on this? I'm still in two minds regarding this buying this book, any additional insight would be appreciated.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.069 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.