Posts

Showing posts with the label Interesting

Find System IP Using Python

⤷Find IP Address Using Python Open Terminal Goto pyton console Enter Following Codes. Source Code: Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.gethostbyname(socket.gethostname()) '127.0.1.1' * For find you ip u need socket package import that *  socket. gethostbyname ( hostname ) Translate a host name to IPv4 address format. The IPv4 address is returned as a string, such as  '127.0.1.1' . If the host name is an IPv4 address itself it is returned unchanged.  gethostbyname()  does not support IPv6 name resolution.

Best Site to Learn Programming

Learn How to Code (24*7): http://www.codecademy.com/ http://www.codeschool.com/ https://www.udacity.com/ http://www.codehs.com/ http://www.khanacademy.org http://sqlzoo.net http://net.tutsplus.com /> http://sourceforge.net/ https://developers.google.com/ http://stackoverflow.com/ http://coding.smashingmagazine.com/ https://github.com/ https://bitbucket.org/ http://hackr.io/ https://www.guvi.in Code for Fun: http://programmingpraxis.com/ http://www.codinghorror.com/blog/ https://www.guvi.in/codekata_level https://www.guvi.in/puzzle https://www.guvi.in/project­level Trending Technology News: http://arstechnica.com/ http://thenextweb.com/ http://techcrunch.com/ https://www.guvi.in/blogs/ Startup Stories: http://yourstory.com/ http://www.entrepreneur.com/topic/tech­startups http://www.nextbigwhat.com/ http://www.siliconindia.com/ https://www.techinasia.com/

Quotes For Programmers

“Programming is a rhythm game, the more you are in rhythm, the better output you would produce” “A refactor a day keeps technical debt away” “A tired programmer is a stupid programmer” “A good programmer is one who can think of many different solutions to a coding problem and applies the best solution to that problem” “Code is like an art, the more artistic approach you take to build it, the more beautiful it will be” “The best time to review your code is NOW, don’t delay it” “Your code is like your girlfriend, the more you take care of it, the less it will bug you” “Code should be so expressive that comments should not be needed to understand the code” “Bad code is like diesel engine, it has high maintenance costs.  Good code is like petrol engine, it has low maintenance costs” “Code is an art and the programmer is an artist, it all depends on the artist on how beautiful he wants his / her art to be.  The more effort he puts in, the more beautif...