Re: want some python ide

2005-11-13 Thread D H
[EMAIL PROTECTED] wrote: > i want some python ide use pygtk > eric3 is good for me ,but i like gtk,so i want some pygtk ide look like > eric3 > wing is a good python ide,but i can not download it > some other python ide(must use pygtk) > thx > You can just use a text editor like jedit with gazpac

Re: How to avoid "f.close" (no parens) bug?

2005-11-13 Thread D H
ed it to. > C) Python didn't warn you when you wrote "f.close" instead of "f.close()". > D) Something else. Please elaborate by giving us a code example, a description > of what you expected to happen, and a description of what happened instead. It is certainly B &

Re: about python ide

2005-11-13 Thread D H
?? wrote: > i am use python2.4.2 on my gentoo linux system > i want to find some ide of python > but i am using gtk2.8,wxPython has some bug on it.i cant emerge it correctly. > i want some ide use pygtk or other lib of python gui except > wxpython(wxWidgets) Try Gazpacho or Glade for designing yo

problem with from win32com.client import Dispatch

2005-11-14 Thread Shivayogimath D.
Hi all Am trying to read an html page using win32com in the following way.   from win32com.client import Dispatch ie = Dispatch("InternetExplorer.Application") ie.Navigate("https://secure.authorize.net/") doc =ie.Document print doc.body.innerHTML   with this code am easily able to

Re: Underscores in Python numbers

2005-11-20 Thread D H
Steve Holden wrote: > David M. Cooke wrote: >> One example I can think of is a large number of float constants used >> for some math routine. In that case they usually be a full 16 or 17 >> digits. It'd be handy in that case to split into smaller groups to >> make it easier to match with tables whe

Re: ANN: Dao Language v.0.9.6-beta is release!

2005-12-03 Thread D H
Scott David Daniels wrote: > Tom Anderson wrote: >> So, could someone explain what's so evil about tabs? > > > They appear in different positions on different terminals (older hard- > copy), do different things on different OS's, and in general do not > behave nicely. On many (but not all) syste

Re: ANN: Dao Language v.0.9.6-beta is release!

2005-12-05 Thread D H
Rick Wotnaz wrote: > So, for instance, even a single character (like an opening or > closing bracket or a semicolon) is an indication that the design > can be improved. Or a colon -- http://mail.python.org/mailman/listinfo/python-list

Re: i=2; lst=[i**=2 while i<1000]

2005-12-06 Thread D H
Daniel Schüle wrote: > Hello NG, > > I am wondering if there were proposals or previous disscussions in this > NG considering using 'while' in comprehension lists > > # pseudo code > i=2 > lst=[i**=2 while i<1000] > > of course this could be easily rewritten into > i=2 > lst=[] > while i<1000:

Re: iron python exe problem

2005-12-06 Thread D H
[EMAIL PROTECTED] wrote: > Hello, > > I have test.py: > print 'hello' > > I compile using iron python the result is test.exe > > I have got error message when I tried to call test.exe telling that > test.exe is not a valid win32 application. > > How can I solve this problem? > > Sincerely Your

Re: i=2; lst=[i**=2 while i<1000]

2005-12-06 Thread D H
[EMAIL PROTECTED] wrote: >>You can use i**=2 for i in range(1000) instead > > > I don't think one can use assignment in list comprehension or generator > expression. The limitation is very much like lambda. > i**2 -- http://mail.python.org/mailman/listinfo/python-list

Re: iron python exe problem

2005-12-06 Thread D H
Dennis Lee Bieber wrote: > On 6 Dec 2005 08:25:43 -0800, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > >>Hello, >> >>I run exactly inside IronPython-0.9.5\bin where IronPython.dll exist. >>I've already uninstalled my .net 1.1 so there is onle .net 2.0

Re: Documentation suggestions

2005-12-06 Thread D H
Ian Bicking wrote: >>There are endless minor bugs in the library reference, but that seems >>unavoidable. It documents many different and shifting modules, and >>what to document is itself a contentious issue, so I don't think the >>stream of small problems will ever cease. > > > Since the topic

