Re: how to dynamically instantiate an object inheriting from several classes?

2008-11-21 Thread Joe Strout
r type() doesn't link to this page.) Best, - Joe -- http://mail.python.org/mailman/listinfo/python-list

Re: how to convert from network to host byte order

2009-03-05 Thread Joe Riopel
On Thu, Mar 5, 2009 at 7:26 AM, Evan wrote: > Hello ~ > > I'm new with python,  what my problem is, I have a binary file, I want > to read first 2 bytes and convert it to host byte order, then write it > to another file. Have you checked out socket.htons, socket.ntohs, etc ? -- http://mail.python

Re: Can Python do shopping cart?

2009-03-05 Thread Joe Riopel
On Thu, Mar 5, 2009 at 5:40 PM, SpamMePlease PleasePlease wrote: > Python can do that and a lot more! For this purpose I would go to > http://djangoproject.com/ Django is neat, but there are more choices for you: http://wiki.python.org/moin/WebFrameworks -- http://mail.python.org/mailman/listinfo

Re: Subprocess module: running an interactive shell

2009-03-15 Thread Joe Tyson
-list -- Saludos, -Roman PGP Fingerprint: 09BB EFCD 21ED 4E79 25FB  29E1 E47F 8A7D EAD5 6742 [Key ID: 0xEAD56742. Available at KeyServ] There is quite a bit involved in handling this. Check out this recipe on activestate: http://code.activestate.com/recipes/278731/ - Joe -- http://mail.python.org/mailman/listinfo/python-list

Re: script files with python (instead of tcsh/bash)?

2009-03-21 Thread Joe Riopel
On Sat, Mar 21, 2009 at 9:26 AM, Esmail wrote: > In any case, the scripts are starting to look pretty hairy and I was > wondering if it would make sense to re-write them in Python. I am not > sure how suitable it would be for this. Are these scripts run on computers that are guaranteed to have Py

Re: xml to xhtml

2009-04-01 Thread Joe Riopel
On Wed, Apr 1, 2009 at 10:43 AM, wrote: > If anyone can give me some guidance what should be the best way to > generate html/xhtml page using python would be great. I am open to > other options like xsl or anything else that can make things simple. Since you're open to other options, I would tak

Beginner: Portable Python, BeautifulSoup & ScrapeNFeed

2009-04-14 Thread Joe Larson
Hello list! I am a Python Beginner. I thought a good beginning project would be to use the Portable Python environment http://www.portablepython.com/ with Beautiful Soup http://www.crummy.com/software/BeautifulSoup/ and Scrape 'N' Feed http://www.crummy.com/software/ScrapeNFeed/ to create and

Re:

2009-04-18 Thread Joe Riopel
On Sat, Apr 18, 2009 at 12:56 PM, karlos barlos wrote: > LDAP://CN=bessy,OU=sales,DC=shay,DC=com > LDAP://CN=ron,OU=legal,DC=shay,DC=com > > to a text \  csv file ... > > can any one help ?? Have a look at this: http://docs.python.org/tutorial/inputoutput.html#reading-and-writing-files and this:

