Re: test systems

2011-08-01 Thread James Matthews
Wow, why don't you find some cloud providers and write bootstrap programs. James On Mon, Aug 1, 2011 at 6:35 PM, Dan Stromberg wrote: > > I've been testing my Python code on these using virtualbox and/or physical > machines (but mostly virtualbox): > > CentOS 6.0 > Debian > DragonflyBSD > Fedor

64bit Python builds on HP-UX ia64 and PA-RISC (Using GCC)

2015-09-23 Thread James Matthews
Hi, I'm having some issues getting 64bit Python builds on HP-UX. I'm using the GCC version available from the HP website. I've also tried using HP's compiler but don't have much success either, even following the readme. These are the results I get: PA-RISC: ./configure CC=/opt/hp-gcc64-4.7.1/bi

Re: JSONBOT 0.80.3 RELEASED

2011-11-21 Thread James Matthews
Looks good I am going to plug twisted into this. On Mon, Nov 21, 2011 at 9:49 PM, Bart Thate wrote: > Hello world !! I released JSONBOT 0.80.3 .. the first in the 0.80 series ;] > > about > ~ > > JSONBOT is a chatbot that can take commands and react to events on the > network it is connected

Re: Multiple Threads - I/O in Same File

2011-11-21 Thread James Matthews
You may have some issues with disk reading as the drive heads move in different ways On Mon, Nov 21, 2011 at 8:15 AM, wrote: > Hi All, > > ** ** > > Just a question in general. Is it possible that we have opened one file > in r+ mode ( file1.txt ). > > We have 2 threads, > > **·

Debugger

2007-07-05 Thread James Matthews
Can anyone please tell me of a good debugger that can debug threads. My issue is that i have a program that is crashing only under certain threads but others are fine. And when i do it without threads it runs fine! -- http://www.goldwatches.com/watches.asp?Brand=14 http://www.jewelerslounge.com -

Changing the user-agent in urllib

2007-07-08 Thread James Matthews
Is there anyway of changing the user-agent in urllib without sub classing it? -- http://www.goldwatches.com/watches.asp?Brand=14 http://www.jewelerslounge.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Pydev 1.3.7 Released

2007-07-09 Thread James Matthews
I just downlaoded the old one! On 7/9/07, Fabio Zadrozny <[EMAIL PROTECTED]> wrote: Hi All, Pydev and Pydev Extensions 1.3.7 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com

Re: Choosing Tkinter over wxPython...

2007-07-09 Thread James Matthews
Sorry i am a wxpython person! TKinter wouldn't work for me so i moved to wxPython. However try pyQT or pyGTK both seem to be good toolkits and have large user bases On 7/9/07, Kevin Walzer <[EMAIL PROTECTED]> wrote: I've spent some time playing with both, and while wxPython is nice, Tkinter jus

Re: wxPython and threads

2007-07-18 Thread James Matthews
Sounds like a race condition. is List Ctrl waiting for the gui to return? Maybe make the processing more then one thread! On 7/17/07, Stef Mientki <[EMAIL PROTECTED]> wrote: Benjamin wrote: > I'm writing a search engine in Python with wxPython as the GUI. I have > the actual searching preformed

Re: Exiting from python shell

2007-07-18 Thread James Matthews
try raise SystemExit On 7/18/07, Mark Elston <[EMAIL PROTECTED]> wrote: * James Stroud wrote (on 7/18/2007 4:27 PM): > Tobiah wrote: >> For years now, I've been exiting the shell by typing 'exit\n', >> being chid by the shell, and then typing ^D. I can't >> remember a time that I typed the ^D

Re: Copy List

2007-07-19 Thread James Matthews
A slice still has some references to the old objects a deep copy is a totally new object! On 19 Jul 2007 17:04:00 GMT, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: On Thu, 19 Jul 2007 09:21:54 -0700, Falcolas wrote: > On Jul 18, 6:56 am, "Rustom Mody" <[EMAIL PROTECTED]> wrote: >> This

Re: Posted messages not appearing in this group

2007-07-19 Thread James Matthews
I am also having some issues. There is a post on the list that appeared 7 times because of this issue i think. On 7/19/07, David H Wild <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, Adrian Petrescu <[EMAIL PROTECTED]> wrote: > Maybe it has shown up and Google simply isn't showin

Re: wxPython, searching, and threads

2007-07-19 Thread James Matthews
I have seen this thread for a while and i do not see it on the wxpython list so i am posting it there now and will post a reply if i still see this later! James On 7/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Jul 18, 3:15 pm, Benjamin <[EMAIL PROTECTED]> wrote: > Hello! I am writin

Re: Trying to choose between python and java

