> I'm new to python.
> I would like to know whether is it possible to access Java/C++ APIs from
> python.
> I have two applications written in Java and API, I wanted to call the APIs
> of these applications from Python.
> I'm developing web-based application using Zope.
CPython can access Java thr
Also, IronPython cannot access CPython libraries. So it cannot be used
as a drop-in replacement for CPython in most non-trivial apps. Python
for .NET however allows you to both use both CPython and .NET
libraries.
> Ironpython is not a first class .NET language.
> That means that although you can
> > Also, IronPython cannot access CPython libraries. So it cannot be used
> > as a drop-in replacement for CPython in most non-trivial apps. Python
> > for .NET however allows you to both use both CPython and .NET
> > libraries.
>
> It will be able to access the standard libraries, as long as they
> Can you recommend a book or a link for a person learning Python on
> Windows who does not yet know C# or .NET?
Since Python is cross-platform, any Python book will do. If you need to
do MS Windows specific programming (COM and OLE automation, Windows
Services etc), you can use Mark Hammond's "Py
> I have a python dictionary file. I want to create a map of that dictionary
> and want to use the same in my Java Program.
> Can anybody please tell me how to use the same python dictionary in Java as
> well as in Python.
Try a JSON parser for Java
http://www.json.org/
http://www.json.org/jav
Everything you need.
http://diveintopython.org/soap_web_services/index.html
--
http://mail.python.org/mailman/listinfo/python-list
You can match if the list contains the legal number of arguments with.
func_variable.func_code.co_argcount
Type checking arguments has to be done manually since Python is a
dynamic language. Perhaps, you could try some typechecking decorators.
http://www.ilowe.net/software/typecheck/
>From the doc
Everything you need.
http://diveintopython.org/soap_web_services/index.html
--
http://mail.python.org/mailman/listinfo/python-list
http://wwwsearch.sourceforge.net/ClientForm/
--
http://mail.python.org/mailman/listinfo/python-list
Have you seen Python's ftplib?
http://effbot.org/librarybook/ftplib.htm
http://docs.python.org/lib/module-ftplib.html
--
http://mail.python.org/mailman/listinfo/python-list
Jarek Zgoda wrote:
> Michael Ekstrand napisa³(a):
>
> > Glade + PyGTK + libglade does the trick. libglade (exposed as gtk.glade
> > in Python) allows you to load Glade interface files (the raw XML Glade
> > saves your interfaces as) and then connect to various signals, access
> > the widgets, etc.
>> Interesting link, but the focus there seems to be encoperating Python into
>> Delphi apps in Windows. My focus is more getting Delphi like GUI building,
>> but coding python on Linux.
According to the web site
http://mmm-experts.com/VersionHistory.aspx?ProductId=3
it supports Lazarus, which
Hashtables (dictonaries) and ArrayLists(lists) are integral parts of
modern languages (for example: Python, Ruby, OCaml, D). They are
builtin data types unlike say, Java or C++, where they are added to the
library as an afterthought.
--
http://mail.python.org/mailman/listinfo/python-list
http://www-inst.eecs.berkeley.edu/~maratb/readings/NoSilverBullet.html
--
http://mail.python.org/mailman/listinfo/python-list
Sigh. I could not have imagined that a link without an offending word
could be taken as an insult. Perhaps the lack on accompanying text
contributed? Anyway, it just was not my day (and not just you).
To me, that article makes many points. I was thinking in terms of
technology stagnation and parti
I did not check prices earlier. There are many other clones. How about
Hyperstudio? $70 for student edition?
--
http://mail.python.org/mailman/listinfo/python-list
Yes! But not many.
http://www.livelogix.net/logix/
Logix also allows you to create your own custom languages for Python's
VM. But for some reason, there does not seem to be much interest in
it's development. Odd, given that it has great potential.
--
http://mail.python.org/mailman/listinfo/pyth
I posted this a few days ago. According to the website
(http://mmm-experts.com/VersionHistory.aspx?ProductId=3), FPC support
has been added since version 3.29.
--
http://mail.python.org/mailman/listinfo/python-list
I did not mean the lack of interest on part of the developer. That was
explained here.
http://www.livelogix.net/logix/future-work.html
His complaints were Efficiency and Security.
I was wondering why the Python community did not show interest in this.
There is tremendous potential in this product.
Yes! XPath is a good bet.
You can also try some Pythonic XML libraries like Amara. You need not
learn any special language even.
There are good database approaches to XML too, especially if you are
going to query a document collection as a whole rather than file by
file. You can try XQuery. I thin
http://msdn.microsoft.com/visualc/vctoolkit2003/
Free.
--
http://mail.python.org/mailman/listinfo/python-list
Only MS can answer those questions.
Even though, Python on Windows is compiled with VC++, you can still use
Mingw32 to compile extensions. There are some articles floating around
on how to do this and I did try it successfully in the past. Please
note that I am not advocating either compiler. Just
Not to interrupt the valuable lesson with Google :-)
Boa Constructor.
--
http://mail.python.org/mailman/listinfo/python-list
Did you read
http://diveintopython.org/soap_web_services/index.html ?
and specifically
http://diveintopython.org/soap_web_services/introspection.html ?
These docs are slightly dated but I doubt much has changed. If there is
a problem, you can always try the older version from the site.
--
http:/
Yes! It does.
Assuming that you are not terribly bandwidth constrained, isn't it
easier for you to try it
yourself on your own machine than wait for other people to assure you,
given that both are free and pretty much run on any platform?
--
http://mail.python.org/mailman/listinfo/python-list
Ah! An overzealous firewall! My sympathies :-). I am using the free
Kerio personal firewall on Windows.
--
http://mail.python.org/mailman/listinfo/python-list
They are very different tools, apples and oranges. Plone is built for
content management needs and TurboGears is built for general
application development purposes.
Both can work behind Apache but are not based on Apache. They use their
own servers.
Plone gives you a lot out of the box, but build
No! That's Python from UML. OP asked for the opposite.
--
http://mail.python.org/mailman/listinfo/python-list
I don't have any dearth of Python needs ( I now, sort of pay my tuition
through Python :-) ). But I use it for fun as well, say gaming. For
example, I have scripts that send keystrokes based on voice commands or
other keystrokes.
Having a productive language like Python at your disposal can help
a
This topic has come up a few dozen times at the least. Please use
google to search for the threads.
People have their preferences. The best way to choose is to try several
by yourself. Most of them are free.
http://wiki.python.org/moin/IntegratedDevelopmentEnvironments
--
http://mail.python.org
1.) Print statements
2.) IDEs
Most Python IDEs provide visual debuggers so that you don't have to use
command line ones such as pdb.
As with all languages that allow to be executated as a script as well,
print statements usually get the job done quite well in most cases.
Please read the Python F
> For example, I've never seen an "object-relational mapping" (technical
> term for cruft that tries to avoid people having to learn and use SQL)
> which doesn't drive me into a murderous, foam-at-mouth rage in a very
> short time -- I *WANT* my SQL, I *LOVE* SQL, it's *WAY* more powerful
> and sui
Finding similar images is not at all a trivial task. Entire PhD
dissertations have been committed to it. The solutions are still very
unreliable as of yet. If you want to find more, you can read the
research out of the ongoing Image CLEF track. I worked with them
briefly a couple of years ago in co
Here's a wrapper for V4L.
http://antonym.org/libfg
--
http://mail.python.org/mailman/listinfo/python-list
Agreed. Mine was hardly a complete list.
Another bit I lost is keeping data operations close to the database. I
am more likely to use multiple languages/frameworks over the same
database than change databases for the same application. I actually
prefer functions and procedures within the DB (even
Last time I tried, BDB XML's Python extension crashed and I did not try
too hard to figure out why and switched to something else that did not
(eXist). BDB has been marketed for long as a fast database and will
probably be faster than 4Suite. I doubt that you will find any
benchmarks comparing thos
>> Out of curiosity, how do I draw functions outside classes with UML? How
module could be drawn in this case?
As a utility class.
>> More theoretical question is if I create classes on the fly, how UML can
reflect that?
"On the fly" usually means "at runtime". I guess you mean if you
"change co
> So, function could be a utility class method. If there are no better ways.
What I mean is <> is the formal notation for a class in which
global functions are aggregated. It's not a hack.
Python is not alone here. Most OO languages aside Java and Smalltalk
have functions outside classes and UML a
> Well, you can have a lot of things happening during the import stage. Is
this 'runtime' or not ?-)
Runtime.
> And you can actually *create* (not 'change') classes at runtime too.
Yes sir! By now I am quite well aware what 'dynamic typing' means. Once
again, round trip tools today model program
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+
e them.
Thanks & Regards,
Mutyala Veera Vijay Teja
Software Developer
(M) +91- 8341841937
Skype ID: Veera Vijay Teja
<http://www.eunimart.com/>
[image: Facebook icon] <http://www.facebook.com/vijayteja30>[image:
LinkedIn icon] <http://www.linkedin.com/vijayteja30> [imag
I WANT TO install 4.3 version ... but the MSI file is giving a DLL error ..
what should I do :/
please use REPLY ALL .. so that I get the mail to my gmail inbox--
https://mail.python.org/mailman/listinfo/python-list
201 - 249 of 249 matches
Mail list logo