An unexpected visit_decref assertion fail (code works under python 2.4, doesn't under 2.5)

2009-04-24 Thread Joe Ardent
on to this code working fine in an earlier python version, is that this code works fine for most of the classes (this module has a bunch of C++ classes that get turned into python classes). Does anyone have any tips for debugging this? I'd really like to know what exactly is being

Distutils and unit test files

2008-06-23 Thread Joe Riopel
Hi, I am using Distutils to build and distribute some packages. I do write unit tests, but I am confused as to where to put them and how to run them prior to the package being installed (The modules being tested would not be in my sys.path). I would rather not put the test cases in the same files

Re: Distutils and unit test files

2008-06-23 Thread Joe Riopel
On Mon, Jun 23, 2008 at 9:59 AM, Cédric Lucantis <[EMAIL PROTECTED]> wrote: > Yes a checksuite should be kept separate from the 'real' code. You can run it > locally by setting the PYTHONPATH environment variable : > > PYTHONPATH=/path/to/your/modules python checksuite.py So I could also just appe

MD5 hash for url and utf unicode converting to ascii

2008-06-23 Thread joe shoemaker
I would like to convert url into md5 hash. My question is that md5 hash will create collision at 2^64. If you do long(value,16), where value is the md5 hash string, would value returned from long(value, 16) be unique as long as md5 hashed string is unique? when you move md5 hashed string to long, w

SQLite and Python 2.4

2008-07-01 Thread Joe Goldthwaite
e way. Since I didn't get an error message, I'm thinking that I've got the wrong version for the Firefox cookies.sqlite file. I don't have a clue as to where else to look to trace it down. I'm hoping that someone here is more familiar with it and can give me some pointers. Thanks, Joe Goldthwaite -- http://mail.python.org/mailman/listinfo/python-list

RE: SQLite and Python 2.4

2008-07-03 Thread Joe Goldthwaite
7;localhost' cookiedict = {} GetFirefoxCookies(domain, cookiedict) print cookiedict -Original Message- From: Guilherme Polo [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 6:15 PM To: [EMAIL PROTECTED]; python-list@python.org Subject: Re: SQLite and Python 2.4 On T

Python pack and unpack question

2008-07-14 Thread joe shoemaker
If you have the following: data = unpack('>L', sock.recv(4)) Does this line of code means that incoming data is big endian and unpack it to endianess of local machine? If local machine is little endian, then big endian is automatically converted to little endian format? thank you. -- http:

TypeNone field detection

2008-04-16 Thread Joe Blow
What is the best way to detect a TypeNone field in a tuple, or in a list? I am accessing a MySQL database using the MySQLdb Python interface... this interface returns a tuple object type in response to SQL SELECT statements. My understanding of the MySQLdb interface is that NULL database values a

Re: TypeNone field detection

2008-04-19 Thread Joe Blow
On Wed, 16 Apr 2008 21:13:18 -0400, Steve Holden wrote: > > Since there is only one instance of TypeNone (the value we reference as > None) the easiest test is > >if x is None: > Thanks... the "if x is None:" statement is exactly what I was looking for. -- http://mail.python.org/mailman/l

Re: list manipulation

2008-04-22 Thread Joe Riopel
On Tue, Apr 22, 2008 at 4:55 PM, DataSmash <[EMAIL PROTECTED]> wrote: > Hello, > > I have a list that looks like this: > roadList = ["Motorways","Local","Arterial"] > > I want to apply some code so that the output looks like this: > "Motorways;Local;Arterial" > How can this be done with the LE

Re: Colors for Rows

2008-04-29 Thread Joe Riopel
On Tue, Apr 29, 2008 at 10:33 AM, Victor Subervi <[EMAIL PROTECTED]> wrote: > Hi; > > > why doesn't this work? > It never increments z! Yet, if I print z, it will increment and change the > bgcolor! Why?! Are you only trying to "print '\n' % bg" once, or for each iteration of the loop? It might

Re: How to write verbose scripts

2008-09-02 Thread Joe Riopel
On Tue, Sep 2, 2008 at 12:55 PM, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > Is there a better way of doing this than the way I am going about it? Would the logging module help, and just print the output to the stdout (or a file) instead? -- http://mail.python.org/mailman/listinfo/python-list

Re: finding domain name

2008-09-23 Thread Joe Riopel
On Tue, Sep 23, 2008 at 8:37 AM, Bobby Roberts <[EMAIL PROTECTED]> wrote: > hi group. I'm new to python and need some help and hope you can > answer this question. I have a situation in my code where i need to > create a file on the server and write to it. That's not a problem if > i hard code t

Re: ANN: Python GUI development using XULRunner

2008-09-24 Thread Joe Hrbek
Todd, this is great! Thanks for your work on this. I've been using your extension for awhile, successfully creating little apps. Your gui_app template has been a huge help in advancing my understanding of how things fit together...takes some of the guesswork out. :) Thanks again, -j On Sep 16

javascript to python

2008-10-02 Thread Joe Hrbek
Could someone help me translate to something that would close to it in python? The anonymous functions are giving me problems. var dataListener = { data : "", onStartRequest: function(request, context){}, onStopRequest: function(request, context, status){ instream.cl

questions from a lost sheep

2008-10-02 Thread Joe Strout
e state of the art in desktop app development in Python these days? Also, apart from simply searching with Google, is there anyplace I could go to find a good Python contractor to build a cross-platform desktop app demo? Many thanks, - Joe [1] http://www.strout.net/info/coding/python/

help using py2app

2008-10-02 Thread Joe Strout
on the "simple.py" example, but clearly something more is needed here. Any clues? Or, is there a better list/forum for asking about Mac-specific Python development? (I've subscribed to the PyObjC mailing list, and sent a message to the list, but it hasn't shown

strange math?

2006-03-18 Thread joe . hrbek
Hello everyone, I'm experimenting with python and i'm following this tutorial: http://docs.python.org/tut/node6.html#SECTION00640 I'm in section 4.7.5 Lambda Forms. In this section I was working along and I noticed something strange. It happened because of a typo. Below is a co

Re: strange math?

2006-03-18 Thread joe . hrbek
Thanks for the great reply, Steve, et al. -j -- http://mail.python.org/mailman/listinfo/python-list

Re: IO Gurus: what are the differences between these two methods?

2009-12-07 Thread Joe Riopel
On Mon, Dec 7, 2009 at 12:12 PM, dpapathanasiou wrote: > I have two methods for writing binaries files: the first works with > data received by a server corresponding to a file upload, and the > second works with data sent as email attachments. > > The odd thing is, they're not interchangeable: if

Re: Can't Add Variable

2010-01-04 Thread Joe Riopel
On Mon, Jan 4, 2010 at 12:28 PM, Victor Subervi wrote: > Hi; > I have this code snippet: > >     sql '''create table if not exists %sCustomerData ( I think you may have forgotten the "=" after sql. -- http://mail.python.org/mailman/listinfo/python-list

Re: Clear interface for mail class

2009-10-14 Thread Joe Riopel
On Wed, Oct 14, 2009 at 8:39 AM, Benedict Verheyen wrote: > This kind of problems seems to happen sometimes: i need to fix something > quickly, > build a script for it, and then i realise that the code i've written is not > the best in > terms of reusability and has some "not so great" functions

Re: What command should be use when the testing of arguments is failed?

2009-10-14 Thread Joe Riopel
On Wed, Oct 14, 2009 at 8:53 PM, Peng Yu wrote: > I have the following python code snippet. I'm wondering what command I > should use to terminate the program if the arguments are not right. I usually use sys.exit. -- http://mail.python.org/mailman/listinfo/python-list

Re: unittest & setup

2009-11-04 Thread Joe Riopel
On Tue, Nov 3, 2009 at 11:02 PM, Jonathan Haddad wrote: > I've got a class, in the constructor it loads a CSV file from disc.  I'd > like only 1 instance of the class to be instantiated.  However, when running > multiple unit tests, multiple instances of the class are created.  What's > the best w

Re: Submit HTTP GET data from XP PC to PHP on web server.

2010-02-19 Thread Joe Riopel
On Fri, Feb 19, 2010 at 3:54 AM, Schedule wrote: > Hello everyone > > I haeve tried to understand the capabilities of python in web development. > Have gone throuhg forums and online tutorials. Nevertheless I am not able to > find any topic which can give me some insite along with basic examples o

libc Sleep api performs a busy waiting

2010-03-08 Thread Joe Fox
Hi , I am having a problem while using sleep function from libc , the thread in which i am calling it is getting struck and not allowing other threads to execute. Here is a simple code that i am trying to exeute import threading import time import dl def dummy1(): a=dl.open('/lib/libc.so.6

Re: libc Sleep api performs a busy waiting

2010-03-08 Thread Joe Fox
Hi, actually i have simplified my scenario a lot here , In my actual case , i have to call a C-api which blocks on c select , in a separate thread. my thread is getting struck in that api , and thus blocking all the other threads. Can you point to something which will help me call this blockin

Parsing markup.

2010-11-25 Thread Joe Goldthwaite
I'm attempting to parse some basic tagged markup. The output of the TinyMCE editor returns a string that looks something like this; This is a paragraph with bold and italic elements in itIt can be made up of multiple lines separated by pagagraph tags. I'm trying to render the paragraph int

RE: Parsing markup.

2010-11-29 Thread Joe Goldthwaite
Hi MRAB, I was trying to avoid regex because my poor old brain has trouble with it. I have to admin though, that line is slick! I'll have to go through my regex documentation to try and figure out what it actually means. Thanks! -Original Message- From: python-list-bounce

Python 3 and SNMP Traps

2010-12-29 Thread Joe Hughes
his and able to give suggestions? Thanks, Joe -- http://mail.python.org/mailman/listinfo/python-list

RE: Functions Not Fun (yet)-please help!

2011-01-16 Thread Joe Goldthwaite
print my_func(a, b, c) You get an undefined error on c. This is because at this point, c has been created but hasn't had anything assigned to it. In other words, you're actually passing the undefined c variable from here into my_func. _____ From: python-list-bounc

RE: newby qn about functions

2011-01-18 Thread Joe Goldthwaite
I'm not sure I understand the question completely but maybe the function below does what you want. def lower_case(s): return “Testing Functions-lower case: ” + s.lower() print lower_case(‘AbCdEfG’) From: python-list-bounces+joe=goldthw

Re: Add a method to a gtk class?

2010-04-29 Thread Joe Riopel
On Thu, Apr 29, 2010 at 11:43 AM, Wolfnoliir wrote: > I would like to add a method to the gtk.TextBuffer class to save a text > buffer to a file, but I get an error: I don't know gtk, but can you inherit from the TextBuffer class create your own TexBuffer subclass with the save_to_file method? --

Re: Create a new process to run python function

2010-05-05 Thread Joe Riopel
On Wed, May 5, 2010 at 8:56 AM, Massi wrote: > but this does not work, since the two threads share the same pid. Can > anyone give me a suggestion? Have you looked at os.fork ? http://docs.python.org/library/os.html#os.fork -- http://mail.python.org/mailman/listinfo/python-list

Re: unittest not being run

2010-05-10 Thread Joe Riopel
On Mon, May 10, 2010 at 8:38 AM, John Maclean wrote: > hi, > > can some one explain why the __first__ test is not being run? It looks like you defined test_T1 inside of the tearDown method. -- http://mail.python.org/mailman/listinfo/python-list

Re: unittest not being run

2010-05-10 Thread Joe Riopel
On Mon, May 10, 2010 at 5:17 PM, cjw wrote: > PyScripter and PythonWin permit the user to choose the equivalence of tabs > and spaces.  I like two spaces = on tab, it's a matter of taste.  I feel > that eight spaces is too much. While it is a matter of taste, PEP 8 recommends 4 spaces per indent

Tkinter Toplevel sizing issue (using a grid)

2010-06-11 Thread random joe
Hello all, Hi this i my first post here. I would like to create a tkinter toplevel window with a custom resize action based on a grid. From the Tk docs it say you can do this but for the life of me i cannot figure out how? In my app i wish for the main window to only resize in 20 pixel "jumps" (if

Re: Tkinter Toplevel sizing issue (using a grid)

2010-06-12 Thread random joe
Hi again, Is this possible to do? From lack of response i don't know if this is impossible or just nobody has done this before. If anybody know solution thank you. -- http://mail.python.org/mailman/listinfo/python-list

Issue with logging.config

2010-07-08 Thread Joe Hughes
.address) self.socket.send(msg) else: print('msg = ', msg, '\naddress = ', self.address) self.socket.sendto(msg, self.address) except (KeyboardInterrupt, SystemExit): raise except: self.handleError(record) line 790 of handlers.py This is Python/Idle 3.1.2 on Windows 2003 Server. If anyone has an idea about why this happening I would appreciate knowing what the issue is. Thanks, Joe -- http://mail.python.org/mailman/listinfo/python-list

Re: Issue with logging.config

2010-07-14 Thread Joe Hughes
tly what I was looking for. Joe On Jul 13, 2010, at 8:02 AM, Peter Otten wrote: > Joe Hughes wrote: > >> I'm doing some work with logging.config and I'm running into an >> interesting situation. I've run this by python-help, but that didn't help >> so I

Re: Issue with logging.config

2010-07-14 Thread Joe Hughes
This is why I did what I did, because I couldn't figure it out either. I did find issue 5421 at python.org which is where I got the idea for the code change. Joe On Jul 14, 2010, at 12:35 PM, Peter Otten wrote: > Vinay Sajip wrote: > >> On Jul 14, 3:21 pm, Joe Hughes wrot

Re: Issue with logging.config

2010-07-14 Thread Joe Hughes
= str(BOM) + "Status - " + mcu_dict[pinged.ip] + " is " + status[pinged.status] syslog.info(msg) This would add the BOM to the message that RFC 5424 requires. Or did I totally misread it? Thanks, Joe On Jul 14, 2010, at 8:20 PM, Vinay Sajip wrote: > On Jul 14, 7:08 pm, Joe Hug

Ascii to Unicode.

2010-07-28 Thread Joe Goldthwaite
Hi, I've got an Ascii file with some latin characters. Specifically \xe1 and \xfc. I'm trying to import it into a Postgresql database that's running in Unicode mode. The Unicode converter chokes on those two characters. I could just manually replace those to characters with something valid but i

Ascii to Unicode.

2010-07-28 Thread Joe Goldthwaite
Thanks to all of you who responded. I guess I was working from the wrong premise. I was thinking that a file could write any kind of data and that once I had my Unicode string, I could just write it out with a standard file.write() operation. What is actually happening is the file.write() operati

RE: Ascii to Unicode.

2010-07-28 Thread Joe Goldthwaite
> Hello hello ... you are running on Windows; the likelihood that you > actually have data encoded in latin1 is very very small. Follow MRAB's > answer but replace "latin1" by "cp1252". I think you're right. The database I'm working with is a US zip code database. It gets updated monthly. The p

Re: measuring a function time

2010-07-29 Thread Joe Riopel
On Thu, Jul 29, 2010 at 8:34 AM, Mahmood Naderan wrote: > the output should be 7600 (s) for example. What is the best and easiest way > to do that? Take a look at time.clock() http://docs.python.org/library/time.html#time.clock "this is the function to use for benchmarking Python or timing algo

RE: Ascii to Unicode.

2010-07-29 Thread Joe Goldthwaite
Hi Steven, I read through the article you referenced. I understand Unicode better now. I wasn't completely ignorant of the subject. My confusion is more about how Python is handling Unicode than Unicode itself. I guess I'm fighting my own misconceptions. I do that a lot. It's hard for me to un

RE: Ascii to Unicode.

2010-07-29 Thread Joe Goldthwaite
Hi Ulrich, Ascii.csv isn't really a latin-1 encoded file. It's an ascii file with a few characters above the 128 range that are causing Postgresql Unicode errors. Those characters work fine in the Windows world but they're not the correct byte representation for Unicode. What I'm attempting to d

locale and number formatting.

2010-08-03 Thread Joe Goldthwaite
I've been working with some developers on a project. Our standard number formatting for the entire web site is comma separated with no decimals. Currency is formatted with the dollar sign. This is basically how they did it; import locale def currency(value): return locale.currency(va

strptime issue in multi-threaded application

2009-06-16 Thread Joe Holloway
ns because the right conditions have to be in place, but something doesn't seem right about it. I thought I'd ask on the mailing list before going so far as to open a ticket, but feel free to direct me there if that's the appropriate place for this. Thanks, Joe [1] http://www.p

Re: strptime issue in multi-threaded application

2009-06-17 Thread Joe Holloway
Christian wrote: > > Joe Holloway schrieb: > > ImportError: Failed to import _strptime because the import lockis > > [sic] held by another thread. > > The error message is my fault. The cause of the mistake is obvious: No worries. The error message is clear even with the m

Re: Solved - Python: automate input to MySQL query

2009-09-23 Thread Joe Riopel
On Wed, Sep 23, 2009 at 10:49 AM, D'Arcy J.M. Cain wrote: > Of course you can get around this by specifying every field and using > "AS" to change the names to manager_id and employee_firstname, etc. but > if you are going to do that anyway, why not just do it once in the > database instead of lit

Re: Solved - Python: automate input to MySQL query

2009-09-24 Thread Joe Riopel
On Wed, Sep 23, 2009 at 4:21 PM, D'Arcy J.M. Cain wrote: > In any case, I have a strong philosophical objection to using the same > name to refer to two different things regardless of any operational > issues.  The manager.firstname and employee.firstname are not the same > thing and should have d

A question I have...

2010-10-23 Thread Joe Shoulak
it doesn't work and what I can do to make it work? Thanks, Best Wishes, Joe Shoulak -- http://mail.python.org/mailman/listinfo/python-list

[ANN] New Slack Group Dedicated to learning Python

2017-02-21 Thread Joe Anonimist
Hello all! Me and a few other Python enthusiasts started a Slack group dedicated to learning Python. All of us know the basics of Python and our goal is to acquire new skills that would help us get jobs as Python developers. Our plan is to collaborate on Python projects to get experience and be

Re: [ANN] New Slack Group Dedicated to learning Python

2017-02-21 Thread Joe Anonimist
On Wednesday, 22 February 2017 08:07:01 UTC+1, Joe Anonimist wrote: > Hello all! > > Me and a few other Python enthusiasts started a Slack group dedicated to > learning Python. All of us know the basics of Python and our goal is to > acquire new skills that would help us get

single process instance

2005-11-23 Thread Joe Wong (Mango)
Dear all,    Is there any library / function that I can put in my process to make sure he is the one and only one instance running in the box?   Best regards,   - Joe   -- http://mail.python.org/mailman/listinfo/python-list

get current function name

2005-12-01 Thread Joe Wong (Mango)
Hello,    Is this possible for a function to obtain its own name ?   eg.   def func1():     print "my name is " + get_my_name()   the result will show "my name is func1"   Regards,   - Joe   -- http://mail.python.org/mailman/listinfo/python-list

method to create class property

2008-03-18 Thread Joe P. Cool
Hi, I like C#'s style of defining a property in one place. Can the following way to create a property be considered reasonable Python style (without the print statements, of course)? class sample(object): def __init__(self): sample.y = self._property_y() def _property_y(self):

Re: method to create class property

2008-03-18 Thread Joe P. Cool
On 18 Mrz., 21:59, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Joe P. Cool schrieb: > >     def _property_y(self): > >         def _get(self): > >             [...] > > There are a few recipies, like this: > > class Foo(object): > >    

Re: Python3: to add, remove and change

2009-04-05 Thread Joe P. Cool
ouce public-money- > funded vaporwere that has tried to do too much). How about moving these lines to a separate message with a matching header? Regards, Joe. P. Cool -- http://mail.python.org/mailman/listinfo/python-list

Re: Python GUIs and custom controls

2008-05-11 Thread Joe P. Cool
On 9 Mai, 10:14, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > If you can work with the license (GPL), I suggest Qt4 Thanks for your helpful hints, guys. -- Joe P. Cool -- http://mail.python.org/mailman/listinfo/python-list

Re: What's wrong with that comment?

2008-05-20 Thread Joe P. Cool
ent out the > line "ast = suite(s)") but parser can't? The interpreter probably appends a newline after the input stream as a friendly service :) -- Joe -- http://mail.python.org/mailman/listinfo/python-list

Re: Why does python not have a mechanism for data hiding?

2008-05-25 Thread Joe P. Cool
gt; miss one of the basic principles of OOP? > > Who taught you that enforced restrictions on attribute access was a > "basic principle" of OO? Nearly every introduction to OOP? Please don't tell me that encapsulation does not mean "enforced restriction". If the l

surprising behaviour of os.environ.clear

2008-06-27 Thread Joe P. Cool
? (Observed in Python 2.5.2) -- Joe -- http://mail.python.org/mailman/listinfo/python-list

Re: surprising behaviour of os.environ.clear

2008-06-28 Thread Joe P. Cool
On 28 Jun., 08:54, [EMAIL PROTECTED] wrote: > For one thing, the expression 'os.environ.keys' will yield a method > object (not a list, as you're probably expecting), but iterating over > a method as you did should produce an exception. If you want to get > the list of environment vars, you have to

Re: surprising behaviour of os.environ.clear

2008-06-28 Thread Joe P. Cool
On 28 Jun., 04:05, Benjamin <[EMAIL PROTECTED]> wrote: > On Jun 27, 4:05 pm, "Joe P. Cool" <[EMAIL PROTECTED]> wrote: > This is because of how os.environ is implement with a UserDict > subclass. You should report this at bugs.python.org. issue 3227: os.envir

Re: surprising behaviour of os.environ.clear

2008-06-28 Thread Joe P. Cool
On 28 Jun., 23:06, "Joe P. Cool" <[EMAIL PROTECTED]> wrote: > On 28 Jun., 04:05, Benjamin <[EMAIL PROTECTED]> wrote: > > > On Jun 27, 4:05 pm, "Joe P. Cool" <[EMAIL PROTECTED]> wrote: > > This is because of how os.environ is implement

multi-platform browser embedding

2008-07-05 Thread Joe P. Cool
nload binaries for Windows :) but I don't mind building from source as long as I can use MinGW/Msys and avoid an incalculable odyssey through cryptic compiler errors and makefile surgery. Thanks in advance for your hints. -- Joe -- http://mail.python.org/mailman/listinfo/python-list

Gecko 1.9

2008-04-15 Thread Joe P. Cool
In 2005 I heard of plans to add Python as a second language to the Gecko engine. Is this still true? Or has this plan been abandoned? -- http://mail.python.org/mailman/listinfo/python-list

Re: How is GUI programming in Python?

2008-04-15 Thread Joe P. Cool
On 12 Apr., 03:34, baalbek <[EMAIL PROTECTED]> wrote: > Delphi/Object Pascal simply sucks big time! I disagree. Delphi/Object Pascal with the VCL (Visual Component Library) is one of the most sophisticated IDEs ever, even better than Qt IMO. The only drawback is that it is Windows only. > No rea

Python GUIs and custom controls

2008-05-08 Thread Joe P. Cool
So far I have a little experience with Tkinter and wxPython. I wonder which of the numerous Python GUI kits would be the best choice for a multi platform application that makes heavy use of custom controls, 3D views and the like? Thanks in advance for your hints and advice. Joe -- http

Installing pySerial

2008-09-18 Thread Joe G (Home)
ython25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages'] >>> It seems that C:\Python25\Lib\site-packages\serial needs to be added to the PYTHONPATH QUESTION = Q1. How do I add C:\Python25\Lib\site-packages\serial to th

Re: Installing pySerial

2008-09-19 Thread Joe G (Home)
Yep up and running now. Many thanks Joe -- http://mail.python.org/mailman/listinfo/python-list

idle 2.x and unicode literals

2010-04-02 Thread Joe P. Cool
call last): File "", line 1, in ord(u'é') TypeError: ord() expected a character, but string of length 2 found Is this a bug? IDLE 3.1.1 works. Cheers, Joe -- http://mail.python.org/mailman/listinfo/python-list

Fwd: Python 3..9.0

2020-10-09 Thread Joe via Python-list
Hi, I just downloaded the above for Windows but am unable to get it to run.  I have gone to the directory and double-clicked the "python.exe" file but that just brings me to the command prompt. Any suggestions as to what I am doing wrong? Thank you. Joe -- https://mail.python.o

<    1   2   3   4   5   6