No! That is NOT correct Python. For one thing, you do not declare the
types in dynamically typed languages. Secondly, if you want floating
point division, you need to enter atleast one of the numbers as float.
For example
10.0/6
or
10./6
or
float(10)/6
You will find the following helpful.
http://
JyotiC wrote:
> I want to make a stand alone gui. Whose work is to get the diff options
> from user and run a shell script based on them.
>
> I wanna know which one is better to use Tkinter or PyGTK, in terms of
> efficiency and functionality.
>
> I hv read about Tkinter, but it takes too much ti
This may help
http://search.cpan.org/~gaas/pyperl-1.0/perlmodule.pod
You can always use pipes (os.popen) to keep things simple.
--
http://mail.python.org/mailman/listinfo/python-list
Not from here.
A highly unscientific measurement, using execution time from SciTe on
my 3.5 yr old box.
Python startup - 0.272 sec
With your snippet for Tk - 0.402 sec
0.13 sec is trivial in my book.
--
http://mail.python.org/mailman/listinfo/python-list
> editor and even then it's still difficult. Stuffing it into Python
> strings is a double pain because you have to figure out how may times
> you have to quote your percent signs depending on how may times you
> render a string.
You don't need to do that. You can always use your favorite templat
http://xmlstar.sourceforge.net/
Not Python, but just the tool for the job.
For Python, 4Suite has some validators. But parts of it were written in
C and might not be helpful if you want to look at the Python source
code. You might want to check
http://www.leuthe.homepage.t-online.de/minixsv/minixs
Documentation isn't his only contribution, BTW. He wrote a whole bunch
of highly useful modules for Python as well.
http://effbot.org/downloads/
--
http://mail.python.org/mailman/listinfo/python-list
If you are looking for ways to access C++ code in Python, there are
several (Boost, SIP, CXX, SWIG, Weave etc). Unless your needs are
somehow unique, this is the preferred approach.
People usually convert higher level languages to lower level
languages for performance (For example Python to C+
201 - 208 of 208 matches
Mail list logo