Re: English-like Python

2009-01-20 Thread Abah Joseph
Python is English-like enough that everybody including non-programmers can
understand it.e.g

# Import the operating system module
import os

# define new function
def open_dir_tree(path):
for File in os.listdir(path):
file_or_dir = os.path.join(path, File)
# Read the line below, this is almost full english language
if os.path.isdir(file_or_dir) and not os.path.islink(file_or_dir):
open_dir_tree(file_or_dir)
else:
print file_or_dir
open_dir_tree(".")




-- 
I develop dynamic website with PHP & MySql, Let me know about your site
--
http://mail.python.org/mailman/listinfo/python-list


Re: book recommendation for Python newbie?

2008-10-10 Thread Abah Joseph
Core Python Programming" written by Wesley J. Chun, second edition, Prentice
Hall, ISBN 0-13-226993-7, go for it. I`m only a PHP programmer and this book
have helped me a lot from basic to advance level. though i`m still
reading...



On 10/10/08, slais-www <[EMAIL PROTECTED]> wrote:
>
> Mike Driscoll wrote:
>
>> A lot of people recommend Lutz's "Learning Python". While I haven't
>> read it, I have read his follow-up "Programming Python" and it was
>>
>
> I found Learning Python good for learning, and a useful reference
> sometimes, but it can seem very slow paced if you already know some other
> language. Another problem is that the author seems unable to drop any
> material that is out of date; the pace is slowed by explanations of what you
> might need to do if using a very old version. The third edition is even
> worse is that respect. Also, being based of the author's training
> experience, is not always a good thing. I prefer a book to sitting in a
> class because I don't want to fall asleep whilst the instructor repeats an
> explanation yet again for the benefit of those at the back, nor wait while
> clever-clogs at the front asks an arcane question of no general interest.
> Learning Python is too much like sitting in a classroom for me.
>
> If you already know some programming Python in a Nutshell is very useful.
>
>
> good. You might also look at Hetland's "Beginning Python" or even the
>> "Python for Dummies" book.
>>
>> Mike
>>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
I develop dynamic website with PHP & MySql, Let me know about your site
--
http://mail.python.org/mailman/listinfo/python-list


Win32 system administrator gpedit.msc

2008-10-10 Thread Abah Joseph
Hi everybody... i`m not a prof in english so please read and understand me..
Thank u.

Using the win32 python module can we perform every tasks like *gpedit.msc?*
i will like to automate tasks like enabling or disaple some of the windows
functions. with my basic experince, you can perform important adminsitrative
tasks using gpedit.msc. Like today, some virus hidded my start menu/program
file and i have to use gpedit.msc to enable it. point me to some article
that talk about this.
--
http://mail.python.org/mailman/listinfo/python-list


Win32 system admin

2008-10-10 Thread Abah Joseph
 Hi everybody... i`m not a prof in english so please read and understand
me.. Thank u.

Using the win32 python module can we perform every tasks like *gpedit.msc?*
i will like to automate tasks like enabling or disaple some of the windows
functions. with my basic experince, you can perform important adminsitrative
tasks using gpedit.msc. Like today, some virus hidded my start menu/program
file and i have to use gpedit.msc to enable it. point me to some article
that talk about this.
--
http://mail.python.org/mailman/listinfo/python-list


Creating single .exe file without py2exe and pyinstaller

2008-10-18 Thread Abah Joseph
I have written a small application of about 40-45 lines which is about 4KB,
so I want to create a single .exe file from it, using py2exe it created
unnecessary files, that just increase the size of the program and also less
portable to me. What else can I use?
I am on windows XP.
Python 2.5
--
http://mail.python.org/mailman/listinfo/python-list


Tree or hierarchical structure

2008-10-30 Thread Abah Joseph
I need tutorial or book on Tree or hierarchical structure using Python.
--
http://mail.python.org/mailman/listinfo/python-list


Creating custom Database or file type

2008-11-04 Thread Abah Joseph
i searched on google on the above subject (
http://delphi.about.com/od/fileio/a/fileof_delphi.htm). what does it take to
create a custom database or file type? something like mini-Sqlite or some
other way that the file will look secure and can be read on my application
runing platform.

I already knew and used a lot of file formats/Database (Pickle, MySql, XML)
but for learning purpose i want create a very simple one that i can, add,
update and delete.

Thank you
--
http://mail.python.org/mailman/listinfo/python-list


What is the best Python GUI API?

2008-11-13 Thread Abah Joseph
 What is the best Python GUI API? I am planning to start my first GUI
application and I need something easy and cross platform. Qt applications
look beautiful but I hate the license. What do you advice?
--
http://mail.python.org/mailman/listinfo/python-list


Socket Programming and Data transer 'advice'

2008-11-17 Thread Abah Joseph
I am planning to develop School Database Management System that will run on
Windows, Linux and Mac. The application will be Server/Client and GUI based.


Modules I intende to use are: Python socket module, wxPython for GUI, Open
GL for image processing , email and so on.

This is my first real python project and I really want to test myself with
this application.

Some planned features is:-
SERVER
Manage Client connections
Handling Student/User registration
Handling backup
will also act as IM server (that will allow users to chat sometime)

CLIENT
Connect to sever
Act as IM client
Retrieve data from server.

I will not be able to list all features.

My Question is:

What is the best database to use? (Flat file, cPickle, MySql, Sqlite,XML
etc)

Security to make sure data is safe

How are binary data transferred from location x to y?, and during the
transferring what should happen if not fully transferred and assume power
goes off. Start all over again or continue?

What is the secret behind transparent file transfer like the one in Yahoo IM
(I can see what i`m transferring to you, u as well).

Audio streaming.

My intension here is to know what to do or read more and not asking you to
write code for me

Just your advice.
--
http://mail.python.org/mailman/listinfo/python-list