2007-07-20 Thread James Matthews
You can always use jython. ;) On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Sun, 15 Jul 2007 at 22:28:08 -0700, Alex Martelli wrote: > James T. Dennis <[EMAIL PROTECTED]> wrote: >... > > You can start writing all your code now as: print() --- calling > > the statement as if

Python Flagged as a Virus by AVG

2007-07-20 Thread James Matthews
I was reading a Microsoft news group and came across this post Got this during a scan of my computer: infected: object C:\hp\bin\python-2.2.3.exe:\comparisons.html result: trojan horse PHP/MPack.B status: infected embedded object inefected: object C:\hp\bin\python-2.2.3.exe What can/should

Re: I am giving up perl because of assholes on clpm -- switching to Python

2007-07-25 Thread James Matthews
Welcome aboard On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Python is a better language, with php support, anyway, but I am fed up with attitudes of comp.lang.perl.misc. Assholes in this newsgroup ruin Perl experience for everyone. Instead of being helpful, snide remarks, back-bitin

Re: I am giving up perl because of assholes on clpm -- switching to Python

2007-07-25 Thread James Matthews
Wow! They might leave this newsgroup now also! On 7/25/07, Jürgen Exner <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > Python is a better language, with php support, anyway, but I am fed up > with attitudes of comp.lang.perl.misc. Assholes in this newsgroup ruin > Perl experience for eve

<> vs !=

2007-07-27 Thread James Matthews
Dear Lists What is the difference between <> and != Thank You James -- http://www.goldwatches.com/watches.asp?brand=55 http://www.jewelerslounge.com -- http://mail.python.org/mailman/listinfo/python-list

Re: calling a .net application from Python 2.5

2007-08-01 Thread James Matthews
http://pythonnet.sourceforge.net/ On 8/1/07, Acm <[EMAIL PROTECTED]> wrote: > > I am working with Python 2.5. > > I would like to know how to call a .NET application (or .dll) from a > Python script. > > Can anyone help please? > > Thank you. > > -- > http://mail.python.org/mailman/listinfo/python

Re: Wing IDE for Python v. 3.0 beta1 released

2007-08-01 Thread James Matthews
I am very happy with there support i concur with what Joshua wrote! I have yet to see a full paying consumer not happy with wingide On 8/1/07, Steve Holden <[EMAIL PROTECTED]> wrote: > > Joshua J. Kugler wrote: > > On Wednesday 01 August 2007 13:53, Robert Dailey wrote: > >> He's secretly an emplo

Re: which IDE is highly recommended in Windows OS

2007-08-13 Thread James Matthews
www.wingide.com On 8/13/07, Ge Chunyuan <[EMAIL PROTECTED]> wrote: > > On Aug 13, 10:24 am, _spitFIRE <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Ge Chunyuan wrote: > > > hi Group: > > > > > I am a new comer for Python, I wonder which IDE is recommended

Re: Opinions about this new Python book?

2007-08-14 Thread James Matthews
i got to say that the best python book i bought was Core Python Programming (2nd) by Wesly Chun! Aside for all the spelling mistakes and syntax errors that there are i feel that the book really explained the language well for someone coming from another programming language! On 8/14/07, Dick Moo

Re: Problem with Thread.join()

2007-08-20 Thread James Matthews
Post some code so we can see the issue! I would say that the issue is where your function that you are calling isn't exiting! On 8/20/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > En Mon, 13 Aug 2007 20:10:53 -0300, Robert Dailey <[EMAIL PROTECTED]> > escribi�: > > > I have a class that der

Re: Gmane's been quiet ...

2007-08-28 Thread James Matthews
Maybe they are sick of the spam! On 8/28/07, Lawrence Oluyede <[EMAIL PROTECTED]> wrote: > > Steve Holden <[EMAIL PROTECTED]> wrote: > > ... so I was wondering if it's just me who hasn't seen any postings > today? > > I think so, through my usenet server I saw the usual lot of postings > > -- > La

Thread issue

2007-08-29 Thread James Matthews
Hi I have a program that downloads webpages. The webpages are stored in a list and i make each has it's own thread that downloads it. Sometimes the threads exit (because urlopen() throws an exception) Now the question is how can i recover from this thread failing Example Code from urllib import

Re: How do you limit the # of lines Read?

2007-09-18 Thread James Matthews
for i in range(): line = file.readline() On 9/18/07, John Machin <[EMAIL PROTECTED]> wrote: > > On Sep 19, 6:59 am, [EMAIL PROTECTED] wrote: > > I am working on a loop for my code and was wondering if there is a way > > to limit the number of lines read through? I'd hate to cut the test > > fi

Removing objects in a list via a wild card

