[CODE] - Python Newcomer Starting with Coding
bruno at modulix
onurb at xiludom.gro
Tue Mar 21 12:06:12 CET 2006
Ilias Lazaridis wrote:
> Where can I find practical coding examples for real life coding problems?
Probably in real life code ?-)
> Something like a categorized solution guide?
Look for the Python cookbook (google is your friend).
> My current problem:
> * create a folder
> * seems to be: os.mkdir(path)
I wouldn't even count this as a coding problem, except perhaps for a
total CS newbie.
> * obtain the path of a python package
> * copy the content of the package folder to the created folder
> I've looked in the Python 2.4 documentation, but the resulting
> possibilities are too much.
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list