On Mar 19, 4:48 pm, Vijayendra Bapte
wrote:
> Hi,
>
> I am getting an gcc compilation error while installing FSEvents
> (http://pypi.python.org/packages/source/p/pyobjc-framework-FSEvents/
> pyobjc-framework-FSEvents-2.2b1.tar.gz) package on my Mac (OS X
> 10.4.11, Intel Core Duo 32 bit processor,
I posted too soon:
> Statement 1:
> my $today = sprintf("%4s%02s%02s", [localtime()]->[5]+1900,
> [localtime()]->[4]+1, [localtime()]->[3]) ;
1. is localtime the same as time in python?
2. What does -> ? do in perl?
3. What is 'my'
> Statement 2:
> my $password = md5_hex("$today$username") ;
I have a perl script which connect to network stream using sockets.
The scripts first logins in to the server and then parses the data
comming from the socket.
Statement 1:
my $today = sprintf("%4s%02s%02s", [localtime()]->[5]+1900,
[localtime()]->[4]+1, [localtime()]->[3]) ;
Statement 2:
my
What should I be using to replace Numeric/arrayobject.h:
numpy/arrayobject.h
or
numpy/oldnumeric.h
Thanks,
VJ
--
http://mail.python.org/mailman/listinfo/python-list
found this strange. It should just give an error if you try to use a
mask array of non booleans. It's working great so far.
Thanks for all the hard work.
VJ
--
http://mail.python.org/mailman/listinfo/python-list
insert() does. See the docstring:
Then this behavior is different from the scipy_base.insert
> In [7]: a[mask] = 100
What I needed was
a[mask] = array_of_values
I just tried it and it works.
Thanks,
VJ
--
http://mail.python.org/mailman/listinfo/python-list
array([ 100.])
I would have expected numpy.insert to update a so that the second
element in a would be 100.
Thanks,
VJ
--
http://mail.python.org/mailman/listinfo/python-list
Cool. Why is python 2.5 required, will it not work with python 2.4?
VJ
--
http://mail.python.org/mailman/listinfo/python-list
Would really appreciate the binary files for the db_row.
Thanks,
VJ
--
http://mail.python.org/mailman/listinfo/python-list
Is there a a tutorial or a sample application I can start with (that
works with qt4 and pyqt4)?
Thanks,
VJ
--
http://mail.python.org/mailman/listinfo/python-list
> To fix your problem, reset your umask thus :-
Thanks for the detailed reply. Your fix works like a charm.
VJ
--
http://mail.python.org/mailman/listinfo/python-list
How do I do the following unix command:
mkdir -m770 test
with the os.mkdir command. Using os.mkdir(mode=0770) ends with the
incorrect permissions.
Thanks,
VJ
--
http://mail.python.org/mailman/listinfo/python-list
rails
Any examples would be greatly appreciated.
VJ
--
http://mail.python.org/mailman/listinfo/python-list
> Isn't generating CSV output suitable to your needs?
> Python's CSV module makes that very simple - unless you want to include
> images, etc. in the XLS file?
You cannot create multiple worksheets using this method, or apply any
other form of formatting.
VJ
--
http://mail
w)
# Save the document to the file you want to create
doc.save("calc-example01.ods")
-------
VJ
--
http://mail.python.org/mailman/listinfo/python-list
I just found something in perl:
http://tools.openoffice.org/profiling/pod/LogFile/XML.html
Will try and reverse engineer this, unless something like this exists
in python.
VJ
--
http://mail.python.org/mailman/listinfo/python-list
? Any idea on the
XML format used by Open Office Calc?
VJ
--
http://mail.python.org/mailman/listinfo/python-list
> Riverbank Computing is pleased to announce the release of PyQt v4.1
> available from http://www.riverbankcomputing.co.uk/pyqt/.
What's the best way to learn pyqt. Do the examples from the book GUI
Programming with Python: QT Edition still work? Is the material from
the book mostly valid or have
yy in the files the list of files with matching
yyy reduces automatically. This is very cool and very useful.
Another thing I like about WING is that it warns you if you have tabs
ans spaces mixed in a file.
The embedded python shell is also a useful feature.
VJ
--
http://mail.python.org/ma
pment,
while komodo supports all the major scripting languages.
VJ
--
http://mail.python.org/mailman/listinfo/python-list
I use preppy from reportlab:
http://www.reportlab.org/preppy.html
It's one file, is fast and can be easily embedded in any application.
Vineet
--
http://mail.python.org/mailman/listinfo/python-list
It does. In my case I'm thinking of embedding pylint to check user
scripts which are written in python.
--
http://mail.python.org/mailman/listinfo/python-list
Are there any plans to release pylint under the LGPL license?
--
http://mail.python.org/mailman/listinfo/python-list
Can you use the stock python build or do you have to build python from
scratch with mingw to use pyrex modules built with mingw?
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to create a semi restricted env where users are not able to
bring my application down. I know the following:
1**1000
will not be caught by signal.alarm since it is executed in c code. Are
there other examples?
Will [100]*100 be cought by signal.alarm?
Thanks
I did the following:
1. Downloaded ez_setup.py
2. Downloaded the setuptools-0.6a10-py2.4.egg
3. Downloaded the pysqlite-2.0.6-py2.4-linux-i686(2).egg
Transferred all the files to the computer which is behind a firewall
(with no access to the internet).
I then did the following:
path_to_python e
I've been given a project which requires writing scripts that need to
be run on over 3000 servers. Only about 15% of them have python
installed on them. While all/most of them will have perl.
I'll try and do as much as possible in pexpect but am sure I'll have do
some significant perl. Any suggest
Thanks for pointing out that the days=+0 is not necessary. Your other
points are well noted.
Thanks
VJ
--
http://mail.python.org/mailman/listinfo/python-list
I figured out how to do it. This does not work:
delta = ReltaiveDateTime(days=0, weekday(mx.DateTime.Friday, 0))
But this works:
delta = ReltaiveDateTime(days=+0, weekday(mx.DateTime.Friday, 0))
--
http://mail.python.org/mailman/listinfo/python-list
I'm doing:
a = now()
delta = ReltaiveDateTime(days=+6, weekday(mx.DateTime.Friday, 0))
Next Friday: a+delta
a: march 23
a+delta: Gives me March 31st and not March 24th
Any ideas?
--
http://mail.python.org/mailman/listinfo/python-list
I think the only option is to come up with my own mini language.
Searching on google, I found several examples where people replaced
python with lua for scripting. Am reading up on lua and looks very
promissing. I also tried doing the following:
for i=1,1 do print(i) end
on:
http://doris.
I'm building a large infrastructure with about 30 servers (all running
linux). I allow my end users to write scripts which then get broken
down in smaller parts and run across the 30 servers. The results from
each individual run are combined and presented back to the user.
I'm currently using pyli
#x27;ST_IREAD' "
any idea how to resolve this error ??
Basically i want to write into a file .If the permissions are not there
then print a error message.
How do i achive this ???
Thanks,
VJ
--
http://mail.python.org/mailman/listinfo/python-list
I have installed the .NET Framework SDK 1.1.
Yet I recieve this error message when I install PYDB2.
Could you please pour in your suggestions .
Thanks.
Vj.
--
http://mail.python.org/mailman/listinfo/python-list
Unfortunately I get another error
Your DB2 root is: C:\Program Files\IBM\SQLLIB\
running install
running build
running build_py
creating build
creating build\lib.win32-2.4
copying DB2.py -> build\lib.win32-2.4
running build_ext
error: The .NET Framework SDK needs to be installed before building
ex
I am new to Python . Please let me where should I issue the command
"setup.py install".
I have been using the IDLE to run Python scripts.
--
http://mail.python.org/mailman/listinfo/python-list
ase let me know , what should have been the issue.
Thanks in advance.
Vj
--
http://mail.python.org/mailman/listinfo/python-list
37 matches
Mail list logo