not able to use python

2022-08-17 Thread i am unable to use python
    Sent from [1]Mail for Windows   References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 -- https://mail.python.org/mailman/listinfo/python-list

no explanation towards not installing my application//

2020-02-03 Thread the python app i had downloaded is not opening!
Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

Re: How to read/write a field in MariaDB already managed/encrypted by PHP script.

2020-01-25 Thread I
on 2020-01-25 at 12:08 user ^Bart wrote: Hy guys, I'm doing a software with a login/register area by Python 3 and PHP 7.3, i followed this guide https://www.9lessons.info/2016/04/php-login-system-with-pdo-connection.html and it store the password in encrypted mode but now I ne

Main threads waits indefinitely on futures if single future calls condition.wait()

2019-10-31 Thread i...@dantalion.nl
Hello, Recently I have been trying to use a reantrant read write lock in my project but discovered several problems when writing test cases. All the relevant material can be found on the following locations https://stackoverflow.com/questions/58410610/calling-condition-wait-inside-thread-causes

Re: python-daemon for Python v3

2014-08-22 Thread Y@i$el
A mi si me ha dado problemas. No tengo forma de decirle que se ejecute como usuario www-data y cuando lo intento deja de funcionar abruptamente. Saludos. -- https://mail.python.org/mailman/listinfo/python-list

TALK.ORIGINS CENSORS THE TRUTH

2014-03-12 Thread I THRINAXODON
://thrinaxodon.wordpress.com/ === THRINAXODON ONLY HAD THIS TO SAY: "I..I...I...Can't believe it. This completely disproved Darwinian orthodoxy." === THE BASTARDS AT THE SMITHSONIAN, AND THE LEAKEY FOUNDATION ARE ER

Re: Figuring out what dependencies are needed

2013-12-11 Thread sal i
On Thursday, December 12, 2013 1:48:42 PM UTC+8, alex23 wrote: > On 11/12/2013 10:44 PM, s...@nearlocal.com wrote: > > > I'm a Python beginner. I want to use it for stats work, so I downloaded > > Anaconda which has several of the popular libraries already pac

Testing BlockHosts

2013-10-16 Thread T . h . i . r . d_3y3
Hello Can somebody tell me how I can test BockHosts? I want to see if an IP address gets blocked or not, as I have to provide evidence of testing for a presentation. Any help will be greatly appreciated, thank you -- https://mail.python.org/mailman/listinfo/python-list

Question about XMLRPC

2013-08-29 Thread i . sheeha
Hello, I should write a python script(s) that listens to an existing XMLRPC service on my company's dev server.My utility should take some data from that XMLRPC, send it to an online xml service provider(it's something about hotel accomodation, where they have xml patterns for

A computer programmer, web developer and network admin resume

2013-05-21 Thread i...@databaseprograms.biz
A computer programmer, web developer and network administrator resume. For a resume in HTML or .Doc format click on: www.DatabasePrograms.Biz<http://www.databaseprograms.biz/> If you would like this in text format instead, please let me know. Daniel Rapaport 1-949-307-

see the link

2011-04-08 Thread ramalingam i
webpage : http://123maza.com/65/hand741/ -- http://mail.python.org/mailman/listinfo/python-list

Re: New blog from python-dev

