#python - Mon 14 May 2007 between 12:38 and 13:16

NY Lost Funds



kpettitipython1
hylje, http://ipython.scipy.org/moin/IPython1
it's different that regular ipython
hyljek
kpettitI'm working on a cluster project, and I'm trying to sell Python as the best language to use.
I think having the abiolity to do parallel will be the killer feature for it
Mnabili think asyncore is cool too
kpettithave you used it?
actionkpettit reading on it....
kpettitreading on it....
Mnabilkpettit, yes, i used to write asyncounus sockets
kpettitmy big problem is firguing how to make it integrate with SGE (Sun Grid Engine)
Roooooonyahah cobol face !
hyljewhat
BugeyeDtrying to re-implement sh-based backups in python ... tar can be replaced by tarfile, have that working. but in order to have the backups
readable across platforms, the filesizes need to stay below the 1gb mark. what i'm currently
kuratkullHow can I make Python know under which OS it is loaded?
BugeyeDdoing is piping tar output to the split command. tarfile can pipe output too, but how would i do the split inside python?
kuratkull: os.uname() can give you some info
kuratkulloh right, thx :)
does it return anything under windows?
BugeyeDkuratkull: dunno, haven't used windows much since about 1997 ...
ironfroggyit doesnt exist on windows
stuff in os is largely direct bindings to the low-level system stuff, so if its platform-specific, its subject to not existing.
Lacrymologymarienz, ok, but above that it said that a[k] returned an error if k didnt exist
aktinoskuratkull: os.name could help you
marienzLacrymology: *accessing* a[k] does if k doesn't exist.
kuratkullaktinos: thank you
thanks to ironfroggy too
marienzLacrymology: (doesn't the tutorial explain this?)
Lacrymologymarienz, yes, I get it now, I just thought that a[k] = v was a two-indirecion thingie.. like (a[k]) = v
marienzLacrymology: doesn't work that way (would be kinda annoying if it did, with foo = a[k]; foo = bar; modifying a[k] and all that)
Lacrymologymarienz, sorry, too used to Java and C++ where those are desirable effects, I guess
marienzafaict this works the same way in python as it does in java/c++
although erm sec
nah, you're mostly right
CruJoneswhats the best way to copy a file to a differnt dir
pbxCruJones: shutils
BrendLeeds, and yet you are still in HK!
CruJonesis that a module or part of os
ivazquezTry looking in the libref.

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 

IrcArchive

NY Lost Funds