2007-09-19 Thread James Matthews
Hi List I have a list of files from my current directory: import os files = os.listdir(os.getcwd()) Now this list also includes some files that i don't want like my python files... How would i remove them Thanks James -- http://www.goldwatches.com/ http://www.jewelerslounge.com -- http://ma

Re: Simple threading example freezes IDLE?

2007-09-29 Thread James Matthews
idle doesn't work well with threads On 9/27/07, 7stud <[EMAIL PROTECTED]> wrote: > > On Sep 26, 5:01 pm, "Sergio Correia" <[EMAIL PROTECTED]> wrote: > > > > I'm using IDLE 1.2.1, Python 2.5.1, and Tk 8.4. Does anyone has any > > idea of why is this happening? > > > > Two mainloops == bad. IDLE ==

Re: HOT!!!PYTHON DEVELOPER REQUIRED @ ADOBE SYSTEMS

2007-09-29 Thread James Matthews
Spam! On 9/27/07, Recruiter-Adobe <[EMAIL PROTECTED]> wrote: > > Hi PYTHON DEVELOPERS, > > ADOBE SYSTEMS is looking for a PYTHON DEVELOPER who can troubleshoot > Python based applet which makes data base queries and populates Excel > tables used to generate pivot charts, graphs and tables showing

Re: New to python

2007-09-30 Thread James Matthews
Both are good however when looking for a book i would recommend core python programming version 2! Enjoy OOP On 30 Sep 2007 05:21:50 GMT, Stargaming <[EMAIL PROTECTED]> wrote: > > On Sat, 29 Sep 2007 21:20:10 -0700, Googy wrote: > > > I am new to python... > > > > The programming language i know w

Re: slice last 4 items from a list

2007-10-01 Thread James Matthews
Very pythoninc! On 10/1/07, John Machin <[EMAIL PROTECTED]> wrote: > > On Oct 2, 6:27 am, brad <[EMAIL PROTECTED]> wrote: > > Is this the correct way to slice the last 4 items from a list? > > > > x = [1,2,3,4,5,6,7,8,9] > > print x[-4:] > > > > It works, but is it Pythonic? > > It's Pythonic. It'

Re: Top Programming Languages of 2013

2007-10-07 Thread James Matthews
What are these stats based on? On 10/7/07, Alan Gauld <[EMAIL PROTECTED]> wrote: > > > "Dick Moores" <[EMAIL PROTECTED]> wrote > > > > > > > Interesting, but I'm not sure what the criteria for "top" is. > Is it a measure of power, popularity, usage? >

Re: Yet another comparison of Python Web Frameworks

2007-10-07 Thread James Matthews
But the question is when will the cheap hosting company's start to host normal python files! On 10/7/07, genro <[EMAIL PROTECTED]> wrote: > > On Oct 7, 8:35 am, Michele Simionato <[EMAIL PROTECTED]> > wrote: > > On Oct 6, 12:57 pm, Bruno Desthuilliers > > > > > Michele Simionato a écrit : > > > >

Re: Off Topic: Gmail hates newsgroups!!!

2007-10-08 Thread James Matthews
I agree it annoys me also! -- http://search.goldwatches.com/search.aspx?Search=Cufflinks http://www.jewelerslounge.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Library for crawling forums

2007-10-11 Thread James Matthews
Well i know some that do half the job urllib or urllib2 to download the page htmlparser or beautifulsoup For html parsing Enjoy On 10/11/07, BlueCrux <[EMAIL PROTECTED]> wrote: > > I'm trying to write a utility to crawl forums and strip posts to be > gone through offline. Just the content, I don

Re: Entering username & password automatically using urllib.urlopen