Re: ANN: Dao Language v.0.9.6-beta is release!

2005-12-07 Thread D H
[EMAIL PROTECTED] wrote: > Some people like it just as it is. Don't change ANYTHING! search for NIMPY > Some people (a lot of the ones that don't give Python a chance) want > one more choice, braces. Is that so much to ask for? If you like curly brace style, there are always other scripting l

Re: ANN: Dao Language v.0.9.6-beta is release!

2005-12-09 Thread D H
Fredrik Lundh wrote: > Zeljko Vrba wrote: > > >>But look at the following example: >> >>if a: >> some_code1 >>if b: >> some_code2 >> >>If I accidentaly delete if b:, then some_code2 gets under the if a: which is >>not intended. > > > not to mention that if you have > > if a: > so

Real Election Reform

2005-01-08 Thread D Flint
What do you think about this and have you seen this popular site before? This was taken from a web site http://www.afvr.org How can we safeguard the integrity of each vote? Today we have technology that protects our financial systems, military weapon systems and national intelligent organizations

Re: web camera or else ? 15-30 fps processing of camera videos.

2005-02-01 Thread Matt D
Newbie wrote: I am doing some robotics projects but my main area of interest is trying out several algorithms for the processing of the stream of data coming from the video. Same for me! From what I can tell, a cheap webcam will "just work" with a recent version of windows - i.e. plug it in usin

Re: What is different with Python ?

2005-06-19 Thread D H
Peter Hansen wrote: > D H wrote: >> So you say he "has done relatively little serious development" and >> that he may not even know about Python. I didn't see any evidence >> from those pages to draw either conclusion. In fact the 4th paragraph >> qu

Re: case/switch statement?

