Re: Python's popularity

2008-12-24 Thread Kevin Kelley
On Tue, Dec 23, 2008 at 10:38 AM, r rt8...@gmail.com wrote: School time son, This forum is much more than a question answer session, son. Sure people are welcome to ask a Python related question. But this forum is really the main highway of Python development and future. If your a n00b go

Re: Python's popularity

2008-12-22 Thread Kevin Kelley
Python has it's place, usually getting things done, rather than being flashy. For example, while Java is still the Enterprise King, both the leading application servers (Weblogic and Websphere) adopted Jython as their internal scripting language last year (or was it 2006?). It's used heavily for

Re: Problems running on hp duo Pentium R processor

2008-12-05 Thread Kevin Kelley
If they are running standard Win XP (Home or Pro), as opposed to 64-bit Win XP, then whether or not the CPU supports the IA64 instruction set really doesn't matter. As far as I know every Intel Core2 and Pentium Dual-Core CPU since ~ 2006 has supported 64bit instructions, even the Atom is 64bit.

Re: noob needs help

2008-11-30 Thread Kevin Kelley
Try python documents/helloworld.py or cd documents before python helloworld.py. Kevin On Sun, Nov 30, 2008 at 11:50 AM, toveysnake [EMAIL PROTECTED] wrote: I decided that I want to learn python, and have no previous programming experience. I was reading the guide A byte of python and got to

Re: File paths printed in stack trace are where Python was built???

2008-11-28 Thread Kevin Kelley
Actually, if you to get an error from a module built with zipimport it points to where that module was built as well. Kevin On Fri, Nov 28, 2008 at 9:22 PM, Roy Smith [EMAIL PROTECTED] wrote: We distribute Python internally by building it in one place, and then distributing images of the

Re: Cloning file attributes and permissions

2007-04-13 Thread Kevin Kelley
handles all the dirty parts in the background. It would create the new file, stat the original, and chmod/chown the new file as needed to match the original. All you would have to do after creating the module is pass the new function the original and new file information. -- Kevin Kelley On 4/12/07

Re: Cloning file attributes and permissions

2007-04-13 Thread Kevin Kelley
,st_mode) # Matching permissions chown(new_fname,st_uid,st_gid) if __name__ == __main__: match_perms('old_filename','new_filename') On 4/13/07, Kevin Kelley [EMAIL PROTECTED] wrote: If you know what the permissions are going to be then you can use umask to set the default file creation

Re: Cloning file attributes and permissions

2007-04-12 Thread Kevin Kelley
The os module has this ability: http://docs.python.org/lib/os-file-dir.html -- Kevin Kelley On 4/12/07, Paulo da Silva [EMAIL PROTECTED] wrote: Hi! I need to process a file to produce another file that *must* have *exactly* the same attributes and permissions of the former. What is the best

2007 DST Changes

2007-01-23 Thread Kevin Kelley
Is python affected by the 2007 DST changes in the US? Other than making sure the OS is patched correctly (Win 2K and Solaris 8) is there anything else that needs to be done from a Python point of view? Thanks, Kevin Kelley -- http://mail.python.org/mailman/listinfo/python-list

Re: Noob | datetime question

2006-11-14 Thread Kevin Kelley
import timeFORMAT='%Y%m%d'time.strftime(FORMAT,time.gmtime(time.time()+8380800))output = '20070219'--Kevin KelleyOn 11/14/06, Demel, Jeff [EMAIL PROTECTED] wrote: I'm having trouble finding exactly what I need by googling, so thoughtI'd try to get a quick answer from the group.This seems like