2007-10-14 Thread James Matthews
if you want to hardcode the password in the url. What you need to do is http:username:[EMAIL PROTECTED] On 10/14/07, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > > rodrigo schrieb: > > I am trying to retrieve a password protected page using: > > > > get = urllib.urlopen('http://password.protected

Re: Best Python Linux distribution

2007-10-17 Thread James Matthews
Redhat and now Oracle's Linux installer is written in python! They are all very good but watch for some programs that require legacy versions of library's like wx On 17 Oct 2007 23:10:33 -0700, Devraj <[EMAIL PROTECTED]> wrote: > > I would recommend a Debian based distribution like Ubuntu or Debia

Re: Thread Profiling

2007-11-05 Thread James Matthews
Try passing the verbose=1 flag when creating the tread! On 11/6/07, Chris Mellon <[EMAIL PROTECTED]> wrote: > > On Nov 5, 2007 1:32 PM, JamesHoward <[EMAIL PROTECTED]> wrote: > > Are there any good thread profilers available that can profile a > > thread as it is running instead of after execution

Re: Wanted: Software Engineers in San Jose, CA

2007-11-06 Thread James Matthews
Please use monster.com! or linkedin On Nov 6, 2007 10:49 PM, Peter Hsu <[EMAIL PROTECTED]> wrote: > I hope job posting is appropriate on this mailing list. I couldn't find > anything indicating otherwise. > > > > I'm looking for software engineers of all levels to help create a > next-generatio

Re: >>>> 911 operation by evil JEWS and Mossad <<<

2007-11-08 Thread James Matthews
Thank You! Maybe we can get rid of this guy now... This is a python group... On Nov 8, 2007 12:28 PM, philipp neulist <[EMAIL PROTECTED]> wrote: > On Nov 7, 4:08 pm, [EMAIL PROTECTED] wrote: > > 911 carried out by evil jews and > mossadhttp://www.guba.com/watch/2000991770 > > > > 911 truckload of

Re: [OT] The Jew Spam on this list

2007-11-13 Thread James Matthews
I agree! On Nov 13, 2007 1:26 PM, Martin Marcher <[EMAIL PROTECTED]> wrote: > Hello, > > please do not respond to the "political" spam on this list anymore. > Rather report it as spam to your provider/anti-spam-measures or report > it to the listmasters (if you have the feeling that it helps, I g

Re: Web update library in python?

2007-11-20 Thread James Matthews
I think the best one would be to write it on your own! It shouldn't take more then 150 lines of code! Or you can use Egg's On Nov 20, 2007 9:39 AM, Jorgen Bodde <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to provide my users the ability to download a repository from > the web, and after that

Re: Python too complex ?!?!?!

2007-11-20 Thread James Matthews
I think they need to change teachers in this school! On Nov 17, 2007 2:46 PM, Brian <[EMAIL PROTECTED]> wrote: > Had a unsettling conversation with a CS instructor that > teaches at local high schools and the community > college. This person is a long-term Linux/C/Python > programmer, but he clai

Re: Python strings question (vertical stack)

2007-11-20 Thread James Matthews
I would say to split it by the newline! On Nov 20, 2007 10:59 PM, John Machin <[EMAIL PROTECTED]> wrote: > On Nov 21, 7:15 am, Farshid Lashkari <[EMAIL PROTECTED]> wrote: > > J. Clifford Dyer wrote: > > > I think you mean '\n'.join([string1,string2,string3]) > > > > > You actually do want the \ t

Re: Tk 8.5

2007-11-26 Thread James Matthews
I also cannot wait! On Nov 24, 2007 4:12 PM, Ron Provost <[EMAIL PROTECTED]> wrote: > Hello, > > According to the tk wiki, the final release of Tcl/Tk is just weeks away > (see http://wiki.tcl.tk/12753). Does anyone know if the Tk enhancements > will be in Python 2.6? Since I don't use tk but

Rss Feed Creator

2007-11-26 Thread James Matthews
Hi, I am looking for a library that will create Rss/Atom feeds in python. It needs to format the XML in a readable format! Does anyone have any suggestions? Thanks James -- http://search.goldwatches.com/?Search=Movado+Watches http://www.goldwatches.com/coupons http://www.jewelerslounge.com --

Re: Rss Feed Creator

2007-11-26 Thread James Matthews
Thank You Shane, However that is using PyRss2Gen which doesn't put newlines in the XML. So it's a little out of the picture! On Nov 27, 2007 1:57 AM, Shane Geiger <[EMAIL PROTECTED]> wrote: > http://www.bigbold.com/snippets/tag/beautifulsoup > > > > James Matth

Re: Rss Feed Creator

2007-11-26 Thread James Matthews
Is there any where you do not have us tidy? On Nov 27, 2007 2:03 AM, Shane Geiger <[EMAIL PROTECTED]> wrote: > I think this is what you need to make the output readable: > > tidy -asxml output.xml > > > > > > James Matthews wrote: > > Thank You Shane,

Re: Rss Feed Creator

2007-11-27 Thread James Matthews
Thank you everyone! On Nov 27, 2007 10:13 AM, Vladimir Rusinov <[EMAIL PROTECTED]> wrote: > > > On 11/27/07, James Matthews <[EMAIL PROTECTED]> wrote: > > > > I am looking for a library that will create Rss/Atom feeds in python. It > > needs to format th

Re: read/write to java socket in python

2007-11-27 Thread James Matthews
It's a socket interface it should be universal! On Nov 27, 2007 4:08 PM, <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a problem with reading from a Java server after I have written > to it - it just hangs. It works fine if I just write to the server and > not try to write. I have read the HOWT

Re: Looking for a Python tutor

2007-11-27 Thread James Matthews
Please post on the job section! On Nov 27, 2007 6:46 PM, hong2221 <[EMAIL PROTECTED]> wrote: > I'm looking for a Python programmar that is willing write simple > functions, prices can be talked over. Contact me asap. > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://searc

Re: Donloadin mail on the background

2007-11-30 Thread James Matthews
Use threads or sub processes On Nov 29, 2007 9:17 PM, Francesco Pietra <[EMAIL PROTECTED]> wrote: > Dennis: > > Why am I using web-based email? As I work on several machines scp linked. > I > find often useful to see the same mail on different machines around, > without > downloading anything, ju

Re: Benchmark...

2007-11-30 Thread James Matthews
Google and wikipedia! On Nov 30, 2007 9:39 AM, ArShAm Shirvani <[EMAIL PROTECTED]> wrote: > Hi > I need a benchmark for speed , comparing with other languages > > Regards > Arsham > > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://search.goldwatches.com/?Search=Movado+Wa

Re: Witch editor to use!

2007-11-30 Thread James Matthews
Eric On Nov 30, 2007 12:26 PM, Bruno Desthuilliers < [EMAIL PROTECTED]> wrote: > Carl Banks a écrit : > > On Nov 30, 4:40 am, Ant <[EMAIL PROTECTED]> wrote: > >> On Nov 30, 9:10 am, SMALLp <[EMAIL PROTECTED]> wrote: > > (snip) > > >>> And if editor is bether choice witch one to use! > >> One with

Re: Accessing a URL file Remotely

2007-11-30 Thread James Matthews
Once you use urlopen you can read the website like a file On Nov 30, 2007 10:58 AM, mcl <[EMAIL PROTECTED]> wrote: > On 29 Nov, 22:32, TheSeeker <[EMAIL PROTECTED]> wrote: > > On Nov 29, 3:13 pm, mcl <[EMAIL PROTECTED]> wrote: > > > > > > > > > I have been given a url ofCSVfile (http://hostname/d

Re: How to read strings cantaining escape character from a file and use it as escape sequences?

2007-12-01 Thread James Matthews
Also alot of times in the interactive interpeter it will show you charater codes! On Dec 1, 2007 6:04 PM, slomo <[EMAIL PROTECTED]> wrote: > WOW! Great! Thanks, Duncan. > > > On 12월2일, 오전12시33분, Duncan Booth <[EMAIL PROTECTED]> wrote: > > slomo <[EMAIL PROTECTED]> wrote: > > print line > > >

Re: python not a good name.

2007-12-01 Thread James Matthews
Well in the future we will ask the internet god "Google" to guide us in making the name! On Dec 1, 2007 7:36 AM, Joseph king <[EMAIL PROTECTED]> wrote: > sorry for not responding to the thread the regular way...[cough] > > just to prove everyone i counted what was found while searching python

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread James Matthews
Well in the future we will ask the internet god "Google" to guide us in making the name! On Dec 1, 2007 6:02 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > On 01/12/2007, Tóth Csaba <[EMAIL PROTECTED]> wrote: > > man.. :)) the biggest point in this thread :DD > > btw in my country not much, because

Re: C/C++ on UNIX Developer required in Woodmead, Johannesburg

2007-12-01 Thread James Matthews
Please post in the Python Wiki under the jobs On Dec 1, 2007 9:38 AM, arnold <[EMAIL PROTECTED]> wrote: > We seek the following sort of experience / skill for developer > resources (if u do not qualify - we offer a handsome referral fee if > you refer someone that is succesfully placed:-) . > > C

Re: pythonw.exe and python.exe

2007-12-01 Thread James Matthews
Because they use two different API's to execute your code! On Nov 30, 2007 9:09 PM, whatazor <[EMAIL PROTECTED]> wrote: > Hi all, > I made a little application with multithreading in winxp with > python2.5. An event generated from a third part software is the > trigger for the creation of progres

Re: String formatting with %s

2007-12-02 Thread James Matthews
try to import printf using ctypes On Dec 2, 2007 7:49 PM, MRAB <[EMAIL PROTECTED]> wrote: > On Dec 2, 1:35 pm, Donn Ingle <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm sure I one read somewhere that there is a simple way to set the > order > > of replacements withing a string *without* using a dict

Re: [OT] minimalist web server

2007-12-03 Thread James Matthews
Using DSL (Damn Small Linux) try apache! Or you can try litehttpd On Dec 2, 2007 3:35 AM, Daniel Fetchinson <[EMAIL PROTECTED]> wrote: > Hi list, > > This is way off topic but maybe somebody knowledgeable can help. > > I'm looking for the most minimalist web server ever that does nothing > el

Re: a Python person's experience with Ruby

2007-12-08 Thread James Matthews
I have been waiting for something like this! Thanks! On Dec 8, 2007 6:08 AM, Steve Howell <[EMAIL PROTECTED]> wrote: > Python is my favorite programming language. I've used > it as my primary language for about six years now, > including four years of using it full-time in my day > job. Three m

Nice Python Cartoon!

2007-12-08 Thread James Matthews
http://xkcd.com/353/ -- http://search.goldwatches.com/?Search=Movado+Watches http://www.jewelerslounge.com http://www.goldwatches.com -- http://mail.python.org/mailman/listinfo/python-list

Re: download complete webpage with python

2007-12-08 Thread James Matthews
from urllib import urlopen url = urlopen("http://www.google.com";).read() Enjoy! On 12/8/07, Larry Bates <[EMAIL PROTECTED]> wrote: > > Gabriel Genellina wrote: > > En Fri, 07 Dec 2007 17:58:43 -0300, yi zhang <[EMAIL PROTECTED]> > > escribió: > > > >> The urllib.urlretrieve() can only download t

Re: Job Offer: Python Ninja or Pirate!

2007-12-10 Thread James Matthews
Please post on the job forum! On Dec 10, 2007 9:14 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Etsy is an online marketplace for buying and selling all things > handmade: clothing, music, furniture, > software, jewelry, robots. We launched on June 18, 2005, and ever > since then have been

Re:

2007-12-12 Thread James Matthews
you can also use a for loop =) list = [1,2,3,4,5,6,7] str = ' ' for i in list: str+=i print str On Dec 12, 2007 2:25 PM, Lee Capps <[EMAIL PROTECTED]> wrote: > > On Dec 11, 2007, at 5:14 PM, katie smith wrote: > > > "[16, 16, 2, 16, 2, 16, 8, 16]" > > Regular expressions might be a good way

Re:

2007-12-12 Thread James Matthews
Can you please explain better? On Dec 12, 2007 2:19 AM, katie smith <[EMAIL PROTECTED]> wrote: > > I tried googling and yahooing to find the answer and there was to many > conflicting results so i just decided to ask to simple question here. > > How do i could the number of letters in a string no

Re: newbie

2007-12-12 Thread James Matthews
I really like this book! On Dec 11, 2007 3:11 AM, Joe Riopel <[EMAIL PROTECTED]> wrote: > On Dec 10, 2007 9:03 PM, Whizzer <[EMAIL PROTECTED]> wrote: > > Is OReilly's Learning Python a good place to start learning to program? > > I've been told Python is a good first language. > > I think this is

Re: Best way to protect my new commercial software.

2007-12-12 Thread James Matthews
You can make it hard and annoying etc.. to crack! but you will never stop people from cracking it! On Dec 10, 2007 8:15 AM, farsheed <[EMAIL PROTECTED]> wrote: > I wrote a software and I want to protect it so can not be cracked > easily. I wrote it in python and compile it using py2exe. what is t

Re: After running for four days, Python program stalled

2007-12-12 Thread James Matthews
INT 3 is a debug interrupt:-) On Dec 12, 2007 8:41 PM, Chris Mellon <[EMAIL PROTECTED]> wrote: > On Dec 12, 2007 1:34 PM, John Nagle <[EMAIL PROTECTED]> wrote: > > Had a Python program stall, using no time, after running OK for four > days. > > Python 2.4, Windows. Here's the location in Python