2005-06-19 Thread D H
Peter Hansen wrote: > D H wrote: > >> Peter Hansen wrote: > > [some stuff Doug didn't like] > Actually, this is what you snipped, stuff you didn't like, because the very mention of "boo" causes you such fits: > Since you and Steve Holden agree t

Re: Is there something similar to ?: operator (C/C++) in Python?

2005-06-19 Thread D H
Peter Hansen wrote: > Bo Peng wrote: > >> I need to pass a bunch of parameters conditionally. In C/C++, I can do >> func(cond1?a:b,cond2?c:d,.) >> >> Is there an easier way to do this in Python? > > > Please read the FAQ to learn the answer and much other useful ... The answer is no. Use i

Re: Loop until condition is true

2005-06-19 Thread D H
Joseph Garvin wrote: > Peter Otten wrote: > >> I found 136 occurrences of "do {" versus 754 of "while (" and 1224 of >> "for >> (" in the Python 2.4 source, so using these rough estimates do-while >> still >> qualifies as "rarely used". >> >> Peter >> >> >> > That's 136 times you'd have to use

Re: calling subclass constructor question

2005-06-19 Thread D H
In Han Kang wrote: > So each of the sub classes plots a different type of graph. The > superclass defines methods that are the same for all the plots. I want > to be able to pick some points and be able to generate a more plots. > What I was wondering if I could define in a method in the supe

Re: Is there something similar to ?: operator (C/C++) in Python?

2005-06-24 Thread D H
Peter Hansen wrote: > D H wrote: > >> Peter Hansen wrote: >> >>> Bo Peng wrote: >>> >>>> I need to pass a bunch of parameters conditionally. In C/C++, I can do >>>> func(cond1?a:b,cond2?c:d,.) >>>> >>>> Is th

Re: webserver application (via Twisted?)

2005-06-24 Thread D H
flupke wrote: > I need to program and setup serveral webservices. > If i were still using jsp, i would use Tomcat to make the several > applications available on a given port. > How can i accomplish this in Python? > I was thinking about Twisted but it's not clear to me what parts i need > to make

Re: Favorite non-python language trick?

2005-06-24 Thread D H
Joseph Garvin wrote: > I'm curious -- what is everyone's favorite trick from a non-python > language? And -- why isn't it in Python? You can try out new features yourself now using various python extensions or descendants: http://livelogix.net/logix/ - macros, no statement/expression distinc

Re: Is there something similar to ?: operator (C/C++) in Python?

2005-06-24 Thread D H
Dave Brueck wrote: > Please keep the discussion civil; please help keep c.l.py a nice place > to visit. You didn't see Peter Hansen's previous post to which I made my reply, so I'd like to extend your recommendation to *everyone* here. Peter Hansen wrote: > Doug, please stop making an idiot of

Re: Favorite non-python language trick?

2005-06-24 Thread D H
infidel wrote: >>def class Colour: >>def __init__(self, blue=0, green=0, red=0): >># pseudo-Python code borrowing concept "with" from Pascal >>with self: >>blue = blue >>green = green >>red = red >> >>And now you can see why Python doesn't sup

Re: Favorite non-python language trick?

2005-06-24 Thread D H
Roy Smith wrote: > Tom Anderson <[EMAIL PROTECTED]> wrote: > >>The one thing i really do miss is method overloading by parameter >>type. I used this all the time in java > > > You do things like that in type-bondage languages like Java and C++ > because you have to. Can you give an example of

Re: Is there something similar to ?: operator (C/C++) in Python?

2005-06-24 Thread D H
Riccardo Galli wrote: > On Fri, 24 Jun 2005 09:00:04 -0500, D H wrote: > > >>>Bo Peng wrote: >>> >>> >>>>I need to pass a bunch of parameters conditionally. In C/C++, I can >>>>do func(cond1?a:b,cond2?c:d,.) >>>> >>

Re: Is there something similar to ?: operator (C/C++) in Python?

2005-06-24 Thread D H
Steven D'Aprano wrote: > On Fri, 24 Jun 2005 12:54:34 -0500, D H wrote: > > >>Riccardo Galli wrote: >> >>>On Fri, 24 Jun 2005 09:00:04 -0500, D H wrote: >>> >>> >>> >>>>>Bo Peng wrote: >>>>> >>>&

Re: Favorite non-python language trick?

2005-06-24 Thread D H
Terry Reedy wrote: > "D H" <[EMAIL PROTECTED]> wrote in message > > >>Roy Smith wrote: > > >>>Tom Anderson <[EMAIL PROTECTED]> wrote: >>> >>>>The one thing i really do miss is method overloading by parameter >>>

Re: Favorite non-python language trick?

2005-06-24 Thread D H
Terry Reedy wrote: > "Tom Anderson" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > >>sometimes in python. No, it's not really possible in a typeless language, >>and yes, there are implementations based on decorators, but frankly, >>they're awful. > > > Python has strongly ty

Re: A strange and annoying restriction, possibly a bug. A glance by a more experienced would be nice.

2005-06-25 Thread D H
Elmo Mäntynen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > This is the case: > > n=(100,) tuple(*n) > > > Traceback (most recent call last): > File "", line 1, in -toplevel- > tuple(*n) > TypeError: iteration over non-sequence The star (*n) means you are essentially

Re: Thoughts on Guido's ITC audio interview

2005-06-25 Thread D H
Dave Benjamin wrote: > One thing Guido mentions in his comparison of ABC (Python's predecessor) and > Python is how ABC was inextricably tied to its environment (a la Smalltalk), What surprised me was that this was the only thing he really mentioned. He didn't mention anything about the the

Re: Which kid's beginners programming - Python or Forth?

2005-06-27 Thread D H
BORT wrote: > So, that said... In ~simplest~ terms for the stated goal -- Forth or > Python? > ...the goal is NOT the spelling tutor... it is learning how to use a > tool to solve a problem. I am asking which tool is more suited to an > otherwise arbitrary direction of "spelling tutor program."

Re: f*cking re module

2005-07-04 Thread D H
Gustavo Niemeyer wrote: > That's what I love in that news group. Someone comes with a > stupid and arrogant question, and someone else answers in a > calm and reasonable way. ...and then someone else comes along and calls the first person stupid and arrogant, which is deemed QOTW. :) -- http://m

Re: HTML expect in python

2005-07-15 Thread D H
WGW wrote: > I would like to automate some simple browser navigating using python. > Ideally, I would like a package like pyexpect, but that can handle a > browser in much the same way as pyexpect handles a terminal (tall > order!). In short, I want a macro language for a browser (I know about

Re: goto

2005-07-18 Thread D H
Mike Meyer wrote: > rbt <[EMAIL PROTECTED]> writes: > >>Many of the world's most profitable software companies (MS for example) >>have thousands of goto statements in their code... oh the horror of it >>all. Why aren't these enlightened-by-the-gods know-it-alls as profitable >>as these obviously i

Re: Rich Graphics?

2005-07-27 Thread D H
Cairo is an option, for Linux only though at the moment. There is a python binding: http://cairographics.org/bindings You can use it in combination with pygtk: http://cvs.cairographics.org/pycairo/examples/svg/ See also the backends used by matplotlib, a python plotting module. -- http://mail.py

Re: A replacement for lambda

2005-07-30 Thread D H
Mike Meyer wrote: > Rewriting a canonical abuse of lambda in this idiom gives: > > myfunc = def @(*args): > return sum(x + 1 for x in args) Nice proposal. Technically you don't need the @ there, it is superfluous. But then again so is the colon, so whatever floats your boat. > c

Re: The ONLY thing that prevents me from using Python

2005-08-05 Thread D H
I would highly recommend user-mode linux (UML) hosting, like bytemark or Linode: http://user-mode-linux.sourceforge.net/uses.html Starting around the same price as average shared hosting, you get your own virtual linux box (i recommend debian), on which you can install java, mod_python, php, mo

Re: Replacement for keyword 'global' good idea? (e.g. 'modulescope' or 'module' better?)

2005-08-05 Thread D H
[EMAIL PROTECTED] wrote: > I've heard 2 people complain that word 'global' is confusing. > > Perhaps 'modulescope' or 'module' would be better? > > Am I the first peope to have thought of this and suggested it? > > Is this a candidate for Python 3000 yet? It is likely that more people would fin

Re: Replacement for keyword 'global' good idea? (e.g. 'modulescope' or 'module' better?)

2005-08-06 Thread D H
[EMAIL PROTECTED] wrote: > I'm not saying 'modulescope' and 'module' are the only alternatives or > even > the best anyone can come up with. > > 'global' has the connotation of being visible *EVERYWHERE* > where in Python it is just visible in one module's space. > > Can you think of a better alt

Re: Python's Exception, and Capitalization

2005-08-12 Thread D H
Ray wrote: > Hello guys, > > OK, I've been reading some more about Python. There are some things > about Python exception that I haven't been able to grasp: > > 1. This is a small thing, but why is object spelled "object", and the > mother of all exception "Exception" (with capital E)? Why is not

Re: loop in python

2005-08-22 Thread D H
km wrote: > Hi all, > > Why is it that the implementation of empty loop so slow in python when > compared to perl ? > > #i did this in python (v 1.5) > for x in xrange(1000): > print x > # this took 0.017 seconds > -- > #similar code in perl (v 5.6): > for $x (0..1

Re: Sandboxes

2005-08-22 Thread D H
42 wrote: > Or is this a hopeless cause? > > Finally, either way, would anyone recommend a different script engine > that might be more suitable for what I'm trying to accomplish that I > might not have looked at. I don't need much; it needs to work with C#, > and be able to easily interact wi

Re: The ONLY thing that prevents me from using Python

2005-08-24 Thread D H
Paul Rubin wrote: > Richie Hindle <[EMAIL PROTECTED]> writes: > >>I can't speak for linode.org, but I have a Xen VPS from rimuhosting.com >>and it's early days but so far I've been very impressed. It's $19/mo >>(normally $20 but they kindly gave me a 5% Open Source Developer discount) > > > Do

Re: 'isa' keyword

2005-09-01 Thread D H
talin at acm dot org wrote: > Although I realize the perils of even suggesting polluting the Python > namespace with a new keyword, I often think that it would be useful to > consider defining an operator for testing whether or not an item is a > member of a category. It's a good idea but not like

Re: 'isa' keyword

2005-09-05 Thread D H
Colin J. Williams wrote: > Could you elaborate on that please? See my earlier post in this thread, this link: http://www.canonical.org/~kragen/isinstance/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Vs Rails

2005-09-05 Thread D H
flamesrock wrote: > Firstly, this topic is NOT intended for trolling or starting any flame > wars. Whatever you say, "flamesrock". -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Vs Rails

2005-09-06 Thread D H
flamesrock wrote: > D H, > 'flamesrock' refers to the Calgary Flames, not the act of flaming. > It was just a joke about your statement and your name. I thought it was obvious enough that a smiley wasn't necessary. I don't care though, flames happen on comp.lang

Re: Replacement for lambda - 'def' as an expression?

2005-09-06 Thread D H
talin at acm dot org wrote: > I've been reading about how "lambda" is going away in Python 3000 (or See the page built from earlier threads about this: http://wiki.python.org/moin/AlternateLambdaSyntax Your syntax is the same used in boo: http://boo.codehaus.org/Closures -- http://mail.python.or

Re: Django Vs Rails

2005-09-06 Thread D H
bruno modulix wrote: > D H wrote: > > (snip) > >>Go with Rails. Django is only like a month old. > > > Please take time to read the project's page. Django has in fact three > years of existence and is already used on production websites, so it&#x

Re: Python linear algebra module -- requesting comments on interface

2005-09-10 Thread D H
Terry Reedy wrote: > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>The module will be public domain. > > > Various lawyers have suggested that either you cannot do that (is US) or > that you should not do that. (You know the joke -- ask two lawyers and you > get three opi

Re: multiple replaces

2005-09-16 Thread D H
You can use python's re.sub function. But also look into full fledged template engines like Cheetah. import re txt=""" whatever the machine with bing 10% of boo is foo """ h1=txt.replace("%","%%") h3 = re.sub("", "%(\\1)s", h1) house="something awfull" tree="something beautifull" print h3

Re: Rendering HTML

2005-09-16 Thread D H
Harlin Seritt wrote: > I am looking for a module that will render html to console but > formatted much like one might see with Lynx. Is there such a module > already out there for this? http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52297 -- http://mail.python.org/mailman/listinfo/python

Re: Why doesn't IDLE editor windows have horizontal scrollbars?

2005-09-17 Thread D H
chuck wrote: > Well I don't want to start yet another thread on IDE's. I've googled > and all of that an am aware of most of the IDE's that are out there. I > am curious if there is someplace where statistics have been captured on > what IDE's most people are using. Since IDLE ships with Python

Re: wxPython OGL future

2005-02-14 Thread D H
PD wrote: Hi Everyone, I am sort of a new developer to python and working in an academic environment. I climbed the learning curve on wxPython far enough to get the functionality I want out of it so far... Now Im in need of a diagramming library (something visio-like) to use for my software and the

Re: wxPython OGL future

2005-02-14 Thread D H
PD wrote: I don't think I want that much out of it necessarily. I just feel really weird writing new software with deprecated libraries. By the time Im done with my project, I have to put all these disclaimers on how the new versions of wxWidgets might not work. The thing I am really concerened abo

Re: replacing ASP/VBScript with Python

2005-02-15 Thread D H
Peter Maas wrote: Peter Maas schrieb: I have inherited an extremely messy ASP/VBScript application which is a pain for me to support. Now the customer is thinking about a redesign. I'd like to rewrite the whole thing in Python but the app has to meet some conditions like - IIS frontend - MSSQL db s

Re: creating .NET clients with python

2005-03-03 Thread D H
Guy Robinson wrote: Hello, Can anyone confirm if there is a python library that can allow me to create .NET clients in python. My understanding is both IronPython and python for .NET can't create python .net clients? Correct, although IronPython may work one day. -- http://mail.python.org/mailma

Re: Ruby on Rails or Perl's Maypole..is there a Python equivalent

2005-03-03 Thread D H
Gary Nutbeam wrote: I've noticed that the Perl camp has a very nice web/database environment called Maypole. Ruby has the Rails environment which on the surface seems similar to Maypole. I can't find anything in Python that ties a database to a web interface anywhere near as well as Ruby on Rails o

Re: py2exe

2005-03-03 Thread D H
[EMAIL PROTECTED] wrote: I'm a newbie at programmin. I've downloaded Python and am going through "How to think like a computer scientist". I've also downloaded py2exe and I don't really know how to use it. For one what is the disutil? thanks for the help yall. You'll get better help for beginner qu

Re: Why does this not work?

2005-03-12 Thread D H
Gensek wrote: Thanks, guys, it works now. I couldn't have done it without your generous help. Ask on the wxpython or python-tutor list instead of this one. You'll get better help than there as you've already found out. The only thing I'd agree with is what Michael Hoffman said about posting a sn

Re: survey

2005-03-12 Thread D H
Peter Hansen wrote: Dave Zhu wrote: Hello All, Is there any survey on scripting languages? I would like to get information on several scripting languages including Python, Perl, Ruby, Tcl, etc. What kind of information? ... See the other responses to his question. -- http://mail.python.org/mailman

Re: Jython Phone Interview Advice

2005-03-15 Thread D H
George Jempty wrote: Also, considering Javascript will be a substantial component of my job, I'm noticing that Javascript's array/"hash" literal syntax is EXACTLY the same as that for Python lists/dictionaries. This could lead to easily sharing data between the client and server side, though I thi

Re: Is Python like VB?

2005-03-17 Thread D H
Mike Cox wrote: As you may or may not know, Microsoft is discontinuing Visual Basic in favor of VB.NET and that means I need to find a new easy programming language. I heard that Python is an interpreted language similar to VB. This means that it doesn't have all the hard stuff like pointers, cla

Re: Python RegExp

2005-03-22 Thread D H
[EMAIL PROTECTED] wrote: I have a string which I wish to match using RE, however when I run my comparison (using the match method) on my machine it never returns, using the CPU fully. In your case it may be simpler to just split the string into groups. You don't even need regular expressions or a

Re: Python & LEGO Mindstorm control...

2005-03-29 Thread D H
Venkat B wrote: Hi all, I have a question re the use of Python to control a robot built with the LEGO Mindstorm system. This is to help my 11yr old with his increased interest in 'programming' and 'robotics'... If not feasible, he wants to use the graphical-tool that comes with it... Would you sugg

Re: decorator syntax polling suggestion

2005-04-01 Thread D H
Jeremy Bowers wrote: On Fri, 01 Apr 2005 16:52:52 -0500, Jeremy Bowers wrote: Oops, sorry, some "send later" messages I thought were gone got sent. Sorry. Didn't mean to revive dead threads. At least it happened on April Fool's. Or should I say: @aprilfools def happened: at least -- http://mail

Re: Calling a Perl Module from Python ( future direction of Python)

2005-04-06 Thread D H
gf gf wrote: Really! That's a pity... Instead of trying to recreate a repository the size of CPAN, a Python interface to Perl modules is really called for. CPAN modules are designed for Perl though. There's pyperl like they mentioned but it's like speaking two languages at once. It's not like th

Https Form Page

2005-04-08 Thread Hasan D
I'm new on this httplib and urllib. Actually I dont know what should i use. I want to fill the form in a "https" page , and return the result . I write a test code but always gives errors. I cant find any good example about this on the net. What should I do about this ? import urlparse,urllib,ht

Re: Https Form Page

2005-04-08 Thread Hasan D
you? > > -jag > > > > Joshua Ginsberg -- [EMAIL PROTECTED] > Brainstorm Internet Network Operations > 970-247-1442 x131 > On Apr 8, 2005, at 4:51 PM, Hasan D wrote: > > > Thank you for fast reply. > > Your program works fine. But when i print the https_r

python-text window vs. game/graphics window

2005-04-20 Thread D. Hartley
#x27;) screen.blit(background_image, (0,0)) #create a holder for the hero and enemy shots hero_shot_sprites = pygame.sprite.RenderClear() global enemy_shot_sprites enemy_shot_sprites = pygame.sprite.RenderClear() #create the score and life spri

python finance

2014-01-02 Thread d ss
dailystockselect.com needs a couple of talented python people for the development and implementation of new trading strategies. it may be also some pythonic design change for the displayed figures now the web app consists of 1 of the 8 conceived strategies. contact us at the email on the website f

Re: python finance

2014-01-06 Thread d ss
what the heck! who told you this is a spam! this is a call for cooperation and collaboration how retarded! On Sunday, January 5, 2014 4:14:22 AM UTC-5, maxwe...@gmail.com wrote: > On Thursday, January 2, 2014 11:37:59 AM UTC, d ss wrote: > > > dailystockselect.com needs a couple

Re: python finance

2014-01-06 Thread d ss
On Monday, January 6, 2014 12:06:45 PM UTC-5, Chris Angelico wrote: > On Tue, Jan 7, 2014 at 3:58 AM, d ss wrote: > > > what the heck! > > > who told you this is a spam! > > > this is a call for cooperation and collaboration > > > how retarded! > >

Re: python finance

2014-01-08 Thread d ss
On Monday, January 6, 2014 6:58:30 PM UTC-5, Walter Hurry wrote: > On Mon, 06 Jan 2014 13:11:53 -0800, d ss wrote: > > > > i wrote just 2 words with a clear > > > indicative title: "Python, Finance" which summarizes the following "if > > > y

Graph or Chart Software for Django

2014-01-17 Thread San D
What is the best Graph or Chart software used with Django (libraries & products), preferably open source? Need something stable and robust, and used by many developers, so active on community channels. Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Templating engines that work very well with Python/Django

2014-01-17 Thread San D
Can someone suggest a few templating engines that work really well with Django and help in coding efficiency? Where can I fin comparison of tempating engines I can find to know their pros and cons? Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Frozen apps (py2exe, cx_freeze) built with Python 3.5

2015-12-04 Thread d...@forestfield.co.uk
Python 3.5 will not run under Windows XP, but what about applications created using py2exe or cx_freeze under Windows 7, 8 or 10, is there any knowledge of whether they will run under XP? Regards, David Hughes Forestfield Software -- https://mail.python.org/mailman/listinfo/python-list

Examples of modern GUI python programms

2014-03-30 Thread D. Xenakis
Id like to ask.. do you know any modern looking GUI examples of windows software written in python? Something like this maybe: http://techreport.com/r.x/asus-x79deluxe/software-oc.jpg (or hopefully something like this android look: http://chromloop.com/wp-content/uploads/2013/07/Skype-4.0-Andro

Re: PyQt5 and virtualenv problem

2013-08-01 Thread D. Xenakis
Any advice?Plz? -- http://mail.python.org/mailman/listinfo/python-list

paramiko installation problem

2013-08-08 Thread D. Xenakis
Im having problems using paramiko after installation on my Win7 64bit system. I can see both paramiko and pycrypto being "there" installed via pip list: I have tried so many different ways but in the end im always getting the same error when trying to import paramiko: (i can import Crypto with no

Re: paramiko installation problem

2013-08-08 Thread D. Xenakis
>>> import sys >>> print (sys.path) returns: ['C:\\Python33\\Lib\\idlelib', 'C:\\Python33\\lib\\site-packages\\pip-1.4-py3.3.egg', 'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs', 'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packages'] then if i type: >>> sys.path

Re: paramiko installation problem

2013-08-08 Thread D. Xenakis
Wow thats bad news. Any workaround? What im trying to succeed here is create one SSH tunnel, so that i can connect from a python script running on my pc, to a remote MySQL database running on my Host and id like to stick with Python 3.3 . Any thoughts? -- http://mail.python.org/mailman/listinfo

Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
HOWTO anyone? What im trying to succeed here is create one SSH tunnel, so that i can connect from a python script running on my pc, to a remote MySQL database running on my Host and id like to stick with Python 3.3 . I contacted my host and he informed me that this is the only way. I tried pyc

Re: Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
> > HOWTO anyone? > > > > > > What im trying to succeed here is create one SSH tunnel, so that i can > > connect from a python script running on my pc, to a remote MySQL database > > running on my Host and id like to stick with Python 3.3 . > > > > > > I contacted my host and he informed me

Re: Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
> Alternatively, can you use PostgreSQL instead? :) Yes there is such an option to be honest. Would that be helpfull instead of MySQL? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3 and SSH Tunnel

2013-08-10 Thread D. Xenakis
What about the security though? To be specific, i need to create an application (python 3.3 strictly) where users will save/load their settings online to a remote hosted database. I do not wish to change the database from listening to any other thing than localhost for security reasons, so i a

Python 3.3 + QtSql + ssh tunnel - Connection problem

2013-08-10 Thread D. Xenakis
Im using python 3.3 on win7 64bit and trying to connect to a MySQL database on a remote server through a putty ssh tunnel. Running the script below im getting "Physical connection to the database did not activate!". What im i doing wrong?! I tried to find a working example but couldnt find one.

log incoming ip/porrt connections

2013-08-17 Thread D. Xenakis
Hi there. I have a script-service running on a remote server, listening on a specific port. What i need here is to make this also maintain a log file of ALL incoming connections. Could someone suggest to me a simple codefunction example to implement that on my main running service? THX!! -- h

Re: log incoming ip/porrt connections

2013-08-17 Thread D. Xenakis
Or point me the right way in case this is not that simple to do. -- http://mail.python.org/mailman/listinfo/python-list

Re: log incoming ip/porrt connections

2013-08-18 Thread D. Xenakis
This monitors also ip/port of incoming udp packets? Or just tcp after a connection has been enstablished? If i dont make any sense, plz correct me. Not much experience with networking here :) -- http://mail.python.org/mailman/listinfo/python-list

What does sys.stdout.flush() do?

2013-08-23 Thread D. Xenakis
Somewhere i read.. sys.stdout.flush(): Flush on a file object pushes out all the data that has been buffered to that point. Can someone post here a script example with sys.stdout.flush(), where in case i commented that i could understand what the difference really would be? Whenever i try to re

HELP! How to return the returned value from a threaded function

2015-04-18 Thread D. Xenakis
Maybe this is pretty simple but seems I am stuck... def message_function(): return "HelloWorld!" def thread_maker(): """ call message_function() using a new thread and return it's "HelloWorld!" """ pass Could someone please complete above script so that: thread_mak

Re: HELP! How to return the returned value from a threaded function

2015-04-18 Thread D. Xenakis
> This sounds like homework... what have you tried, and what happened? heheh naaah no cheating here. I just provided the example this way to make as clear as possible what I want to do. Return the returned value from a threaded function. apparently this does not work as I hoped: return Thread(

Re: HELP! How to return the returned value from a threaded function

2015-04-19 Thread D. Xenakis
This worked like a charm. http://code.activestate.com/recipes/84317-easy-threading-with-futures/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Manually uninstall python 3.4.1 x64

2014-08-29 Thread Llelan D.
On 8/29/2014 12:53 PM, Tim Golden wrote: On 29/08/2014 09:19, Curtis Clauson wrote: Unfortunately I don't think there's a simple answer to this one. (Altho' I'm not an MSI expert and I'd be very happy to be overruled). msiexec.exe, which is the program which actually runs the MSIs, has a number

Python 3.3.2 help

2014-09-10 Thread D Moorcroft
> Hi, > > We are running Python 3.3.2 but pupils are unable to print as they > cannot use the command prompt. > > An error comes up saying printing failed (exit status Oxff). > > Is there any way that we can get users who can't see the command > prompt to be able to print? > > Thank you, > >

Re: Python 3.3.2 help

2014-09-15 Thread D Moorcroft
From: "Steven D'Aprano" To: python-list@python.org Sent: Wednesday, 10 September, 2014 1:15:49 PM Subject: Re: Python 3.3.2 help Hello, My response is below, interleaved with your comments. D Moorcroft wrote: >> Hi, >> >> We are running Python 3.3.2 but pupils

<    1   2   3   4   5   6   >