2011-03-29 Thread Ivan Vilata i Balaguer
d to subscribe to the RSS feed (my reader doesn't support Atom) but although I'm following the link labeled as RSS, I'm still getting an Atom feed via FeedBurner. May this be a problem with FeedBurner configuration, or I'd better use another subscription mechanism? Thank

Re: Mixing Decimal and float

2010-06-02 Thread I V
> >> Should isinstance(Float('1.1'), float) and isinstance(Float('1.1'), >> Decimal) also both be true, or would only one of those be true?  (And >> by the way, what value would Float('1.1') have?  float('1.1') and >> Decimal('

Re: Create a class at run-time

2010-03-26 Thread I V
On Fri, 26 Mar 2010 08:54:11 -0700, Michel wrote: > I want to add a method to a class such that it can be invoked on > specifics instances. > You solution works (as well as Patrick's one), thanks ! I still have a > question though. If I print the type of the self object I get wh

Re: Create a class at run-time

2010-03-25 Thread I V
On Thu, 25 Mar 2010 15:00:35 -0700, Michel wrote: > I'm trying to dynamically create a class. What I need is to define a > class, add methods to it and later instantiate this class. Methods need > to be bound to the instance though, and that's my problem. Here is what > I

Re: Pure virtual functions in Python?

2010-02-20 Thread I V
On Sat, 20 Feb 2010 08:12:01 -0800, lallous wrote: > How can I do something similar to pure virtual functions in C++ ? >From what you want, it seems like you want cb() to not be called if it isn't implemented in the derived class; this isn't really what pure virtual functions

Re: Modifying Class Object

2010-02-10 Thread I V
at all in the computer's memory? > > If it doesn't, then it has no effect whatsoever. > > But since it does have an effect, a memory change has been effected. I don't think your disagreeing with Steven here - by talking about "the computers memory," it's clea

Re: Python interactive terminal in Ubuntu Linux : some keys fouled up

2010-01-06 Thread t r z e w i c z e k
keys now do not work. eg pressing left-arrow yields ^[[D right-arrow ^[[C Home ^[OH Del ^[[3~ up-arrow^[[A Frustrating as I use all these

Re: Validating cells of a table PyQt

2010-01-06 Thread t r z e w i c z e k
On Thu, 07 Jan 2010 01:37:05 +0100, Zabin wrote: Hey! I am new PyQT programmer. I am trying to create a table in which cells only take in numeric data. I am unable to use setValidator on table cells. Looking around i found some material on the editor attribute but I dont know how to apply

Re: umlauts

2009-10-17 Thread I V
On Sat, 17 Oct 2009 21:24:59 +0330, Arian Kuschki wrote: > I just checked and I see the following in the headers: Content-Type > text/xml; charset=UTF-8 > > Where does it say ISO-8859-1? In the headers returned via urllib (and via wget). But checking in Firefox, it does indeed spec

Re: umlauts

2009-10-17 Thread I V
On Sat, 17 Oct 2009 18:54:10 +0200, Diez B. Roggisch wrote: > This is wierd. I looked at the site in FireFox - and it was displayed > correctly, including umlauts. Bringing up the info-dialog claims the > page is UTF-8, the XML itself says so as well (implicit, through the > missing

Re: using python interpreters per thread in C++ program

2009-09-07 Thread I V
On Mon, 07 Sep 2009 19:22:17 -0700, ganesh wrote: > My application is a TCP server having multiple client connectons. C++ > PTHREADS are for each connected socket and the message received on the > socket is evaluated by python functions. If I use only one process level Do you have to us

Re: Is "feedparser" deprecated?

2009-08-07 Thread I V
/p/feedparser/issues/list But if the project _is_ dead, one would be unlikely to get a response on the bug tracker; as seems, in fact, to have happened already: http://code.google.com/p/feedparser/issues/detail?id=160&start=100 I take it that the lack of response to this issue means the ans

Re: Confessions of a Python fanboy

2009-07-30 Thread I V
On Thu, 30 Jul 2009 17:57:48 -0400, Luis Zarrabeitia wrote: > As I understood the question, it was "was wrong in 'for var in > container' in comparison with ruby's container.each?" > > What's the (semantic) difference between > >

Re: comments? storing a function in an object

2009-07-20 Thread I V
On Mon, 20 Jul 2009 21:53:59 -0400, Esmail wrote: > In general I would agree with you, but in my specific case I want so > store some additional meta-data with each function, such as the valid > range for input values, where the max or minimum are located, the > name/source for the fun

Re: tough-to-explain Python

2009-07-10 Thread I V
On Fri, 10 Jul 2009 16:27:12 -0400, Terry Reedy wrote: > a bug, bug a limitation due to using limited-range numbers. If one uses > residue classes instead of integers, and makes no adjustment, I consider > it wrong to blame Bentley. But it was Bentley himself who used the C int type, so

Re: Observer implementations

2009-06-15 Thread I V
On Mon, 15 Jun 2009 15:29:34 +0200, Tobias Weber wrote: > Despite the confusion all those are useable, but I ran into the problem > that I can't register a @classmethod because weakref doesn't like them. What do you mean by weakref not liking class methods? This seems to work

Re: Lexical scope: converting Perl to Python

2009-06-13 Thread I V
On Fri, 12 Jun 2009 22:02:53 -0700, Andrew Savige wrote: > Notice that this code uses Perl's lexical scope to hide the > %private_hash variable, but not the public_fn() function. You might try: def public_fn(param): private_hash = publicfn.private_hash return private_hash[param]

Re: Wrapping methods of built-in dict

2009-05-20 Thread I V
allable({}.get) and callable(dict.get) are both true, although I don't know if that's guaranteed (I'm wondering if methods could be implemented with an object such that method_object.__get__ returned a callable, but where method_object itself wasn't callable). -- http://mail.python.org/mailman/listinfo/python-list

Re: JSON and Firefox sessionstore.js

2009-04-22 Thread I V
On Thu, 23 Apr 2009 02:16:07 +, Steven D'Aprano wrote: > I'm leaning towards this being a bug in the json module. Unless somebody > can point me at a credible source that sessionstore.js isn't JSON, I > will report this as a bug. I'm just another random guy on

Re: file.read() doesn't read the whole file

2009-03-20 Thread I V
On Fri, 20 Mar 2009 07:03:35 -0700, Sreejith K wrote: > I'm using the above codes in a pthon-fuse's file class's read function. > The offset and length are 0 and 4096 respectively for my test inputs. > When I open a file and read the 4096 bytes from offset, only a few line

Re: REDIRECT

2009-03-19 Thread I V
On Wed, 18 Mar 2009 21:30:59 -0700, gaeasiankom wrote: > What actually I'm try to do is : > > I'm having a Login page which developed in HTML. When I click on the > "Login" button I want the page to validate (at datastore of google app) > using python and red

Re: Looking for the best way to translate an idiom

2008-12-14 Thread I V
On Sun, 14 Dec 2008 21:08:33 -0800, James Stroud wrote: > Yes. I think it was the British who decided that the apostrophe rule for > "it" would be reversed from normal usage relative to just about every > other noun. I'm not sure the purpose--maybe it was to give compulsive

Re: Text parsing via regex

2008-12-08 Thread I V
On Mon, 08 Dec 2008 13:42:00 -0500, r0g wrote: > Robocop wrote: >> However i'm having several problems. I know that playskool regular >> expression i wrote above will only parse every 50 characters, and will >> blindly cut words in half if the parsed string doesn't

Re: Guido's new method definition idea

2008-12-07 Thread I V
On Sat, 06 Dec 2008 16:34:56 -0800, Erik Max Francis wrote: > `$` as a shortcut for self, on the other hand, gives absolutely no > mnemonic indication what it stands for, and users would be simply left > guessing. However, $ is sometimes used as an alternative way of writing S̸ (I've attempted to

Re: Python Django Latex Permissions Problem

2008-11-28 Thread I-T
for the help though On Nov 25, 2:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: > I-T <[EMAIL PROTECTED]> wrote: > >  I have a python/django webapp running with apache2. It executes system > >  commands for getting a pdf generated by pdflatex from a .tex file and &

Python Django Latex Permissions Problem

2008-11-24 Thread I-T
I have a python/django webapp running with apache2. It executes system commands for getting a pdf generated by pdflatex from a .tex file and a couple of image files which it also generates. The permssions from ls-l for all the created files is:- -rw-r--r-- 1 www-data www-data The files are being

Re: Plz help..SocketServer UDP server losing lots of packets

2008-11-06 Thread I D
On Thu, Nov 6, 2008 at 10:27 AM, James Mills <[EMAIL PROTECTED]>wrote: > On Fri, Nov 7, 2008 at 12:57 AM, I D <[EMAIL PROTECTED]> wrote: > > Thanks for your response. > > But I cannot use a third party software, I need to use the exisiting > API's > > wit

Re: Plz help..SocketServer UDP server losing lots of packets

2008-11-06 Thread I D
Hello James, Thanks for your response. But I cannot use a third party software, I need to use the exisiting API's within python. As I am new to python, I suspected that I should go by a simpler approach and so scrapped off the below code and wrote a very simple UDP server code as fo

Re: [Numpy-discussion] [SciPy-user] ANN: Python programs for epidemic modelling

2008-10-25 Thread I. Soumpasis
2008/10/25 Alan G Isaac <[EMAIL PROTECTED]> > On 10/25/2008 4:14 PM I. Soumpasis apparently wrote: > > http://blog.deductivethinking.com/?p=29 > > This is cool. > But I do not see a license. > May I hope this is released under the new BSD license, > like the p

ANN: Python programs for epidemic modelling

2008-10-25 Thread I. Soumpasis
ere written long ago and submitted to the book's on line material website (available soon). The Python programs with the basic equations modelled and the results in figures were now uploaded on a special wiki page of DeductiveThinking.com. Since, the programs are heavily using numpy, scipy and matp

Re: interpreter vs. compiled

2008-07-17 Thread I V
On Thu, 17 Jul 2008 15:08:17 -0700, castironpi wrote: > The Python disassembly is baffling though. > y= 3 dis.dis('x=y+1') You can't disassemble strings of python source (well, you can, but, as you've seen, the results are not meaningful). You need to compile the source first: >>> co

Re: Is there a web-editor I can use with Python?

2008-06-13 Thread I V
On Fri, 13 Jun 2008 22:10:51 +0100, Ognjen Bezanov wrote: > I am building an application using WxWidgets, and its job is to manage > HTML data in a database. Now I need essentially a HTML editor that I can > embed into my program, that will parse the HTML and allow the user to > e

Re: php vs python

2008-05-25 Thread I V
On Sun, 25 May 2008 21:41:09 -0400, Jerry Stuckle wrote: > The the good programmers are able to adapt to the language and make the > most of whatever language they're using. The result is good code. OTOH, > poor programmers I have known have found all kinds of excuses - from the >

Re: which datastructure for fast sorted insert?

2008-05-25 Thread I V
On Sun, 25 May 2008 18:42:06 -0700, notnorwegian wrote: > def scrapeSites(startAddress): > site = startAddress > sites = set() > iterator = iter(sites) > pos = 0 > while pos < 10:#len(sites): > newsites = scrapeSite(site) > joinSets(sites, newsites) You change t

Re: which datastructure for fast sorted insert?

2008-05-25 Thread I V
On Sun, 25 May 2008 15:49:16 -0700, notnorwegian wrote: > i meant like set[pos], not iterate but access a specific position in the > set. If you need to access arbitrary elements, use a list instead of a set (but you'll get slower inserts). OTOH, if you just need to be able to get th

Re: which datastructure for fast sorted insert?

2008-05-25 Thread I V
On Sun, 25 May 2008 13:05:31 -0300, Gabriel Genellina wrote: > Use a list, and the bisect module to keep it sorted: That's worth doing if you need the data to be sorted after each insert. If the OP just needs the data to be sorted at the end, using a data structure with fast inserts (like a set)

Re: Getting a set of lambda functions

2008-05-25 Thread I V
On Sun, 25 May 2008 13:43:15 +0200, Martin Manns wrote: > I try to get a set of lambda functions that allows me executing each > function code exactly once. Therefore, I would like to modify the set > function to compare the func_code properties (or the lambda functions to > use this

Re: error using all()/numpy [TypeError: cannot perform reduce with flexible type]

2008-05-23 Thread I V
On Fri, 23 May 2008 00:12:35 -0700, Marc Oldenhof wrote: > It seems that Python calls numpy's "all" instead of the standard one, is > that right? If so, how can I call the standard "all" after the numpy > import? ["import numpy" is not a desirable o

Re: Python and Flaming Thunder

2008-05-22 Thread I V
at one point, but this made it unusable.) Really? The FAQ says it uses operating system threads, which I would have thought would mean it runs on multiple processors (modulo, I suppose, the issues with the GIL). -- http://mail.python.org/mailman/listinfo/python-list

Serious Problem with Timezone

2008-05-19 Thread T-u-N-i-X
Hey There, I'm a django developer and working on a project right now.. Last week I just discovered a new problem in Python.. Here's what I do.. [01:00] ([EMAIL PROTECTED] ~)$ date Sal May 20 01:00:10 EEST 2008 [01:00] ([EMAIL PROTECTED] ~)$ python Python 2.5.2 (r252:60911, Feb 23 2008

Re: write to specific line in file?

2008-05-16 Thread I-T
Open the file inside your script in append mode. open('filename', 'wa') On May 16, 11:41 pm, globalrev <[EMAIL PROTECTED]> wrote: > i ahve a program that takes certain textsnippets out of one file and > inserts them into another. > > problem is it jsu

Re: Making Variable Text Output More Pythonic?

2008-05-16 Thread I-T
gt; [Scroll down to attributes]. > > > On May 16, 1:44 am, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > >> Casey <[EMAIL PROTECTED]> writes: > >> > Hi, > > >> > I have some classes that print variable outputs depending on their > >>

Re: Purpose of operator package

2008-05-13 Thread I V
On Wed, 14 May 2008 00:38:44 +0200, Christian Heimes wrote: > Eric Anderson schrieb: >> Seems like unnecessary code but obviously I know nothing about Python. > > Correct, the truth example isn't a good example. "if argv" is better. I hadn't heard of operato

Re: Python and Flaming Thunder

2008-05-13 Thread I V
On Mon, 12 May 2008 16:39:25 -0700, Dave Parker wrote: > I've read that one of the design goals of Python was to create an easy- > to-use English-like language. That's also one of the design goals of > Flaming Thunder at http://www.flamingthunder.com/ , which has proven > easy enough for even el

Re: Database vs Data Structure?

2008-04-17 Thread I V
On Thu, 17 Apr 2008 19:30:33 -0700, erikcw wrote: > use some sort of data-structure (maybe > nested dictionaries or a custom class) and store the pickled > data-structure in a single row in the database (then unpickle the data > and query in memory). Why would you want to do this?

Re: gc question

2008-03-09 Thread I V
On Sun, 09 Mar 2008 01:57:38 -0800, Vince wrote: > Well, that suits me. The most unnatural thing about Python was adapting > to the idea of just letting unreleased resources go jogging off > wherever. :) Yes, that's a bad habit that garbage collection can encourage. GC is good for managing memory

Re: joining strings question

2008-02-29 Thread I V
On Fri, 29 Feb 2008 08:18:54 -0800, baku wrote: > return s == s.upper() A couple of people in this thread have used this to test for an upper case string. Is there a reason to prefer it to s.isupper() ? -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Speed of light [was Re: Why not a Python compiler?]

2008-02-13 Thread I V
On Mon, 11 Feb 2008 14:07:49 -0800, Erik Max Francis wrote: > experience. The notion of impetus -- where an object throw moves in a > straight line until it runs out of impetus, then falls straight down -- > is clearly contrary to everyday experience of watching two people throw > a ball back and

Re: No Module Named pstats

2008-02-13 Thread I. Soumpasis
2008/2/13, Juha S. <[EMAIL PROTECTED]>: > > Hi, > > I'm trying to use the Python profilers to test my code, but I get the > following output for cProfile.run() at the interpreter: > > Traceback (most recent call last): > File "", line 1, in > Fi

Re: type, object hierarchy?

2008-02-03 Thread I V
On Sun, 03 Feb 2008 21:31:44 -0800, 7stud wrote: > On Feb 3, 10:28 pm, 7stud <[EMAIL PROTECTED]> wrote: >> From the docs: >> >> issubclass(class, classinfo) >> Return true if class is a subclass (direct or indirect) of classinfo. > > > print issubclass(Dog, object) #True So Dog is a subclass o

Re: how to make format operator % work with unicode as expected

2008-01-26 Thread I V
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote: > Yes, it is true that %s already support unicode, and I did not > contradict that. But it counts the number of bytes instead of > characters, and makes things like %-20s out of alignment. If you don't > understand my assert

Re: Problems getting Python scripts to run on server

2008-01-23 Thread I V
On Wed, 23 Jan 2008 19:41:17 -0800, Yansky wrote: > Hi, I'm having a lot of problems getting any Python scripts to run on my > website. I have put them in the cgi-bin directory and chmodded both the > directory and files to 755. But when I try to access the script, I get a >

Internet

2008-01-16 Thread i . shoba3
Internet You are using internet http://padmagirl.blogspot.com % -- http://mail.python.org/mailman/listinfo/python-list

Re: Immutable Geometry Types

2007-12-16 Thread I V
On Sun, 16 Dec 2007 18:13:47 -0800, [EMAIL PROTECTED] wrote: > I am learning python, having learnt most of my object orientation with > java, and decided to port some of my geometry classes over. I haven't > used immutability in python before, so thought this would be an > inte

Re: Loops and things

2007-12-14 Thread i . pantusa
On Dec 14, 5:01 pm, Neil Cerutti <[EMAIL PROTECTED]> wrote: > On 2007-12-14, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I was wondering how and if it's possible to write a loop in python > > which updates two or more variables at a time. F

Re: a Python person's experience with Ruby

2007-12-09 Thread I V
scope of the class, and adds a > new attribute accessible from the instance (_a). Either I'm not understanding you, or you're not understanding what A.__a means in python. A.__a is a class attribute, not an instance attribute - it's equivalent to @@a in ruby, not @a. If I

Re: a Python person's experience with Ruby

2007-12-08 Thread I V
On Sat, 08 Dec 2007 11:23:57 -0800, MonkeeSage wrote: >> > The equivalent python idiom is something like: >> >> > class A: >> > __a = "foo" >> > def __init__(self): >> > self.a = A.__a [...] >> > Which roughly translates to this in ruby: >> >> > class A >> > attr_accessor :a >> > def in

Re: [OT] minimalist web server

2007-12-02 Thread I V
On Sat, 01 Dec 2007 19:02:41 -0800, Daniel Fetchinson wrote: > The reason I need this is that my current best strategy to avoid ads in > web pages is putting all ad server names into /etc/hosts and stick my > local ip number next to them (127.0.0.1) so every ad request goes to my > ma

Re: eof

2007-11-21 Thread I V
On Wed, 21 Nov 2007 17:06:15 -0800, braver wrote: > Why do I have to count sizes of lines read and compare it to some > filesize or do other weird tricks just to see, in a way not changing my > input stream, whether it's at the, well, EOF? Because you can't, generally, te

Re: find and remove "\" character from string

2007-09-15 Thread I V
On Sat, 15 Sep 2007 19:34:45 +0300, Konstantinos Pachopoulos wrote: > Hi, > i have the following string s and the following code, which doesn't > successfully remove the "\", but sucessfully removes the "\\". There is no \\ in the string; there's one \ , whi

Re: Coming from Perl - SOLVED

2007-09-14 Thread I V
On Thu, 13 Sep 2007 23:49:32 -0400, Amer Neely wrote: > In trying to track down why this script would not run on my host, it has > to come to light that Python is installed, however the Apache module is > not. So, short story is - I was flogging a dead horse. Which Apache module? You d

PIL Error: "cannot read interlaced PNG files"

2007-09-10 Thread T-u-N-i-X
ed PNG files are not supported in the PIL documentation. I'm using PIL 1.1.6-2 on Arch Linux.. I can check all images with: from PIL import Image im = Image.open('image.png') im.info which returns a dictionary about the image. If the dict has 'interlace' key with the value

Re: IDE for Python

2007-08-21 Thread I V
On Tue, 21 Aug 2007 21:23:25 -0300, Ricardo Aráoz wrote: > Do you know if for in-house development a GPL license applies? (Qt4 > and/or Eric4). (I'm not sure if I've understood your question right) If you distribute an app that _uses_ PyQT, you have to comply with the GPL (or buy a license

Re: Newbie question about a web server

2007-08-20 Thread I V
c that when the client request > something it is a "GET", and when the client sends something it is in > our case a POST. Some basic responce codes like 200 is OK for GET, and > 404 is file not found, 301 is OK for a Post." [...] > I googled for 'http response code 30

Re: Wikicodia - The code snippets wiki

2007-07-28 Thread Tina I
Wikicodia Admin wrote: > Dears, > > Wikicodia is a wiki based project for sharing code snippets. We're > collecting large number of code snippets for all code-based > programming languages, scripts, shells and consoles. We wish you could > help us. We're still BETA. Your suggestions, ideas and cri

Re: Submit form, open result in a browser

2007-07-27 Thread Tina I
theju wrote: >> Is there a way to submit a form and then open the resulting page in the >> default browser? (Writing the form submission code is not a problem by >> the way) > > There is a library called "Client Form" that does this for you. > wwwsearch.sourceforge.net/ClientForm/ > > After the f

Submit form, open result in a browser

2007-07-27 Thread Tina I
Hi, Is there a way to submit a form and then open the resulting page in the default browser? (Writing the form submission code is not a problem by the way) I guess what I'm asking is how I can get the resulting URL and feed it to the webbrowser module. I need to do it this way because the

Re: split on NO-BREAK SPACE

2007-07-22 Thread I V
On Sun, 22 Jul 2007 21:13:02 +0200, Peter Kleiweg wrote: > Here is another "space": > > >>> u'\uFEFF'.isspace() > False > > isspace() is inconsistent Well, U+00A0 is in the category "Separator, Space" while U+FEFF is in the category "Other, Format", so it doesn't seem unreasonable that one i

Re: python extra

2007-07-11 Thread Tina I
[EMAIL PROTECTED] wrote: > On Jul 8, 12:59?pm, Neal Becker <[EMAIL PROTECTED]> wrote: >> Just a little python humor: >> >> http://www.amazon.com/Vitamin-Shoppe-Python-Extra-tablets/dp/B00012NJ... > > Aren't there any female Python programmers? > No, of course not. Oh, and guys: If you take those

Re: Goto

2007-06-17 Thread Tina I
Daniel Nogradi wrote: >> How does one effect a goto in python? I only want to use it for debug. >> I dasn't slap an "if" clause around the portion to dummy out, the >> indentation police will nab me. > > > http://entrian.com/goto/ LOL!! * major fla

Sharon Stone - Anna Kournikova Lindsay lohan

2007-06-10 Thread D - A - T - I - N - G
Sharon Stone - Anna Kournikova Lindsay lohan search engines + cams www.alphasearch.gr www.alphasearch.ru-- http://mail.python.org/mailman/listinfo/python-list

Re: Unsubscribing from the mailing list

2007-05-28 Thread Tina I
[EMAIL PROTECTED] wrote: > Hi All, > > I do not know if this is the correct group to ask this question. But > since mailman is python-based I thought i would ask here. > > I had subscribed to a mailing list called [EMAIL PROTECTED] > adventitiously. I then wanted to rever

Re: CP4E revival

2007-05-24 Thread I V
On Thu, 24 May 2007 20:03:29 +1000, Richard Jones wrote: > Hoop-jumping implemented to prevent just this kind of direct linking (and > thus not saving of the PDF to local disk to view, and thus increasing the > load on the server). I'm not sure I see the connection - if you'r

Re: Distributing programs depending on third party modules.

2007-05-16 Thread Tina I
Kevin Walzer wrote: > Tina I wrote: >> Kevin Walzer wrote: > > >> And maybe the smartest thing to do would be to dump PyQt and just go >> for tkinter, however ugly it is :/ > > Tkinter doesn't have to be ugly. > > I sell a proprietary

Re: Distributing programs depending on third party modules.

2007-05-16 Thread Tina I
David Boddie wrote: > On May 16, 7:44 am, Tina I <[EMAIL PROTECTED]> wrote: > >> A binary would be ideal. I'll look into the freeze modules and >> Pyinstaller. Even if they don't handle huge things like Qt it would be a >> step in the right direction

Re: Distributing programs depending on third party modules.

2007-05-15 Thread Tina I
ager handle these dependencies. And yes, it is > frustrating for end users. I mainly write apps for Linux although some are in theory cross platform (but I don't have Windows to test on so I don't really care about that part). Of course catering to every concievable package manageme

Distributing programs depending on third party modules.

2007-05-15 Thread Tina I
Hi list, Is there a preferred way to distribute programs that depends on third party modules like PyQt, Beautifulsoup etc? I have used setuptools and just having the setup script check for the existence of the required modules. If they're not found I have it exit with a message that it

Re: Init style output with python?

2007-05-05 Thread Tina I
Maxim Veksler wrote: > Is there are frame work or something in python that would allow me to > do this (quickly) ? > If not, ideas how I should I be getting this boring task of: > 1. get screen width You can look into the 'curses' module and do something like: scre

Re: how update a qListView in backgroud

2007-05-02 Thread Tina I
Reinaldo Carvalho wrote: > Hi, > > I programming with qt module and i have a qWidgetTab with a qListView > inside, and i need update the qListView every 5 seconds, how do this > on transparent mode to user. I do a function to update, but i dont > know call then. > > I wil

Re: lowercase class names, eg., qtgui ? (PyQt4)

2007-04-26 Thread Tina I
Glen wrote: > Hello, > > In the file generated by pyuic4 from Designer's .ui file I noticed the use > of lower case class names (I'm assuming these are the names of classes, > not modules). For example: > > It imports thusly: > > from PyQt4 im

Re: Catching a specific IO error

2007-04-25 Thread Tina I
uot;No such file or directory" error > # calling an error handling method. > > See http://docs.python.org/lib/module-exceptions.html > > --Gabriel Genellina Perfect! Just what I was looking for. Thank you! :) Tina -- http://mail.python.org/mailman/listinfo/python-list

Catching a specific IO error

2007-04-24 Thread Tina I
Hi group :) I have this standard line: export = open(self.exportFileName , 'w') 'exportFileName' is a full path given by the user. If the user gives an illegal path or filename the following exception is raised: "IOError: [Errno 2] No such file or directory: /s

Re: service for file monitoring

2007-04-20 Thread Carles Pina i Estany
Hi, On Apr/20/2007, Gabriel Genellina wrote: > En Fri, 20 Apr 2007 17:06:51 -0300, rohit <[EMAIL PROTECTED]> > escribió: > > > i am designing a desktop search engine using python. > > i am having a query , is there a package available that contains > > functio

mysqldb execute timeout

2007-04-20 Thread Carles Pina i Estany
Hello, I need to implement timeout for execute method in Mysql queries. I am using MySQLdb. I have tried it: signal.signal(signal.SIGALRM,handler) signal.alarm(1) cursor.execute(sql) signal.alarm(0) But handler is never executed. In other example (changing cursor.execute by

Re: Beginner: Formatting text output (PyQt4)

2007-04-18 Thread Tina I
Glen wrote: >> Hello again, I don't blame anyone for not answering my last post, > since >> I obviously hadn't spent much time researching, but I've come a little >> ways and have another question. >> >> How can I better format text output to a QT

Re: What makes an iterator an iterator?

2007-04-17 Thread I V
On Wed, 18 Apr 2007 15:39:22 +1000, Steven D'Aprano wrote: > I thought that an iterator was any object that follows the iterator > protocol, that is, it has a next() method and an __iter__() method. ... > class Parrot(object): ... > def __init__(self): > se

Re: Append data to a list within a dict

2007-04-15 Thread Tina I
Alex Martelli wrote: > Tina I <[EMAIL PROTECTED]> wrote: >... >> He he... at the age of 40 I'm well beyond school work ;) > > Why would that be? My wife's over 40, yet she's a student (currently at > Stanford -- they were overjoyed to admit her

Re: Append data to a list within a dict

2007-04-13 Thread Tina I
Michael Bentley wrote: > > On Apr 14, 2007, at 12:39 AM, Tina I wrote: > >> Say I have the following dictionary: >> >> ListDict = { >> 'one' : ['oneone' , 'onetwo' , 'onethree'], >> 'two' : ['twoone&#

Re: Append data to a list within a dict

2007-04-13 Thread Tina I
Paul Rubin wrote: > Tina I <[EMAIL PROTECTED]> writes: >> ListDict = { >> 'one' : ['oneone' , 'onetwo' , 'onethree'], >> 'two' : ['twoone' , 'twotwo', 'twothree'], >> 'three'

  1   2   >