Re: looking for gui for python code

2007-12-13 Thread James Matthews
Using any GUI package you should be able to build your application into EXE format! On Dec 13, 2007 6:46 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > hi > i have written some python scripts which take command line arguments > and do some job. i would like to make it into a .exe using py2exe

Re: Happy Christmas Pythoneers

2007-12-24 Thread James Matthews
Happy Holidays Y'all! On Dec 24, 2007 5:50 PM, Nabeel Ali Memon <[EMAIL PROTECTED]> wrote: > :-) sure if we had machines addressing above hexa... > > > On Dec 24, 2007 9:30 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: > > > On Dec 24, 1Ha2:17�am, Paddy < [EMAIL PROTECTED]> wrote: > > > After

Re: Python for web...

2007-12-26 Thread James Matthews
Ha read an RFC for web dev! hehehhe Thats a new one! On Dec 26, 2007 9:43 AM, Bruno Desthuilliers < [EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] a écrit : > > Hi everyone, > > > > I have to develop a web based enterprise application > > "enterprise" ??? > > > for my final year > > project. Since

Re: very newbie question about exception handling

2007-12-26 Thread James Matthews
In short input runs an eval on the text before it passes it! So input like ord('a') will work fine because it will run that code! On Dec 26, 2007 5:26 AM, <[EMAIL PROTECTED]> wrote: > Thanks guys! It worked. > > Merry Christmas! > -- > http://mail.python.org/mailman/listinfo/python-list > --

