On Jan 10, 6:38 am, Oleg Broytmann <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I'm pleased to announce the 0.9.3 release of SQLObject.
>
> What is SQLObject
> =
>
> SQLObject is an object-relational mapper. Your database tables are described
> as classes, and rows are instances of thos
On Jan 10, 10:13 am, kj <[EMAIL PROTECTED]> wrote:
> I'm looking for "example implementations" of small projects in
> Python, similar to the ones given at the end of most chapters of
> The Perl Cookbook (2nd edition, isbn: 0596003137). (Unfortunately,
> the otherwise excellent Python Cookbook (2nd
On Jan 9, 3:22 pm, Stef Mientki <[EMAIL PROTECTED]> wrote:
> hello,
>
> I'm trying to convert the links in html pages to absolute links,
> these pages can either be webpages or files on local harddisk (winXP).
> Now I've struggling for a while, and this code works a lilttle:
>
> i = line.find
On Jan 8, 3:31 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]>
wrote:
> > Basically, I have created a program using tkinter without using any class
> > structure, simply creating widgets and functions (and finding ways around
> > passing variables from function to function, using global variables etc).
On Jan 8, 1:57 pm, "Martin P. Hellwig" <[EMAIL PROTECTED]> wrote:
> Torsten Bronger wrote:
> > Hallöchen!
>
> > [EMAIL PROTECTED] writes:
>
> >> I am all about using the right tool for the right purposes, [...]
>
> > Which purpose?
>
> >> I dug up one article from Google that talked about compariso
On Jan 7, 6:42 pm, Michael Chesterton <[EMAIL PROTECTED]> wrote:
> I'm trying to get a program that uses M2Crypto ThreadingSSLServer to
> run in windows as a service. I have a few problem, it doesn't listen
> on its port and I don't know how to debug it.
>
> I used the pipeservice example as a fram
On Jan 7, 12:30 pm, Baz Walter <[EMAIL PROTECTED]> wrote:
> Hello
>
> I remember reading somewhere (probably this list) that python may cache the
> module that starts a program (e.g. 'main.py'). I'm asking because I have found
> that this can sometimes cause problems when making small edits to the
On Jan 6, 7:48 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> tarun wrote:
> > Can anyone help me with a simple code through which the main thread can
> > kill the worker thread it started.
>
> it cannot. threads cannot be killed from the "outside".
>
>
The only way to "kill" a thread is to have
On Jan 4, 3:06 pm, apatheticagnostic <[EMAIL PROTECTED]>
wrote:
> On Jan 2, 11:31 am, [EMAIL PROTECTED] wrote:
>
>
>
> > On Jan 2, 9:59 am, vbgunz <[EMAIL PROTECTED]> wrote:
>
> > > I spent some time working on a skill resume, the kind of resume
> > > college students put together and realized, I a
On Jan 4, 3:06 pm, apatheticagnostic <[EMAIL PROTECTED]>
wrote:
> On Jan 2, 11:31 am, [EMAIL PROTECTED] wrote:
>
>
>
> > On Jan 2, 9:59 am, vbgunz <[EMAIL PROTECTED]> wrote:
>
> > > I spent some time working on a skill resume, the kind of resume
> > > college students put together and realized, I a
On Jan 4, 2:06 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Jan 5, 3:56 am, [EMAIL PROTECTED] wrote:
>
> > Hi,
>
> > When Python 2.5 first came out, I eagerly downloaded it and
> > immediately had issues with getting it to run my 2.4 code. So I just
> > stuck to 2.4. However, I decided this week
Hi,
When Python 2.5 first came out, I eagerly downloaded it and
immediately had issues with getting it to run my 2.4 code. So I just
stuck to 2.4. However, I decided this week that I really should try to
get 2.5 to work. Does anyone know why code that works perfectly for
months in a 2.4 environmen
On Jan 4, 3:35 am, Nicola Musatti <[EMAIL PROTECTED]> wrote:
> Hallo, Mike.
> First of all, thanks to both you and Rob for your answers. I now see
> that the wxPython group would have been a better place to post to, all
> the more so given the tight connection between the wxPython and
> wxWidgets p
On Jan 3, 11:49 am, "Martin Marcher" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I know it's not a trivial field but I had some readings about
> artificial intelligence lately and my personal conclusion is that it's
> mostly just statistics.
>
> Naively explained:
>
> continiously gather and store informa
On Jan 3, 8:48 am, Nicola Musatti <[EMAIL PROTECTED]> wrote:
> Hallo,
> First of all I apologize for the longish example at the bottom, but
> the biggest source file is automatically generated and I didn't want
> to modify more than strictly necessary. Also, it would be shorter if
> XML wasn't so v
On Jan 3, 11:50 am, Adeola Bannis <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm doing a project using wxPython and pyopengl, and I seem to have a
> problem rendering textures. This is code that worked before my hard
> drive had a meltdown, but not since I re-installed everything.
>
> I've deter
On Jan 2, 9:59 am, vbgunz <[EMAIL PROTECTED]> wrote:
> I spent some time working on a skill resume, the kind of resume
> college students put together and realized, I am not in college and
> everything I learned was self-taught. Of course I would like some real
> world achievements but don't consid
On Jan 2, 6:39 am, "Geon." <[EMAIL PROTECTED]> wrote:
> hi.. i want get playtime of movie files ( avi , mpeg , wav , mov
> etc... )
>
> how to get ??
>
> please help me ..
Take a look at PyMedia: http://pymedia.org/
Mike
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 2, 6:55 am, SMALLp <[EMAIL PROTECTED]> wrote:
> How to?
>
> I couldn't find anything except EVT_ENTER_WINDOW that didn't work.
I use wx.EVT_MOTION, which you would have found had you googled for
"wxpython mouse events". The first result is:
http://www.wxpython.org/docs/api/wx.MouseEvent-cl
On Jan 2, 5:24 am, [EMAIL PROTECTED] wrote:
> Hello,
>
> Here is sample of my simple script with wxpython and modules:
> subprocess,threading, directpython...
>
> Code sample:
>
> import wx
> import wx.aui
> app=wx.App()
> frame=wx.Frame(None,title="New project")
>
> #There is also part with wx
On Dec 28, 12:01 pm, Donn Ingle <[EMAIL PROTECTED]> wrote:
> Hi,
> A soon-to-be happy new year to everyone!
>
> I'm 100% new to this i18n lark and my approach so far has been to create
> a .mo file per module in my app.
> My thinking was, why load one huge .mo file when a single module only needs
On Dec 28, 1:32 pm, stanleyxu <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On Dec 28, 12:57 pm, stanleyxu <[EMAIL PROTECTED]> wrote:
> >> To note this problem occurs when debugging script in IDLE editor.
> >> When I double click on my_script.py, all outputs will be printed in one
> >>
On Dec 28, 12:57 pm, stanleyxu <[EMAIL PROTECTED]> wrote:
> To note this problem occurs when debugging script in IDLE editor.
> When I double click on my_script.py, all outputs will be printed in one
> console.
>
> --
> ___
>oo // \\
> (_,\/ \_/ \ Xu, Qian
> \ \_/_\_/> s
On Dec 27, 5:38 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > Is there some way to get a list of "impure" Python modules/extensions
> > from PyPI?
>
> Not easily. To create a full list, you will have to download all
> packages, and check their respective setup.py files for occurrences
> of E
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 instructions on how to create Windows
installers from impure modules and am having a hard time finding them.
Thanks!
Mike
--
On Dec 27, 1:44 pm, "Riccardo T." <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] ha scritto:
>
> > Looks cool, but you might find these interesting too:
>
> >http://www.limsi.fr/Individu/pointal/python/pqrc/
> >http://mail.python.org/pipermail/python-list/2006-June/386662.html
>
> > Mike
>
> Thanks
On Dec 27, 11:38 am, "Riccardo T." <[EMAIL PROTECTED]> 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 tell me what do you think about, please?
>
> http://greyfo
On Dec 27, 10:59 am, SMALLp <[EMAIL PROTECTED]> wrote:
> Hy!
> I'm not able to tu bind mouse click event. Code:
>
> class MouseClass(wx.Panel):
> def __init__(self, parent, id):
>
> wx.Panel.__init__(self, parent, id, size=(500, 300))
> self.SetBackgroundColo
On Dec 26, 1:03 pm, "Russell Blau" <[EMAIL PROTECTED]> wrote:
> I have some Tkinter programs that I run on two different machines. On
> Machine W, which runs Python 2.5.1 on Windows XP, these programs run fine.
> On Machine H, which runs Python 2.5.1 on Windows XP, however, the same
> programs cra
On Dec 25, 4:31 am, [EMAIL PROTECTED] wrote:
> Hi everyone,
>
> I'm a beginning-to-intermediate Python programmer with some experience
> in other languages. At the moment I am trying to write a Python
> program that will run in the background and execute a series of
> commands whenever I switch bet
On Dec 24, 1:01 pm, jmgmail <[EMAIL PROTECTED]> wrote:
> I have a working VBScript and failed to convert it to Python. Can
> someone help?
>
> ==VBScript:==
> Set locator = CreateObject("WbemScripting.SWbemLocator")
> Set Services = locator.ConnectServer("smsroot1","root/SMS/site_A")
> Set instColl
On Dec 22, 7:31 am, oyster <[EMAIL PROTECTED]> wrote:
> For the word "Pure", I mean it is not a C/C++/Z++.. extension, so that
> we can use it under pythons of different version. Is it possible?
> I don't like to update the module for different python and the module
>
> Currently, I am writing the
On Dec 21, 1:44 pm, SMALLp <[EMAIL PROTECTED]> wrote:
> Carsten Haese wrote:
> > On Fri, 2007-12-21 at 18:06 +0100, SMALLp wrote:
> sql ="INSERT INTO "+dataTable+" (user_name, file_name,
> file_size,
> file_path_local, file_path_FTP, curent_location, FTP_valid_time,
On Dec 21, 1:45 pm, [EMAIL PROTECTED] wrote:
> I'm pretty new to Python and I've been searching all over the place
> to
> find a solution for this.
> I have a html page with some javascript in it and I need to load this
> page in my own window (which I will create using PythonWin). The
> reason for
On Dec 21, 12:44 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm in a big trouble since I don't know how to find some memory leaks
> I just discovered in a program of mine.
> By putting:
>
> import gc
> gc.set_debug(gc.DEBUG_LEAK)
>
> ..at the end of a script which imports a module I
> Traceback (most recent call last):
>File "/home/pofuk/MzMFIleShare/sharePanel.py", line 130, in share
> self.scanDirsAndFiles(dirPath)
>File "/home/pofuk/MzMFIleShare/sharePanel.py", line 158, in
> scanDirsAndFiles
> sql.insertData.insert("files", data)
> TypeError: unbound met
On Dec 21, 9:11 am, SMALLp <[EMAIL PROTECTED]> wrote:
> Hy! I have error something like this
>
> TypeError: unbound method insert() must be called with insertData
> instance as first argument (got str instance instead)
>
> CODE:
>
> File1.py
> sql.insertData.insert("files", data)
>
> sql.py
>
> cla
On Dec 14, 8:24 pm, bill ramsay <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have successfully connected to SQL2000 and MSDEE databases in the
> past, however I have to move to SQL2005 and SQLEXPRESS databases now.
>
> I've tried the following but with no luck [this is what i used in the
> earlier incarn
On Dec 14, 8:24 pm, bill ramsay <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have successfully connected to SQL2000 and MSDEE databases in the
> past, however I have to move to SQL2005 and SQLEXPRESS databases now.
>
> I've tried the following but with no luck [this is what i used in the
> earlier incarn
On Dec 20, 9:57 am, [EMAIL PROTECTED] wrote:
> On Dec 20, 6:35 am, Benoit <[EMAIL PROTECTED]> wrote:
>
> > I understand that the Win32 has been said to be itself poorly
> > documented, so perhaps that the documentation that comes with the
> > modules is of similar quality is no coincidence. Maybe
On Dec 19, 1:41 pm, "PaulS" <[EMAIL PROTECTED]> wrote:
> Connecting to a Linux server from XP pc using a telnet program, I run a
> report and convert it to a pdf document(using Reportlab) which I need to
> display. The pdf is on the Linux server. Ideas how to display to the pc
> would be appreciat
On Dec 19, 5:26 am, Emmanuel <[EMAIL PROTECTED]> wrote:
> I recently upgraded wxpython (and python) on XP using wxPython2.8-
> win32-unicode-2.8.7.1-py25.exe
>
> Now when I run
>
> from wxPython.wx import *
>
> It crashes :
>
> -> import _wx
> ...
>
> from _misc import *
>
> ...
>
> --> 456 wxDate
On Dec 15, 6:46 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Fri, 14 Dec 2007 16:38:28 -0800 (PST), [EMAIL PROTECTED] declaimed
> the following in comp.lang.python:
>
> > The executable runs, but no argument appears to get passed into it. Of
> > course, I don't really know that for sure as
On Dec 15, 2:14 pm, SMALLp <[EMAIL PROTECTED]> wrote:
> Hy. I need help. I'm using BoxSizer and i put TextCtrl and StaticText
> next to each other and they gor alligned by top of TextCtrl and it looks
> terrible. How can i make thm to be alligned by center of each controll.
>
> Thna
On Dec 14, 8:06 pm, John Machin <[EMAIL PROTECTED]> wrote:
>
> > The executable runs,
>
> how do you know it runs?
>
because the program's GUI appears on-screen.
> > but no argument appears to get passed into it.
>
> appears??
>
Since the TO field doesn't get populated with the email addres
On Dec 14, 4:51 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Dec 15, 9:01 am, [EMAIL PROTECTED] wrote:
>
> > I have created what amounts to a simple GUI email sending program
> > using Python + wxPython. I have modified the mailto registration in
> > the Windows Registry so that it launches the
On Dec 14, 3:44 pm, SMALLp <[EMAIL PROTECTED]> wrote:
> Hy!
> I'm new in Linux, and i feel little less newer in python.
>
> I need advice and help. I'm making an application witch purpose is
> irrelevant. It has a lot of code for now and I've only made interface.
> So I've tried to split code into
On Dec 14, 3:51 pm, kramer31 <[EMAIL PROTECTED]> wrote:
> Hi. First, I'm not sure if this is the correct group, but becuase I
> couldn't find a jython newsgroup, I'll post here.
If you go to the main jython site at www.jython.com, you will notice a
link on the left under the "Community" header t
I have created what amounts to a simple GUI email sending program
using Python + wxPython. I have modified the mailto registration in
the Windows Registry so that it launches the script when someone
clicks on someone's email link in a web page.
While this works great if I create a convoluted path
On Dec 13, 11:46 am, "[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 and
> distribute it with innosetup.. befor that i would like to add some GUI
> support.
On Dec 13, 12:12 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Wed, 12 Dec 2007 16:02:35 -0800 (PST), [EMAIL PROTECTED] declaimed
> the following in comp.lang.python:
>
>
>
> > Thanks Duncan and John! That makes sense. But why does the official
> > Python docs show an example that seems to
On Dec 13, 1:54 am, Tim Roberts <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> >I'll have to refactor my code somewhat to force it to use the '-MM-
> >DD' format.
>
> Another possible solution is to use a real database.
I am using a "real" database: MS SQL Server 2000. Unfortunat
On Dec 12, 5:11 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> hello @ all,
>
> subj?
Here's a way to do it in Windows that I found with a quick Google
search:
http://mail.python.org/pipermail/python-list/2003-May/203675.html
You might also cross-post to the Tkinter user group:
http://mai
On Dec 12, 6:39 pm, Astan Chee <[EMAIL PROTECTED]> wrote:
> Hi,
> Thanks for all the help from the previous problem. Turns out I didnt
> have to use wxSizers, just change the size of my wxWidgets everytime a
> EVT_SIZE is called.
> Anyway, Im trying to find a python module (im not sure if it exists
On Dec 12, 6:39 pm, Astan Chee <[EMAIL PROTECTED]> wrote:
> Hi,
> Thanks for all the help from the previous problem. Turns out I didnt
> have to use wxSizers, just change the size of my wxWidgets everytime a
> EVT_SIZE is called.
> Anyway, Im trying to find a python module (im not sure if it exists
On Dec 12, 2:53 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Dec 13, 7:22 am, [EMAIL PROTECTED] wrote:
>
>
>
> > Hi,
>
> > I am trying to use sqlite to create a local database for an
> > application I am writing and I am getting some screwy results from it.
> > Basically, I have a set of values
Hi,
I am trying to use sqlite to create a local database for an
application I am writing and I am getting some screwy results from it.
Basically, I have a set of values in the database and I am trying to
select a date range and sum those values.
My problem is that it only sums up every other date
On Dec 11, 5:42 am, "Connolly" <[EMAIL PROTECTED]> wrote:
> Hey there, new Python user here.
>
> Currently, I'm working on a project in Python for my college work, I chose
> to use Python since I heard of its great advantages, now for designing GUI's
> I'm using the wxPython package.
> What I'm try
On Dec 12, 12:09 am, [EMAIL PROTECTED] wrote:
> I've been searching for a way to load an icon from an executable into
> something that I can eventually display either through pygame or
> pygtk. I've tried the stuff found
> athttp://groups.google.com/group/comp.lang.python/browse_thread/thread/...
On Dec 10, 6:17 am, Tim Chase <[EMAIL PROTECTED]> wrote:
> > So, are there any ways to make it "harder" to reverse engineer a
> > program?
>
> In addition to the standby of
>
> -Don't distribute your program (SaaS)
>
> I'll add to the list:
>
> -Only distribute your program to people too non-techni
On Dec 8, 3:24 pm, Samuel <[EMAIL PROTECTED]> wrote:
> On Sat, 08 Dec 2007 13:06:15 -0800, Steve Howell wrote:
> > This is what I came up with:
>
> >http://pylonshq.com/pastetags/form_remote_tag
>
> I see that Pylons uses a standard templating systems with all the JS
> renderers hooked into it as s
On Nov 30, 7:55 am, Donn Ingle <[EMAIL PROTECTED]> wrote:
> Hi,
> Okay, so I am in the mood to try this: Inform the user about what modules
> the app requires in a graphical dialogue that can vary depending on what
> the system already has installed. (It will fail-to output on cli)
>
> I am runnin
On Dec 7, 9:10 am, Tim Golden <[EMAIL PROTECTED]> wrote:
> Spindle wrote:
> > I checked the key,and it was found under HKEY_CLASSES_ROOT.And as i
> > mentioned before,
> > the problem happens only with eclipse and pydev,on the same machine i
> > can run the script from command line or with IDLE wit
On Dec 6, 2:37 pm, Rick Muller <[EMAIL PROTECTED]> wrote:
> On Dec 5, 7:20 am, [EMAIL PROTECTED] wrote:
>
>
>
> > I recommend asking the distutils guys at their list:
>
> >http://mail.python.org/mailman/listinfo/distutils-sig
>
> > Mike
>
> I did, and no one replied there either. Probably because e
On Dec 5, 10:37 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> > > On Dec 5, 6:00 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> > > > I'm trying to integrate the timeout function from
> > > herehttp://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/47
> > > 3878into a
> > > > long running autom
On Dec 5, 3:19 pm, Kadin2048 <[EMAIL PROTECTED]> wrote:
> This is a very noob-ish question so I apologize in advance, but I'm
> hoping to get some input and advice before I get too over my head.
>
> I'm trying to convert some log files from a formfeed- and
> linefeed-delimited form into XML. I'd b
On Dec 4, 1:01 pm, Tommy Grav <[EMAIL PROTECTED]> wrote:
> I am trying to install PyObjC 1.4 on my Mac OS X 10.4.11.
>
> I run:
>
> [EMAIL PROTECTED] Temporary/pyobjc-1.4 --> python setup.py bdist_mpkg --
> open
> ** using pyobjc source-deps py2app for building
> running bdist_mpkg
> installing to
On Dec 3, 9:44 am, Rick Muller <[EMAIL PROTECTED]> wrote:
> I need some distutils help. I currently run a python library
> (PyQuante) that, until recently, had all of its modules in a single
> directory, called "PyQuante". The setup command in my setup.py module
> had a single "packages" line:
>
>
On Dec 5, 6:00 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> I'm trying to integrate the timeout function from
> herehttp://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473878into a
> long running automation script and the following code causes IDLE after
> 20 or 30 iterations in countTest.
On Nov 30, 7:23 am, nmp <[EMAIL PROTECTED]> wrote:
> Hello to all. I am only just learning both Python and PyGTK (with Glade).
> I also need to learn how to use databases in my programs. My preliminary
> research leads me in the direction of SQLAlchemy, which seems to be what
> everybody else is us
On Nov 29, 6:04 am, Dave <[EMAIL PROTECTED]> wrote:
> I need to read microphone input and determine frequency. Is there a lib
> for that?
>
> Thanks,
> Dave
You might take a look at the ossaudiodev module (note: it's #nix
only):
http://docs.python.org/lib/module-ossaudiodev.html
http://docs.pytho
On Nov 28, 7:34 pm, "John Jameson" <[EMAIL PROTECTED]> wrote:
> hi carl,
>
> I'm totally new with graphics for python. I'm using windows, but you
> make it sound like I need to know how to program with MFC to use them?
> Is this true? Can't you just stay in python?
> best,
> John
>
> I would like l
On Nov 29, 7:14 am, imbunche <[EMAIL PROTECTED]> wrote:
> On Nov 29, 7:56 am, whatazor <[EMAIL PROTECTED]> wrote:
>
> > On 29 Nov, 11:50, whatazor <[EMAIL PROTECTED]> wrote:
>
> > > Hi all,
> > > I migrate some code from tkinter to wxpython. I need the equivalent
> > > Tkinter method Tkinter.Tk.aft
On Nov 27, 9:05 pm, "barcaroller" <[EMAIL PROTECTED]> wrote:
> Can someone kindly recommend some good books on the following:
>
> Python for beginners
> Python for advanced users
>
> Is there a bible like Larry Wall's Programming Perl or Bjarne Stroustrup's
> The C++ Programming Language?
On Nov 28, 1:59 pm, Nikola Skoric <[EMAIL PROTECTED]> wrote:
> Dana Mon, 26 Nov 2007 08:50:23 -0800 (PST),
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> kaze:
>
> > Sorry I didn't reply sooner. If you're creating a service based on a
> > Python file, check out the following links in addition to the book
On Nov 28, 1:06 pm, SMALLp <[EMAIL PROTECTED]> wrote:
> Hy. I'm new in linux (Ubuntu 7.10) as well as in python. I installed
> IDLE, and i installed package python-wxgtkX. I start IDLE and when i
> want co compile my aplication all windows close. Also when i vrite
> smoethin lik thile in IDLE:
>
>
On Nov 28, 10:04 am, black_13 <[EMAIL PROTECTED]> wrote:
> I have included a small script the reproduces the error I am having in
> larger script.
> The line 'hkey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,name)'
> seems
> to be causing the error but im not sure why.
> - scri
On Nov 27, 5:08 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Nov 28, 8:45 am, [EMAIL PROTECTED] wrote:
>
>
>
>
>
>
>
> > On Nov 27, 3:35 pm, Martin Landa <[EMAIL PROTECTED]> wrote:
>
> > > Hi all,
>
> > > sorry for a newbie question. I have unicode string (or better say
> > > latin2 encoding) co
On Nov 27, 3:50 pm, [EMAIL PROTECTED] (Aahz) wrote:
> In article <[EMAIL PROTECTED]>,
>
> <[EMAIL PROTECTED]> wrote:
>
> ># untested
> >args = exc.args[0]
> >if args.find('management') != -1:
> >raise
>
> YM
>
> if 'management' in args:
> raise
>
> HTH, HAND ;-)
> --
> Aahz ([EMAIL PROTEC
On Nov 27, 3:35 pm, Martin Landa <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> sorry for a newbie question. I have unicode string (or better say
> latin2 encoding) containing non-ascii characters, e.g.
>
> s = "Ukázka_monosti_vyuití_programu_OpenJUMP_v_SOA"
>
> I would like to convert this string to p
On Nov 27, 7:35 am, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> If you look at this code, you see there are two kind of ImportErrors:
>
> 1. app_name has no attribute or file managment.py: That's OK.
> 2. managment.py exists, but raises an ImportError: That's not OK: reraise
>
> # Import t
On Nov 26, 2:33 pm, "Wang, Harry" <[EMAIL PROTECTED]> wrote:
> Full Traceback enclosed:
>
> Test Suite Started @ 2007-11-26 11:34:46.617000
> Traceback (most recent call last):
> File "C:\UDR2\UDRxmlGateway.py", line 370, in
> ParseAll()
> File "C:\UDR2\UDRxmlGateway.py", line 286, in Pars
On Nov 26, 1:46 pm, "Wang, Harry" <[EMAIL PROTECTED]> wrote:
> The gnosis xml libs should not be version specific, but when I try to use
> Python 2.5, I am getting "not well formed (invalid token)" errors.
>
> Harry
When does this happen? When you import the module? When you pass it
some xml? Do
On Nov 26, 12:27 pm, bhunter <[EMAIL PROTECTED]> wrote:
> > I've read that this sort of thing can be a pain. I'm sure someone will
> > post and have other views though. I have had some success using
> > Python's threading module though. There's a pretty good walkthrough
> > here (it uses wxPython i
On Nov 26, 10:54 am, bhunter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've used subprocess with 2.4 several times to execute a process, wait
> for it to finish, and then look at its output. Now I want to spawn
> the process separately, later check to see if it's finished, and if it
> is look at its ou
On Nov 25, 5:11 pm, Nikola Skoric <[EMAIL PROTECTED]> wrote:
> Dana Sun, 25 Nov 2007 13:52:35 -0800 (PST),
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> kaze:
>
> > Looks like Microsoft thinks you mis-spelled it.
>
> >http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/w...
>
> > I would
On Nov 23, 7:57 am, "jatin patni" <[EMAIL PROTECTED]> wrote:
> Hi, I recently started working on WXGlade...
>
> I found some amount of documentation online
>
> I am having problems integrating event handlers with MenubarsI
> want each menu item to open a new window with custom made
> contro
On Nov 25, 2:40 pm, Nikola Skoric <[EMAIL PROTECTED]> wrote:
> I have a very simple win32serviceutil script:
> import win32serviceutil, time
>
> win32serviceutil.StartService("burek", "localhost")
>
> time.sleep(10)
>
> exit()
>
> It successfuly imports win32serviceutil, and chokes on StartService:
On Nov 24, 2:20 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Nov 24, 2:11 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > On Nov 24, 11:46 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > Hello all,
>
> > > I would like to write a script in Python to email me when disk space
> > > g
On Nov 23, 12:48 pm, Steve S <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I'm stuck with using a GridBagSizer (wxPython) in a GUI Dialog and am having
> a frustrating time with refreshing it properly.
>
> Essentially, I've got to refresh the contents of the GridBagSizer on
> occasion with new values.
On Nov 24, 11:46 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hello all,
>
> I would like to write a script in Python to email me when disk space
> gets below a certain value.
>
> My first question (I'm sure of many) is how do get this output into a
> dictionary or list to index the values?
On Nov 22, 7:36 pm, "Nathan McSween" <[EMAIL PROTECTED]> wrote:
> Hi I would like to learn python I have background in php, pawn, bash. I was
> wondering if anyone would like to show me the ropes or even just throw me
> some code that needs work and seeing what I come up with. Twisted python
> seem
On Nov 23, 12:05 am, ebzzry <[EMAIL PROTECTED]> wrote:
> I'm trying to run an application and I got this:
>
> % meld
> Traceback (most recent call last):
> File "/usr/local/bin/meld", line 73, in
> pygtk.require("2.0")
> File "/usr/local/lib/python2.5/site-packages/pygtk.py", line 47, in
>
On Nov 20, 3:25 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am an unabashed noob.
>
> I am trying to build a list to store values that are generated through
> a loop. However, every time I append the variable to the list, I'd
> like to reset the variable, but have the value persist in the loop. I
>
On Nov 20, 3:02 pm, [EMAIL PROTECTED] wrote:
> I have a code that writes to 2 seperate files. I keep getting a "list
> index out of range" error. The strange part is that when checking the
> files that I'm writing too, the script has already iterated through
> and finished writing, yet the error
On Nov 19, 8:13 pm, Davy <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have written a simple Tkinter program, that is draw a rectangle in a
> canvas, when I press Up key, the rectangle move up. But the program
> seems work not properly? My environment is Python2.5+PythonWin.
>
> ##
On Nov 19, 9:57 am, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> On Nov 19, 2007 8:52 AM, <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Nov 17, 7:46 am, Brian <[EMAIL PROTECTED]> wrote:
> > > Had a unsettling conversation with a CS instructor that
> > > teaches at local high schools and the community
On Nov 18, 12:17 am, John Salerno <[EMAIL PROTECTED]> wrote:
> Anyone know anything about this book? I've read a few intro Python books
> already, but I'm always interested in reading more to reinforce the
> language. No reviews on Amazon yet so I'm not sure if it's good or not.
>
> Thanks.
It's a
On Nov 17, 7:46 am, 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 claims that the install, config, and
> library models for C# hav
On Nov 16, 2:51 pm, barronmo <[EMAIL PROTECTED]> wrote:
> I'm new to programming and new to Python; namespace issues are getting
> the best of me. Can someone help me with the following:
>
> import wx
> import sys
> sys.path.append('~/PyPrograms/EMRGUI')
> import Selectable
>
> class MyApp(wx.App)
1 - 100 of 708 matches
Mail list logo