| kpettit | ipython1 hylje, http://ipython.scipy.org/moin/IPython1 it's different that regular ipython |
| hylje | k |
| kpettit | I'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 |
| Mnabil | i think asyncore is cool too |
| kpettit | have you used it? |
| action | kpettit reading on it.... |
| kpettit | reading on it.... |
| Mnabil | kpettit, yes, i used to write asyncounus sockets |
| kpettit | my big problem is firguing how to make it integrate with SGE (Sun Grid Engine) |
| Roooooony | ahah cobol face ! |
| hylje | what |
| BugeyeD | trying 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 |
| kuratkull | How can I make Python know under which OS it is loaded? |
| BugeyeD | doing 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 |
| kuratkull | oh right, thx :) does it return anything under windows? |
| BugeyeD | kuratkull: dunno, haven't used windows much since about 1997 ... |
| ironfroggy | it 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. |
| Lacrymology | marienz, ok, but above that it said that a[k] returned an error if k didnt exist |
| aktinos | kuratkull: os.name could help you |
| marienz | Lacrymology: *accessing* a[k] does if k doesn't exist. |
| kuratkull | aktinos: thank you thanks to ironfroggy too |
| marienz | Lacrymology: (doesn't the tutorial explain this?) |
| Lacrymology | marienz, yes, I get it now, I just thought that a[k] = v was a two-indirecion thingie.. like (a[k]) = v |
| marienz | Lacrymology: doesn't work that way (would be kinda annoying if it did, with foo = a[k]; foo = bar; modifying a[k] and all that) |
| Lacrymology | marienz, sorry, too used to Java and C++ where those are desirable effects, I guess |
| marienz | afaict this works the same way in python as it does in java/c++ although erm sec nah, you're mostly right |
| CruJones | whats the best way to copy a file to a differnt dir |
| pbx | CruJones: shutils |
| Brend | Leeds, and yet you are still in HK! |
| CruJones | is that a module or part of os |
| ivazquez | Try looking in the libref. |