Re: Game Development

2007-12-26 Thread James Matthews
SO use pygame! but please don't spam this list! -- http://search.goldwatches.com/?Search=Movado+Watches http://www.jewelerslounge.com http://www.goldwatches.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python DLL in Windows Folder

2007-12-26 Thread James Matthews
You have read access just not write! Because you need the DLLS in there! On Dec 25, 2007 7:53 PM, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * Stef Mientki (Tue, 25 Dec 2007 11:39:47 +0100) > > Another reason "not to put the DLL in win/wys32": > > on a lot of computers writing to win/sys32 or ev

Re: Cheat sheet

2007-12-27 Thread James Matthews
Looks good thanks! On Dec 27, 2007 11:06 PM, Scott David Daniels <[EMAIL PROTECTED]> wrote: > Riccardo T. wrote: > > I wrote a little cheat sheet for this wonderful language, but because of > > my still little experience with it, I would like to have a feedback > > Could you have a look at it and

Re: "Impure" Python modules

2007-12-27 Thread James Matthews
I don't quite understand what the word "impure" means here! On Dec 27, 2007 10:53 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > Is there some way to get a list of "impure" Python modules/extensions > from PyPI? I know the mySQL module is a good example, but I am > working on creating some decent inst

Re: What's the limit of variables size in pyhton?

