I would still recommend reading the documentations over watching a video but I don't think videos are exactly the same as books. When I watch a video tutorial, I first see what the person did in the video, then do it myself afterwards with the knowledge I gained from that video. It's probably...
The problem with learning from a book is that you are learning how to do something from someone else's perspective and not your own. You are learning how to program their way instead of your own. Some people do find it easier, but I would much rather recommend reading the documentations or...
Some of the best advice that I can give you is to not worry too much about the specifics. Just get the concept and move on, no need to memorize what you can look up. Read the documentations and how a certain something works and as long as you know what it does and how to use it, you don't have...
The original code wouldn't work because you didn't call the function.. which leads me to the question: is there any reason for why you put that code in a function?
The last thing DevBest needs is another calculator script. No one uses these as an every day calculator (or at least I hope not) but I figured that it does help some of you who are trying to learn how to create scripts like these.
Three months ago I released a calculator which was horrible. I...
I wrote this script because I wanted to learn more how all of this SMPT stuff works. It basically allows you to send infinite e-mails (or at least until it crashes) to a specific e-mail address. You must first enter your gmail information.
Python 3.x:
http://pastebin.com/iTSzuguw
Code:
import...
Ported to 3.x:
http://pastie.org/8342705
You should try and create a second version using urllib2, for those who do not want to go through the process of setting up the requests module. Something else you should keep in mind is the way your if __name__ is __main__ statement is set up: it is...
Chill. OP asked for an opinion and that was mine. I would prefer using Rails or Sinatra (two frameworks created in Ruby) if I am creating a web application (content management system in OP's case) over any other language, including Python.
Thanks.
Changelog:
September 11th:
** Added the 'commands' command to view the same information you would using the 'help' command.
** Re-factored some code. Removed some stuff that wasn't being used.
Image:
(of everything so far)
Don't forget to watch the repository for Diction for all the...
Diction
GitHub | Website (coming soon)
What is Diction?
Diction is another Unix-like environment intended primarily for the use of learning how to operate a system through a command-line interface. It is intended to be very user-friendly and dependable.
Couldn't I just use Cygwin or an actual...