os.fork() not working on windows (help)

2008-02-25 Thread A. Joseph
Please i`m trying to create a process using the os.fork() but it keep generating error that the os module has no attribute called 'fork()'. what should i do? or is the os.fork() method not for windows? -- http://mail.python.org/mailman/listinfo/python-list

Creating a single python executable file

2008-08-07 Thread A. Joseph
I have used py2exe and it create .exe file with so many other files, but what i really want is, creating just a single file, imagine writing a small email sending program and after using py2exe you have many file with the your source code zipped side, if there is a way of making it a single executa

I need a Python mentor

2008-08-08 Thread A. Joseph
How are you? You look good; I will like to meet you. Visit my profile and drop some line for me. Abah Hello everybody, i`m new to this list. I was programming in PHP before, so just of recent I started learning python. I need someone who I can be giving me some assignment based on the chapte

I need a Python mentor

2008-08-08 Thread A. Joseph
*Please the first message i sent out contain error, i`m very very sorry.* Hello everybody, i`m new to this list. I was programming in PHP before, so just of recent I started learning python. I need someone who I can be giving me some assignment based on the chapter I read in the book, and tell pe

Reading from text file

2008-08-26 Thread A. Joseph
I want to read from text file, 25 lines each time i press enter key, just like the python documentation. i`m using Python 2.5, Windows XP Thank you -- http://mail.python.org/mailman/listinfo/python-list

recursive using the os.walk(path) from the os module

2008-09-17 Thread A. Joseph
Hi, I want to search through a directory and re-arrange all the files into e.g All .doc files go into MS WORD folder, all .pdf files goes into PDF Folder. I`m thinking of doing something with the os.walk(path) method from os module, I need some ideal how the algorithm should look like, maybe rec

Matrix programming

2008-09-23 Thread A. Joseph
I need an ebook or tutorial that teach matrix programming. -- http://mail.python.org/mailman/listinfo/python-list

check if file is MS Word or PDF file

2008-09-27 Thread A. Joseph
What should I look for in a file to determine whether or not it is a MS Word file or an Excel file or a PDF file, etc., etc.? including Zip files I don`t want to check for file extension. os.path.splitext('Filename.jpg') will produce a tuple of filename and extension, but some file don`t even have

Replacing cmd.exe with custom .py application

2008-09-30 Thread A. Joseph
Instead of going to the command line all the time, I want to create a small customized cmd.exe of my own, how can I get the return value from os.system() because I was thinking I can do soothing with os.system(), In case my question is not clear, just like an IDE that plugged in another .exe appl