2007-12-31 Thread James Matthews
However some Debuggers will not show you variable's that are too big! On Dec 31, 2007 7:38 PM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Mon, 31 Dec 2007 15:40:31 -0200, هنداوى <[EMAIL PROTECTED]> > escribi�: > > > Python allow you to only take care about variable name and ignore it's > >

Re: Python for web...

2007-12-31 Thread James Matthews
The issue is finding a host with mod_python installed for cheap! On Dec 31, 2007 7:57 AM, David Van Mosselbeen < [EMAIL PROTECTED]> wrote: > on Tue, 25 Dec 2007 20:42:03 -0800 (PST), [EMAIL PROTECTED] < > [EMAIL PROTECTED]> wrote: > > > > Hi everyone, > > > > I have to develop a web based enterpr

Re: ElementTree should parse string and file in teh same way

2007-12-31 Thread James Matthews
When dealing with files you pass it an object! So make your string an object and then it should work! On Dec 31, 2007 8:17 AM, Paddy <[EMAIL PROTECTED]> wrote: > On Dec 31, 3:42 am, "Peter Pei" <[EMAIL PROTECTED]> wrote: > > One bad design about elementtree is that it has different ways parsing a

Re: Killing worker threads

2008-01-06 Thread James Matthews
You can use the stop method! On Jan 6, 2008 2:04 PM, tarun <[EMAIL PROTECTED]> wrote: > Hello All, > > Can anyone help me with a simple code through which the main thread can > kill the worker thread it started. > > Thanks & Regards, > Tarun Devnani > > -- > http://mail.python.org/mailman/listinf

Python In VS

2008-01-06 Thread James Matthews
Dear List I would like to know is it possible to use VS (Visual Studio) as a python IDE! It's a great IDE for C# and i would like to be able to use it for python also! Thanks James -- http://search.goldwatches.com/?Search=Movado+Watches http://www.jewelerslounge.com http://www.goldwatches.com -

Re: Python's great, in a word

2008-01-07 Thread James Matthews
Just Another Vague Acronym = (Java) On Jan 7, 2008 10:32 PM, Ben Finney <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > > > The best thing about Python is ___. > > The best thing about Python is its elegance. > > -- > \"Like the creators of sitcoms or junk food or package to

Re: Python's great, in a word

2008-01-08 Thread James Matthews
We have such nice names so the word Python will be something people like and not something people fear (A massive 12 foot snake) and Pythonic is a behavior pattern we should all follow! In layman's terms it means we should all act like snakes a little more! On Jan 8, 2008 5:13 PM, Carl Banks <[EMA

Re: Peer To Peer File Sharing...

2008-01-08 Thread James Matthews
Look at the old source code of the Bittorrent client for ideas! On Jan 8, 2008 8:51 PM, Dom Rout <[EMAIL PROTECTED]> wrote: > Hello. > Well, this is my first post on any USENET group anywhere, so I hope I > get it right. Basically, I just want to get some opinions on a plan of > mine for a new pr

Re: HOW TO HANDLE POINTERS FROM NON-LOCAL HEAPS??

