Re: [Tutor] idle??

2016-01-14 Thread Wolf Halton
made several attempts to run eclipse, and I keep falling back to geany. Geany needed some tweaking at the beginning. Idle never did. Wolf Halton Atlanta Cloud Technology Cybersecurity & Disaster Recovery Solutions Mobile/Text 678-687-6104 -- Sent from my iPhone. Creative word comple

Re: [Tutor] Fwd: Re: IDLE: Integrated Development and Learning Environment?

2015-10-05 Thread Wolf Halton
That is informative. I am glad the acronym is de-kluged. Wolf Halton Atlanta Cloud Technology Business Continuity Solutions 678-687-6104 -- Sent from my iPhone. Creative word completion courtesy of Apple, Inc. > On Oct 5, 2015, at 2:38 PM, Alan Gauld wrote: > > I thought this mi

Re: [Tutor] ubuntu hassles.

2014-01-06 Thread Wolf Halton
consider this: sudo apt-get search python3 to find out the exact name or how python 3.3 is registered sudo apt-get uninstall [that-exact-name] sudo apt-get reinstall python32 sudo apt-get reinstall python-virtualenv Wolf Halton -- This Apt Has Super Cow Powers - http://sourcefreedom.com

[Tutor] Add lines to middle of text file

2011-08-13 Thread Wolf Halton
Is there a way to add text to an arbitrary place in a text file? NewAddition="this important directive. " Open config.config Add new line above "# this marker text in config.config" Insert $NewAddition in blank line created above. Save config.config Close config.config <\pseudocode> I am automa

Re: [Tutor] Building games

2011-06-11 Thread Wolf Halton
I think pygame would let you do a simple graphical game. On Jun 11, 2011 7:54 AM, "Tommy Bell" wrote: > Hello > > I've been programming for a few years, mainly scripts and small > applications that monitor folders and performs actions based on content > of files and so on. > > I recently got the

Re: [Tutor] Clunky Password maker

2011-05-26 Thread Wolf Halton
I have a 0.2 version [code] def new_pass(p): valchars = string.ascii_letters + string.digits + string.punctuation series = list(valchars) pp = int(raw_input("Enter the length you want your password to be:[%i] " % (p)) or p) # length of password chosen or default length

Re: [Tutor] Clunky Password maker

2011-05-25 Thread Wolf Halton
Now I see. I am going to go woodshed this. Thanks y'all for all the cool ideas! Wolf On May 25, 2011 4:05 PM, "Adam Bark" wrote: > On 25/05/11 19:54, Modulok wrote: >> Depending on what your passwords are going to be protecting, be aware that the >> default generator in the random module is: >>

[Tutor] Clunky Password maker

2011-05-25 Thread Wolf Halton
Is there a less clunky way to do this? [code] def new_pass(): series = ['`', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', \ '~', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '+', \ 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', '[', ']', '

Re: [Tutor] python scripting using "./"

2011-05-25 Thread Wolf Halton
An oddity of the PATH variable in Linux (or at least Ubuntu) is that there is a folder in PATH called /home/~/bin. The ~ is replaced with your profile name. If you create that folder and put the file into it, you can invoke it from anywhere in the filesystem with just its name. On Tue, May 24, 2

Re: [Tutor] voluntary work :p:

2011-04-25 Thread Wolf Halton
; >> I recommend you visit > >> www.pythonchallenge.com<http://www.pythonchallenge.com> > >> > >> On 25/04/11 20:42, Wolf Halton wrote: > >> "Learn Python the Hard Way" is pretty cool. I am always looking for > >> books that lay it out well. Than

Re: [Tutor] voluntary work

2011-04-25 Thread Wolf Halton
"Learn Python the Hard Way" is pretty cool. I am always looking for books that lay it out well. Thanks for mentioning it, and good luck with your studies. I find that having a project that is a little beyond me helps me get better at coding. -Wolf On Mon, Apr 25, 2011 at 1:33 PM, Alan Gauld wr

[Tutor] Fwd: Re: Help! (solution)

2011-03-04 Thread Wolf Halton
Put the timing code for one itemt in a while loop and have the variable for elapsed time incremented by the amount of time the fabricator has to cool every time the modulus of the loop counter / 127 is 0 AND the count is above 0. production = 0 time = 127 # seconds timer = 0 rest = 313 run = input