can I download Python Imaging Library (PIL) for linux.

2006-12-11 Thread moishyyehuda
can I download Python Imaging Library (PIL) for linux.

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


help: setup Python Imaging Library (PIL) for linux server

2006-12-13 Thread moishyyehuda
Hi

I uploaded a pil library to my server. The problem is that I can't
access the server with a command line. You see in order for the library
to work you need to run setup.py and supply commands to the server when
the setup.py script runs. so is there a solution to this. can I get a
predone pil library (a pil library that I wont have the ru setup.py,
and supply commands). 

Thanks in advance

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


run a script and supply commands from a python cgi script

2006-12-14 Thread moishyyehuda
Hi

#1 How do I open a script from another script.
#2 when I run the script how can I supply commands to the script.
#3 how do I find the what commands the script needs.

The thing is like this. I need to set up a module on my server, but i
cant access the server with a comand line. So I want to run setup.py
script (I nead to run setup.py to setup up the module) from a python
cgi script, and supply commands from the script. So if any one can help
me with this I would appreciate it.

Moishy

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


Does any one know of any good folder/directory modules

2006-12-20 Thread moishyyehuda
Hi

Does any one know of any good folder/directory modules. I need to be
able to see what files and directories are in a folder, I also need to
be able to see the size of the directory content.

Thanks

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


file/directory format/size help

2006-12-24 Thread moishyyehuda
Hi

I am writing a script to upload images. How do I check the format of
the file? How can I tell if the file is an image, movie, or text file?
I would also like to put a limit on how much a user can upload. So how
can I check how many bits, bytes, mb, gb are in a folder.

So that sums up to

#1 What type of file is the file? Is it a movie, image, or text
document?
#2 What particular form is the file jpeg, bmp, gif etc.?
#3 The size of a directory?

Thanks

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


Sending cookies with python. When download with python

2007-06-05 Thread moishyyehuda
I need to download files off a password protected website. So if I try
to download files off the site with python I will be blocked. Is there
anyway to send cookies with python. So I will be authenticated.

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


updating db with csv

2007-06-07 Thread moishyyehuda
#1 If any one familiar with godaddy hosting. They have apparently have
a hosing server i.e.(scripts, html files etc.), and a server for
databases. How can I import from my script,  with a csv. if the db is
on a different server than the script server.

#2 I would like to update and insert with the same csv file. Is there
a way to tell the database for some lines to update, and for some
lines to insert.

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


mysqlimport error

2007-06-07 Thread moishyyehuda
whey when I execute this statment
cursor.execute("""mysqlimport merchandise 1.txt""")
I get this error
ProgrammingError: (1064, "You have an error in your SQL syntax. Check
the manual that corresponds to your MySQL server version for the right
syntax to use near 'mysqlimport merchandise 1.txt' at line 1")
  args = (1064, "You have an error in your SQL syntax. Check
the...se near 'mysqlimport merchandise 1.txt' at line 1")

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


load data infile problem

2007-06-10 Thread moishyyehuda
does any one know why when I execute this mysql statement with python
api

LOAD DATA INFILE  'data.txt' INTO TABLE merchandise;

I get this error and how can I fix it

#1045 - Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)

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


transparent images

2007-05-15 Thread moishyyehuda
Does any one know how to make a transparent image with specifically
PIL, but any standard python library will do. I need a spacer, and it
has to be transparent.

Thanks

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