2008-01-11 Thread James Matthews
Ahh it's good to know that you "love" pointers like everyone else! On Jan 11, 2008 9:30 AM, Gary Herron <[EMAIL PROTECTED]> wrote: > abhishek wrote: > > Hi group any idea on HOW TO HANDLE POINTERS FROM NON-LOCAL HEAPS?? > > > > > > Thank you > > > POINTERS? Heaps? Huh? Ummm, let me think --

Re: *** AMERICAN BASTARDS DESERVE TO BE RAPED ***

2008-01-13 Thread James Matthews
When did this list become a politics dialog? Please keep on topic "Python"! Thanks James On Jan 12, 2008 8:07 PM, Joe Riopel <[EMAIL PROTECTED]> wrote: > On Jan 12, 2008 2:00 PM, radiosrfun <[EMAIL PROTECTED]> wrote: > > Whether we agree on "tactics" or not - if it come to a battlefield with the

Re: question

2008-01-22 Thread James Matthews
Since you aren't familyer with classes i will keep this within the scope of functions... If you have code like this def a(): def b(): a+=1 Then you can only call function b when you are within function a James On Jan 22, 2008 8:58 PM, <[EMAIL PROTECTED]> wrote: > I'm still learning Pyt

Re: translating Python to Assembler

2008-01-22 Thread James Matthews
The reason you were finding a Python Debugger when looking for the PDB files is because PDB is Python DeBugger! Also why would you be looking for a PDB file if you can read the C source! On Jan 22, 2008 11:55 PM, Wim Vander Schelden <[EMAIL PROTECTED]> wrote: > Python modules and scripts are norma

Re: Stripping whitespace

2008-01-23 Thread James Matthews
Using the split method is the easiest! On 23 Jan 2008 19:04:38 GMT, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Wed, 23 Jan 2008 10:50:02 -0800, ryan k wrote: > > > Hello. I have a string like 'LNAME > > PASTA ZONE'. I want to create a list of those words and > > basical

Re: help using python on Vista

2008-01-30 Thread James Matthews
You need to go into folder options which is in the control panel and there under the view tab click Show hidden files and folders On Jan 30, 2008 9:36 AM, Safe Alattar <[EMAIL PROTECTED]> wrote: > I have no issues using python on XP. However on Vista I cant get the > python gui (IDLE) to open! >

Re: Does anyone else use this little idiom?

2008-02-02 Thread James Matthews
What i do is a simple range call. for i in range(number of times i want to repeat something) I guess it comes from my C days for(i=0;i<100;i++) { or in python for i in range(99): On Feb 3, 2008 3:34 AM, Roy Smith <[EMAIL PROTECTED]> wrote: > In article > <[EMAIL PROTECTED]>, > [EMAIL PROTECTED]

Re: Does anyone else use this little idiom?

2008-02-03 Thread James Matthews
Because 0 is counted therefore i only have to do it 99 times Thanks On Feb 3, 2008 4:38 AM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Sun, 03 Feb 2008 01:03:43 -0200, James Matthews <[EMAIL PROTECTED]> > escribió: > > Sorry to be nitpicking, but people coming

Re: Python GUI toolkit

2008-02-03 Thread James Matthews
Just a side question! Does QT support Events from multiple threads without any special calls! Example when i use WX i have to call wx.CallAfter() Thanks! On Feb 3, 2008 6:05 PM, Jorge Godoy <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > what i meant was, i tried gtk, didnt like it

Re: Why not a Python compiler?

2008-02-05 Thread James Matthews
You can also compile parts of Python to speed them up! On Feb 5, 2008 9:37 AM, Kay Schluehr <[EMAIL PROTECTED]> wrote: > On Feb 5, 9:19 am, Santiago Romero <[EMAIL PROTECTED]> wrote: > > ( Surely if this question has been asked for a zillion of times... ) > > Sure. You can access comp.lang.pyth

Re: Useful site for beginners

2008-02-10 Thread James Matthews
If you don't mind me recommending that you include links to python documentation and show new users how they can read the docs and see the info! James On Feb 10, 2008 9:30 PM, subeen <[EMAIL PROTECTED]> wrote: > This website can be helpful for Python newbies: > http://love-python.blogspot.com/ >

Re: Displaying Unicode Chars

2008-02-10 Thread James Matthews
Why don't you use ord? 2008/2/10 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > I want to make a little Python utility where a user can enter the > unicode numerical code and get the actual symbol back in utf-8. > > For example, a user could enter something like u221E > > And get back ∞ > > Now, this d

Re: win32com.client question

2008-02-13 Thread James Matthews
What do you mean possible? On Feb 13, 2008 3:05 PM, Juan_Pablo <[EMAIL PROTECTED]> wrote: > import win32com.client > is posible in linux ? > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://search.goldwatches.com/?Search=Movado+Watches http://www.jewelerslounge.com http:/

  1   2   >