Paul Boddie wrote:
> On 27 Feb, 10:31, Nader Emami <[EMAIL PROTECTED]> wrote:
>> I have installed "TurboGears" and I would install 'pysqlite' also. I am
>> a user on a Linux machine. If I try to install the 'pysqlite' with
>> 'easy_in
Paul Boddie wrote:
> On 27 Feb, 13:35, "Nader" <[EMAIL PROTECTED]> wrote:
>> Thank for your reaction. I don't know also how the interaction sith
>> 'easy_install' is. I think that I have to install 'pysqlite' from
>> source code also, because i can change ther the 'setup.cfg' file and I
>> can give
I have installed "TurboGears" and I would install 'pysqlite' also. I am
a user on a Linux machine. If I try to install the 'pysqlite' with
'easy_install' tool I get the next error message. The error message is
longer than what I send here.
% easy_install pysqlite
Searching for pysqlite
Readin
Tim Golden wrote:
> Nader Emami wrote:
>> L.S.,
>>
>> I have installed locally Python-2.4.4 without any problem. Then I
>> would install the "ez_setup.py" to be able using of "easy_install"
>> tool, but I get the next error:
>>
L.S.,
I have installed locally Python-2.4.4 without any problem. Then I would
install the "ez_setup.py" to be able using of "easy_install" tool, but I
get the next error:
%python ez_setup.py
Traceback (most recent call last):
File "ez_setup.py", line 223, in ?
main(sys.argv[1:])
File
L.S.,
I have to compile (install) locally Python 2.5, because I don't have
'root' permission. Besides I would use 'sqlite3' as a database for
TurboGears/Django. I have installed 'sqlite3' somewhere on my Linux
(/path/to/sqlite'). What do I have to do if I want to compile 'Python'
with 'sqlite3
L.S.,
I have read your replay about web development with python. I would agree
with you that web design is depends on specific requirements. I would
like to develop some in which the animation is well important. It will
be an animation of a radar file. I have looked for a lot of alternative
but I
L.S.,
I have read all replays about web development with python. I would agree
with somebody who have said that web design is depends on specific
requirements. I would like to develop some in which the animation is
well important. It will be an animation of a radar file. I have looked
for a lot
Kent Johnson wrote:
> Nader Emami wrote:
>
>> L.S.,
>>
>> I have used the profile module to measure some thing as the next command:
>>
>> profile.run('command', 'file')
>>
>> But this make a binary file! How can I write th
L.S.,
I have used the profile module to measure some thing as the next command:
profile.run('command', 'file')
But this make a binary file! How can I write the result of 'profile' in
a ascii file? Others how can I read (or convert) the binary file to am
ascii file?
Regards,
Nader
--
http://m
L.S.,
I would like to learn how does work the "unit test" concept in Python. I
have try the 'romantest.py' of the "Dive in Python" book and I get the
next problem:
Traceback (most recent call last):
File "romantest.py", line 153, in ?
unittest.main()
File "/usr/lib/python2.3/unittest
L.S.,
It is very simple question: Why doesn't work the next statments?
import datetime
today = datetime.date.today()
and I get the next error:
today = datetime.date.today()
Traceback (most recent call last):
File "", line 1, in ?
AttributeError: time
I can't understand it!
--
http://mail.
L.S.,
I have a long command in Unix and I have to use os.system(cmd)
statement. I do the following:
cmd = '%s/mos user wmarch, cd /fa/wm/%s/%s, mkdir %s, put %s, chmod 644
%s' % (mosbin, jaar, filetype, filetype)
status = os.system(cmd)
This is not very clear, and I have to break this long
L.S.,
Would somebody help me how i can write the 'here document' in
Python script please? I have a csh script in which a program
is invoked with some argument in the form of here document:
/bin/exe.x << End_Here
CategorY = GRIB
etc.
End_Here
I translate this script to Python and i don't know how
L.S.,
Could somebody help me how I can get the next format of date
from the time module?
example: I have to have this time 20050105. It is the next
attributes of format %Y%m%d.
with regards,
Nader
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I am new in Python world, and would like to begin with
translate a csh file to a python script. Could somebody give
me an advise (documentation or web-site) where I can do that.
with regards,
Nader
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo