Re: generating a tree-like structure

2007-05-31 Thread kyosohma
On May 31, 12:44 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > Hi, > > This is a fairly general question: is there some kind of module or > framework that allows building a tree like structure from certain kind > of data? > > To be specific: I have a program that dumps the content of a LDAP > dir

MoinMoin configuration

2007-06-03 Thread kyosohma
Hi, I am working on a new site about Python to help document some of the modules that don't have much for documentation. Anyway, I chose to use MoinMoin because it has very easy-to-use code display with line numbers that toggle on and off. The question I have is how do I configure MoinMoin to for

Re: excel library without COM

2007-06-03 Thread kyosohma
On Jun 3, 7:59 pm, james_027 <[EMAIL PROTECTED]> wrote: > Hi, > > is there any library to help me write excel files without using win > com? because i'll be working on linux platform. At the same time I > could want to perform some formatting, merging of cells. adding sheets > and etc ... > > Thank

Re: Using pyTTS with other languages.

2007-06-04 Thread kyosohma
On Jun 4, 8:17 am, simon kagwe <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to create a TTS program for a local (Kenyan) language. I have > installed pyTTS on my computer and it works perfectly with English sentences. > However, my language is very different from English (sylabbles, pronouncia

Re: Who uses Python?

2007-06-04 Thread kyosohma
On Jun 4, 2:37 pm, walterbyrd <[EMAIL PROTECTED]> wrote: > I mean other than sysadmins, programmers, and web-site developers? > > I have heard of some DBAs who use a lot of python. > > I suppose some scientists. I think python is used in bioinformatics. I > think some math and physics people use py

Re: get_traceback

2007-06-04 Thread kyosohma
On Jun 4, 12:23 pm, [EMAIL PROTECTED] wrote: > Hi, > > Is there a function or idoim for returning an exception/traceback > rather than just printing it to stdout? I'm running a deamon where > stdout is going to /dev/null, and I'm not even watching it..until > now. All the functions I found in tra

Re: wxPython splitwindow with interpreter on bottom

2007-06-04 Thread kyosohma
On Jun 4, 9:57 am, chewie54 <[EMAIL PROTECTED]> wrote: > Hi all, > > Does anyone know of an example of wxPython source code that shows how > to put a python shell (interpreter) in a bottom window with a > graphical application in the top window? > > Thanks, There's the pyCrust/pyShell examples in

Re: Beginning Python

2007-06-05 Thread kyosohma
On Jun 5, 9:29 am, abhiee <[EMAIL PROTECTED]> wrote: > Hello , I have just begun learning python...and I'm loving it...Just > wanted to ask you that how much time would it take me to learn python > completely and which languages should i learn alongwith python to be a > good professional programmer

Re: generating a wm5 executable

2007-06-06 Thread kyosohma
On Jun 6, 1:19 pm, Marco <[EMAIL PROTECTED]> wrote: > Hi, > I'm quite a newbee on Python and have started developing apps on > PythonCE. > > My .pyc files are running fine under windows mobile 5 but I'm a bit > stuck on how to generate single file executable packages under such > platform, nor I've

Re: Tkinter - Force toplevel window to stay on top of Tk() window

2007-06-08 Thread kyosohma
On Jun 8, 11:48 am, [EMAIL PROTECTED] wrote: > Hi, > I have a Tk() window "base_win = Tk()" with multiple frames on it > having a combination of widgets. If I click on say a button widget > which launches a new top level window "new_win = TopLevel()", I was > looking for a way for this "new_win" to

Re: Obtaining hte currently running script under windows

2007-06-08 Thread kyosohma
On Jun 8, 8:45 am, Sean Farrow <[EMAIL PROTECTED]> wrote: > Hi: > Is there any way to obtain the full path to the currently running script > under win32? > I am using the pythonw.exe file is that helps. > Sean. Check out Google! I found the following link by typing "python os cwd" http://aspn.act

Re: Repository - file scanner

2007-06-09 Thread kyosohma
On Jun 8, 2:33 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > Greetings, > > Could someone point my muddled head at a/the python repository. I know > that one exists but cannot find it again. In particular I am looking > for a standalone search tool that given a path searches files for a > text stri

Re: Repository - file scanner

2007-06-09 Thread kyosohma
On Jun 8, 2:33 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > Greetings, > > Could someone point my muddled head at a/the python repository. I know > that one exists but cannot find it again. In particular I am looking > for a standalone search tool that given a path searches files for a > text stri

Re: Needed: FTP Upload Directory Tree script

2007-06-10 Thread kyosohma
On Jun 10, 3:01 am, IanC <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know of a function or script to upload an entire > subdirectory tree from a local file space to an FTP server? > > The Python distribution comes with "ftpmirror.py", which performs > a mirror download of a directory tree, but

Re: Repository - file scanner

2007-06-10 Thread kyosohma
On Jun 9, 12:38 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sat, 09 Jun 2007 12:30:49 -0300, <[EMAIL PROTECTED]> escribió: > > > On Jun 8, 2:33 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > >> Could someone point my muddled head at a/the python repository. I know > >> that one exists bu

Re: Pasting an image from clipboard in Tkinter?

2007-06-11 Thread kyosohma
On Jun 11, 7:23 am, "exhuma.twn" <[EMAIL PROTECTED]> wrote: > As many might know, windows allows to copy an image into the clipboard > by pressing the "Print Screen" button on the keyboard. Is it possible > to paste such an image from the clipboard into a "Text" widget in > Tkinter? Here is my firs

Re: Python Help!!!

2007-06-11 Thread kyosohma
On Jun 11, 3:39 am, Elfine Peterson Tjio <[EMAIL PROTECTED]> wrote: > I'm trying to make a program that reads Fasta file and print it out. I used > the SeqIO module and the results is: > > 'ATGGTCATSingleAlphabet()' > > For this purpose, should I use SeqIO or Fasta? > > for example: > > from B

Re: wx.grid 2.6.1.0 events

2007-06-11 Thread kyosohma
On Jun 11, 9:04 am, DarkBlue <[EMAIL PROTECTED]> wrote: > Hello > > pythoncard > wx 2.6.1 > python 2.4.x > kinterbasdb > firebird > > I have a wx.grid filled with data from a database > one of the fields is a blob field with text data, which > I want to display in some adjacent text control when I

Re: Pasting an image from clipboard in Tkinter?

2007-06-11 Thread kyosohma
On Jun 11, 9:07 am, "exhuma.twn" <[EMAIL PROTECTED]> wrote: > On Jun 11, 3:47 pm, [EMAIL PROTECTED] wrote: > > > > > On Jun 11, 7:23 am, "exhuma.twn" <[EMAIL PROTECTED]> wrote: > > > > As many might know, windows allows to copy an image into the clipboard > > > by pressing the "Print Screen" button

Re: with as a reserved word

2007-06-11 Thread kyosohma
On Jun 11, 10:03 am, BBands <[EMAIL PROTECTED]> wrote: > I gather that 'with' is on its way to becoming a reserved word. Is > this something that will break? > > import Gnuplot > gp = Gnuplot.Gnuplot(debug=1) > data = Gnuplot.Data([1,2,3,4,3,2,3,4,3,2,1], with='linespoints') > gp.plot(data) > > >>>

Re: Accessing global namespace from module

2007-06-11 Thread kyosohma
On Jun 11, 11:02 am, reubendb <[EMAIL PROTECTED]> wrote: > Hello, > I am new to Python. I have the following question / problem. > I have a visualization software with command-line interface (CLI), > which essentially is a Python (v. 2.5) interpreter with functions > added to the global namespace.

Re: Excel file interface for Python 2.3?

2007-06-12 Thread kyosohma
On Jun 12, 8:01 am, "Hamilton, William " <[EMAIL PROTECTED]> wrote: > I'm in need of a module that will let me create Excel workbooks from within > Python. Something like PyExcelerator, but it needs to work with Python 2.3. > (A third-party limitation that I have no control over.) Can anyone poin

Re: Excel file interface for Python 2.3?

2007-06-12 Thread kyosohma
On Jun 12, 8:38 am, [EMAIL PROTECTED] wrote: > On Jun 12, 8:01 am, "Hamilton, William " <[EMAIL PROTECTED]> wrote: > > > I'm in need of a module that will let me create Excel workbooks from within > > Python. Something like PyExcelerator, but it needs to work with Python 2.3. > > (A third-party li

Re: file open default location

2007-06-12 Thread kyosohma
On Jun 12, 8:42 am, "T. Crane" <[EMAIL PROTECTED]> wrote: > Hi, > > How is the default path chosen in this instance: > > myFile = file('test.txt','w') > > Here I'm opening/creating a file but I have not specified the exact path, so > how does Python determine where to 'put' this file? More to the

Re: Convert String to Int and Arithmetic

2007-06-12 Thread kyosohma
On Jun 12, 9:32 am, tereglow <[EMAIL PROTECTED]> wrote: > Hello, > > I am a complete newbie to Python and am accustomed to coding in PHP/ > Perl/Shell. I am trying to do the following: > > I have a string: > > cpuSpeed = 'Speed: 10' > > What I would like to do is extract the '10' f

Re: file open default location

2007-06-12 Thread kyosohma
On Jun 12, 9:09 am, "Richard Brodie" <[EMAIL PROTECTED]> wrote: > "T. Crane" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > As an aside, I forgot to mention above that I'm using Windows XP. Any > > other ideas or > > possible reasons that it would not choose my script locat

Re: Forgetting an import

2007-06-12 Thread kyosohma
On Jun 12, 11:36 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > I imported a set of functions from a file I wrote to interpreter > shell: > > from myFile import * > > Now if I change functions in this file how can I make python forget it > so I can force a fresh import? > > thanx, > > jh If you did

Re: a question about unicode in python

2007-06-12 Thread kyosohma
On Jun 12, 12:29 pm, "Evan Klitzke" <[EMAIL PROTECTED]> wrote: > On 6/12/07, hzqij <[EMAIL PROTECTED]> wrote: > > > i have a python source code test.py > > > # -*- coding: UTF-8 -*- > > As Marc pointed out, you should test the actual file encoding of the > program to check that it is, in fact, UTF-

Re: Questions about mathematical and statistical functionality in Python

2007-06-14 Thread kyosohma
On Jun 14, 4:02 pm, "Talbot Katz" <[EMAIL PROTECTED]> wrote: > Greetings Pythoners! > > I hope you'll indulge an ignorant outsider. I work at a financial software > firm, and the tool I currently use for my research is R, a software > environment for statistical computing and graphics. R is desig

Re: Custom wxPython Widget

2007-06-18 Thread kyosohma
On Jun 15, 10:24 pm, Jens Thiede <[EMAIL PROTECTED]> wrote: > What is the best source code to read? Any tips; suggestions? > > Thanks in advance > Jens Thiede I would recommend reading the wxPython demo source code. Also, this website has some custom widgets written in "pure wxPython", some of whi

Controlling Firefox with Python

2007-06-19 Thread kyosohma
Hi, I would like to be able to control Firefox through Python. I see there's pyWinAuto, which might work if they had good documentation. I've also messed with win32 modules, but I don't think Firefox will work with those too nicely since it isn't a COM-based program. I've also found some Python F

Re: wxpython: Redirect the stdout to a textctrl

2007-06-19 Thread kyosohma
On Jun 19, 3:16 pm, Alejandro <[EMAIL PROTECTED]> wrote: > Hi: > > I want to redirect stdout to a textctrl I have. From what I read in > the wxpython documentation, I can use the wxLogTextCtrl class to do > this. I am doing the following: > > class MyGui(gui.MyFrame): #gui.MyFrame generated by wxG

Re: Controlling Firefox with Python

2007-06-20 Thread kyosohma
On Jun 19, 4:35 pm, "Méta-MCI" <[EMAIL PROTECTED]> wrote: > Hi! > > See Mozlab: http://dev.hyperstruct.net/mozlab > > and give a report, please. > Thank you in advance. > > Michel Claveau There seems to be some kind of weird bug with the current version of MozLab. When I use telnet on my Windows

Re: wxPython - embed separate script in panel?

2007-06-20 Thread kyosohma
On Jun 19, 7:28 pm, [EMAIL PROTECTED] wrote: > This is a wxPython question.. the wxPython group is pretty much > inactive. > > I have an MDI parent frame and child frame set up. In the child frame, > I want to use part of the frame to display the output from a .py that > is mainly matplotlib (a gra

Re: python website

2007-06-20 Thread kyosohma
On Jun 20, 9:22 am, james_027 <[EMAIL PROTECTED]> wrote: > hi, > > what are you list of favorite python website (news, articles, > tutorials)? > > cheers, > james wxPython.org (and the wxPython wiki) Python.org ActiveState - http://aspn.activestate.com/ASPN/Python/Cookbook/ Charming python series

Re: Controlling Firefox with Python

2007-06-20 Thread kyosohma
On Jun 20, 9:05 am, [EMAIL PROTECTED] wrote: > On Jun 19, 4:35 pm, "Méta-MCI" <[EMAIL PROTECTED]> > wrote: > > > Hi! > > > See Mozlab: http://dev.hyperstruct.net/mozlab > > > and give a report, please. > > Thank you in advance. > > > Michel Claveau > > There seems to be some kind of weird bug with

Re: visual gui ides for python/jythpn

2007-06-20 Thread kyosohma
On Jun 20, 1:16 pm, kromakey <[EMAIL PROTECTED]> wrote: > Hi, > > Are there any free visual GUI IDE's available for python/jython, which > have a drag and drop form designer similar to Visual Studio or > Delphi ? > > Cheers > kromakey I think Boa Contructor and wxGlade do that for the wxPython GUI

Re: wxpython: Redirect the stdout to a textctrl

2007-06-20 Thread kyosohma
On Jun 20, 4:03 pm, Alejandro <[EMAIL PROTECTED]> wrote: > On Jun 19, 5:07 pm, [EMAIL PROTECTED] wrote:> Give this a try: > > > > > [good piece of code] > > > > > It worked like a charm! Thanks. > > I still don't understand why my initial aproach didn't work as > expected. > > Regards, > Alejand

Re: Adding Python to the path in Windows

2007-06-21 Thread kyosohma
On Jun 21, 10:10 am, Duncan Booth <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I have many users using two different versions of python, 2.4 and > > 2.5. I am running Python scripts on their computers programmatically, > > but I can't run it with the full path because they have differ

Re: Adding Python to the path in Windows

2007-06-21 Thread kyosohma
On Jun 21, 10:30 am, [EMAIL PROTECTED] wrote: > On Jun 21, 11:22 am, [EMAIL PROTECTED] wrote: > > > > > If your users aren't programmers, then why not just run Python over > > the network? That's what we do at my place of employment. The only > > machines that have Python actually installed are dev

Re: Adding Python to the path in Windows

2007-06-21 Thread kyosohma
On Jun 21, 10:45 am, [EMAIL PROTECTED] wrote: > On Jun 21, 10:30 am, [EMAIL PROTECTED] wrote: > > > > > On Jun 21, 11:22 am, [EMAIL PROTECTED] wrote: > > > > If your users aren't programmers, then why not just run Python over > > > the network? That's what we do at my place of employment. The only

Re: rsync module?

2007-06-22 Thread kyosohma
On Jun 21, 7:40 pm, "Evan Klitzke" <[EMAIL PROTECTED]> wrote: > Are there any python modules for accessing rsync from python? I would > like to be able to rsync files from a python script to a remote server > running an rsync daemon. I'm well aware that I can invoke rsync using > subprocess, os.sys

Re: WX call a pywx program from a program, and return values

2007-06-24 Thread kyosohma
On Jun 24, 10:02 am, Marcpp <[EMAIL PROTECTED]> wrote: > I need to call a pywx program(1) from an wxpy program(2) and return a > value to program(2). > Any example to do it? Yup. See links below: http://mail.python.org/pipermail/tutor/2005-May/038648.html http://www-pcmdi.llnl.gov/software-portal

Re: Changing sound volume

2007-06-24 Thread kyosohma
On Jun 23, 7:47 am, simon kagwe <[EMAIL PROTECTED]> wrote: > Hi, > > I am playing sounds using the winsound module. Is there a way I can change the > volume? The docs don't mention anything about controlling the volume, so I doubt it's possible with winsound. However, I found this in the archives:

Re: Which XML?

2007-06-24 Thread kyosohma
On Jun 24, 7:04 pm, Bruno Barberi Gnecco <[EMAIL PROTECTED]> wrote: > I've found a lot of XML libraries for Python. Any advices on which > one to use (or *not* to use)? My requirements are: support for XPath, > stability (a must, segfaults are not an option), with DOM API and good > perform

Re: Which XML?

2007-06-25 Thread kyosohma
On Jun 25, 3:47 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On Jun 24, 7:04 pm, Bruno Barberi Gnecco > > <[EMAIL PROTECTED]> wrote: > >> I've found a lot of XML libraries for Python. Any advices on which > >> one to use (or *not* to use)? My requirements are:

Re: Capturing and sending keys {Esperanto}

2007-06-25 Thread kyosohma
On Jun 25, 8:26 am, AJK <[EMAIL PROTECTED]> wrote: > Hello there! > > I've been googleing yet, and suppose it's hopeless to try, but better ask > it... > > I want to write a program which turns Cx to Ĉ, cx to ĉ et al WHILE > TYPING. (i.e. converting Esperanto x-system to real hats, for those > who

Re: Capturing and sending keys {Esperanto}

2007-06-25 Thread kyosohma
On Jun 25, 8:26 am, AJK <[EMAIL PROTECTED]> wrote: > Hello there! > > I've been googleing yet, and suppose it's hopeless to try, but better ask > it... > > I want to write a program which turns Cx to Ĉ, cx to ĉ et al WHILE > TYPING. (i.e. converting Esperanto x-system to real hats, for those > who

Re: How to save initial configuration? (program installation)

2007-06-25 Thread kyosohma
On Jun 25, 10:02 am, Jason Zapman II <[EMAIL PROTECTED]> wrote: > I've written a program. To install this program, I'm going to need to > initialize some stuff for the users environment, specifically the name/ > location of an internal state file. > > Currently, I'm hard coding the location of thi

Re: How to save initial configuration? (program installation)

2007-06-25 Thread kyosohma
On Jun 25, 10:58 am, Jason Zapman II <[EMAIL PROTECTED]> wrote: > On Jun 25, 11:37 am, Steve Holden <[EMAIL PROTECTED]> wrote: > > > The traditional choices are the registry for Windows, and the /etc > > subtree for the various, almost uncountable, flavors of Unix and > > nixalikes. You're right, i

Re: Changing sound volume

2007-06-25 Thread kyosohma
On Jun 25, 7:48 am, simon kagwe <[EMAIL PROTECTED]> wrote: > > And finally a way that might work using ctypes: > > >http://mail.python.org/pipermail/python-win32/2006-March/004436.html > > > Mike > > Hi, > > Thanks for your reply. > > I had already read about the Snack, but I can't use it since my

Re: popen and a long running process in a wx.python application

2007-06-26 Thread kyosohma
On Jun 26, 10:16 am, Doru Moisa <[EMAIL PROTECTED]> wrote: > Hello, > > How can I capture the output of a long runnning process which I open > with popen() ? > I tried reading line by line, char by char, but the result always > comes when the process finishes. > (I am trying to make a wx.python pro

Re: subprocess.Popen() problem

2007-06-26 Thread kyosohma
On Jun 26, 3:38 pm, 7stud <[EMAIL PROTECTED]> wrote: > I have this program: > > mytest.py > -- > myinput = raw_input("Enter input: ") > > if myinput == "hello": > print "goodbye" > -- > > and I want to execute it using subprocess.Popen(). I tried the > following but it

Re: Evolution of a pythonistas!

2007-06-28 Thread kyosohma
On Jun 28, 8:02 am, "Sells, Fred" <[EMAIL PROTECTED]> wrote: > concur 100%. You can breeze through the fist half of the online tutorial in > a about 2 cups of coffee but you don't know what you don't know until you > try to do something real. > > Even with 20 years of working with Python, I find g

Re: noob question How do I run a Python script.

2007-06-28 Thread kyosohma
On Jun 28, 12:17 pm, CarlP <[EMAIL PROTECTED]> wrote: > How do I run a Python script. I have one that gmail loader needs to > run on my email box. Here's the script > > http://www.marklyon.org/gmail/cleanmbox.py > > I can't seem to find what I need to run it. I installed python, run > the interpret

Re: Help Needed in WxPython

2007-06-29 Thread kyosohma
On Jun 29, 7:50 am, Steve Holden <[EMAIL PROTECTED]> wrote: > senthil arasu wrote: > > Hi, > > Currently Iam integrating GUI Framework in Python. > > As per design design,I need to use tab buttons to launch different HTML > > pages in same frame(without launching seperate window ). I have already >

Re: win32event.WaitForInputIdle() returns too soon

2007-06-29 Thread kyosohma
On Jun 29, 3:03 pm, "Hans" <[EMAIL PROTECTED]> wrote: > "Gabriel Genellina" <[EMAIL PROTECTED]> schreef in berichtnews:[EMAIL > PROTECTED] > > > > > En Thu, 28 Jun 2007 19:15:40 -0300, Hans <[EMAIL PROTECTED]> escribió: > > >> I'm sending keyboard and mouse events to a seperate windows application

Python + Google Calendar API issue

2007-06-30 Thread kyosohma
Hi, I was trying to hook into Google Calendar today using their gdata module for Python, but I can't seem to get Python to work with it. When I run the setup.py from the command line, I get the following: Traceback (most recent call last): File "J:\Python\Lib\site-packages\gdata\setup.py", line

Re: Python + Google Calendar API issue

2007-07-01 Thread kyosohma
On Jul 1, 7:15 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > > > Hi, > > > I was trying to hook into Google Calendar today using their gdata > > module for Python, but I can't seem to get Python to work with it. > > When I run the setup.py from the command lin

Re: need help with win32com

2007-07-02 Thread kyosohma
On Jul 2, 11:38 am, Thomas <[EMAIL PROTECTED]> wrote: > I want to be able to access an excel file and extract the code from > the macro that is in the file. How can I do this? > > -- > ~Thomas~ You should be able to use PythonWin and the makepy utility to get handles to the Excel object. See the

Re: what is wrong with that r"\"

2007-07-03 Thread kyosohma
On Jul 3, 7:15 am, alf <[EMAIL PROTECTED]> wrote: > question without words: > > >>> r"\" >File "", line 1 > r"\" > ^ > SyntaxError: EOL while scanning single-quoted string > >>> r"\ " > '\\ ' One slash escapes the following character, so the proper way of writing it is either r

Re: what is wrong with that r"\"

2007-07-03 Thread kyosohma
On Jul 3, 8:25 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Tue, 03 Jul 2007 06:16:43 -0700, [EMAIL PROTECTED] wrote: > >On Jul 3, 7:15 am, alf <[EMAIL PROTECTED]> wrote: > >> question without words: > > >> >>> r"\" > >>File "", line 1 > >> r"\" > >> ^ > >> SyntaxError:

Re: wxPython Cannot convert from the charset 'latin-1'

2007-07-03 Thread kyosohma
On Jul 3, 11:16 am, Helmut Jarausch <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to teach "dugui.py" (a tiny GUI for restructuredtext written in > wxPython) to accept files in isolatin-1 encoding. It displays e.g. German > umlauts correctly but then I get a popup window saying > Python Error >

Restarting a Python Application

2007-07-03 Thread kyosohma
Hi, I packaged up an application I am developing into an executable. In the application, it has user configurable options. I would like a way to restart the application so that the new options the user chooses can be applied. Firefox can restart itself. Does anyone know how to accomplish this in P

Re: How can i change an Object type ?

2007-07-04 Thread kyosohma
On Jul 4, 12:40 am, Tim Roberts <[EMAIL PROTECTED]> wrote: > KuhlmannSascha <[EMAIL PROTECTED]> wrote: > > >i tried now for several hours to read through a win32com API to access > >Itunes and read out myplaylists. > > >First of all the Code: > >... > >The current Logic is to access first Itunes an

Re: Does Python work with QuickBooks SDK?

2007-07-04 Thread kyosohma
On Jul 4, 1:51 pm, walterbyrd <[EMAIL PROTECTED]> wrote: > My guess is that it would, but I can find no mention of python in the > intuit developers site. I can find some references to PHP and Perl, > but no Python. > > I looks to me like Intuit develops have a strong preference for visual- > basi

Re: WXPYTHON push button call a frame

2007-07-05 Thread kyosohma
On Jul 5, 9:04 am, Marcpp <[EMAIL PROTECTED]> wrote: > On 5 jul, 14:51, Steve Holden <[EMAIL PROTECTED]> wrote: > > > > > Marcpp wrote: > > > Hi I need to call a widget from a button in WXPYTHON. I've tried to > > > this from a function like this, but when push the button, the program > > > opens a

Re: Restarting a Python Application

2007-07-06 Thread kyosohma
On Jul 3, 5:00 pm, Matimus <[EMAIL PROTECTED]> wrote: > On Jul 3, 2:27 pm, [EMAIL PROTECTED] wrote: > > > > > Hi, > > > I packaged up an application I am developing into an executable. In > > the application, it has user configurable options. I would like a way > > to restart the application so tha

Re: Tool for finding external dependencies

2007-07-09 Thread kyosohma
On Jul 8, 8:39 pm, Rob Cakebread <[EMAIL PROTECTED]> wrote: > Hi, > > I need to find external dependencies for modules (not Python standard > library imports). > > Currently I use pylint and manually scan the output, which is very > nice, or use pylint's --ext-import-graph option to create a .dot f

Re: wxPython - ListCtrl ColumnSorterMixin sometimes works sometimes doesn't!

2007-07-09 Thread kyosohma
On Jul 7, 7:55 am, Steve Senior <[EMAIL PROTECTED]> wrote: > Hi, > > My application has a tree control in which a user can select a filter. > This filter is then applied to the results and the results are > constructed in the ListControl (report style) widget. > > This all works fine. > > Recently

Re: Tool for finding external dependencies

2007-07-09 Thread kyosohma
On Jul 9, 9:27 am, Rob Cakebread <[EMAIL PROTECTED]> wrote: > On Jul 9, 7:17 am, [EMAIL PROTECTED] wrote: > > > > > Recently I ran into some debugging issues and the freeware app > > "Dependency Walker" was suggested to me. I still haven't used it much > > since I only got it last Friday, but it lo

Re: no python install

2007-07-09 Thread kyosohma
On Jul 9, 10:26 am, Beethon <[EMAIL PROTECTED]> wrote: > my computer has no puthon installed > i downloaded some sofware that are shiped with .py files > please explain how the programs become workable ? > > thanks Check the softwares' website(s) to see what the dependencies are and download them.

ImportError: MemoryLoadLibrary failed loading

2007-07-09 Thread kyosohma
Hi, Recently I began my journey into creating executables. I am using Andrea Gavana's cool GUI2EXE program which works very well and that is a GUI for py2ece. I am also using Inno Setup to create a script/executable. Anyway, today I am putting the program to the test with some volunteer testers an

Re: Distributing python apps

2007-07-09 Thread kyosohma
On Jul 9, 2:59 pm, Robert Dailey <[EMAIL PROTECTED]> wrote: > Hi, > > I'm creating a set of command-line tools using Python. These tools > manage resources for a game I'm working on. However, many people that > will be using these tools will not want to install Python on their > machines. This woul

Re: dealing with nested xml within nested xml within......

2007-07-09 Thread kyosohma
On Jul 9, 3:03 pm, Ultrus <[EMAIL PROTECTED]> wrote: > Hello all, > I don't need specific examples, but I'm trying to wrap my head around > parsing xml within xml and even further, not limiting how far someone > will nest xml. I'm already making great use of BeautifulSoup's > BeautifulStoneSoup to

Re: Embedding Matplotlib in wxpython wx.Panel problem

2007-07-11 Thread kyosohma
On Jul 10, 2:09 pm, abakshi11 <[EMAIL PROTECTED]> wrote: > I was wondering if you ever got to create a small GUI program that did plots > using Matplotlib > I am gettin an error where its saying "WXagg's accelerator requires the > wxPython headers-the wxpython header files can not be located in any

Re: ImportError: MemoryLoadLibrary failed loading

2007-07-11 Thread kyosohma
On Jul 9, 12:47 pm, [EMAIL PROTECTED] wrote: > Hi, > > Recently I began my journey into creating executables. I am using > Andrea > Gavana's cool GUI2EXE program which works very well and that is a GUI > for > py2ece. I am also using Inno Setup to create a script/executable. > Anyway, > today I am

Re: Lists in classes

2007-07-12 Thread kyosohma
On Jul 12, 10:23 am, Jeremy Lynch <[EMAIL PROTECTED]> wrote: > Hello, > > Learning python from a c++ background. Very confused about this: > > > class jeremy: > list=[] > def additem(self): > self.list.append("hi") > return > > t

Re: wx.App console window [Windows]

2007-07-12 Thread kyosohma
On Jul 12, 3:44 pm, [EMAIL PROTECTED] wrote: > Hi All, > > I'm looking for a way to hide console window created by wx.App class. > > examplary code below: > > import wx > > class Gui(wx.App): > def __init__(self, *pargs, **kwargs): > wx.App.__init__(self, *pargs, **kwargs)

Re: wx.App console window [Windows]

2007-07-12 Thread kyosohma
On Jul 12, 5:55 pm, [EMAIL PROTECTED] wrote: > On 13 Lip, 00:28, [EMAIL PROTECTED] wrote: > > > > > On Jul 12, 3:44 pm, [EMAIL PROTECTED] wrote: > > > > Hi All, > > > > I'm looking for a way to hide console window created by wx.App class. > > > > examplary code below: > > > > import wx > > > > cla

Re: scripts into wxPython

2007-07-13 Thread kyosohma
On Jul 13, 7:39 am, justme <[EMAIL PROTECTED]> wrote: > Hello > > I've been happily scripting away for the last few years (Matlab, now > Python) and all has been fine. Now I find myself scripting up code for > clients, but they all want a nice GUI. I've had a tinker with wxPython > and it all seems

Re: help reading cookie values

2007-07-13 Thread kyosohma
On Jul 13, 3:08 pm, Sean <[EMAIL PROTECTED]> wrote: > I am trying to read a cookie I set but I am not sure if I really set > it correctly or I am not reading it correctly. I was given the > following instructions to set the cookie. It appears to be working > because in Firefox browser I see the c

Re: Access Denied while trying to delete file from python script

2007-07-14 Thread kyosohma
On Jul 14, 3:39 am, "Viewer T." <[EMAIL PROTECTED]> wrote: > I am trying to write a script that deletes certain files based on > certain criteria. > > What I am trying to do is to automate the process of deleting certain > malware files that disguise themselves as system files and hidden > files. W

Re: getting text inside the HTML tag

2007-07-14 Thread kyosohma
On Jul 14, 12:47 pm, Nikola Skoric <[EMAIL PROTECTED]> wrote: > I'm using sgmllib.SGMLParser to parse HTML. I have successfuly parsed start > tags by implementing start_something method. But, now I have to fetch the > string inside the start tag and end tag too. I have been reading through > SGMLPa

Re: Technology solutions for Ruby?

2007-07-16 Thread kyosohma
On Jul 16, 1:46 pm, vasudevram <[EMAIL PROTECTED]> wrote: > On Jul 16, 10:25 pm, vasudevram <[EMAIL PROTECTED]> wrote: > > > > > [ Though the OP posted his message to comp.lang.ruby, I'm cross- > > posting it to comp.lang.python, since he mentions Python as a possible > > alternative he's looking a

Re: wxPython, searching, and threads

2007-07-19 Thread kyosohma
On Jul 18, 11:38 am, Benjamin <[EMAIL PROTECTED]> wrote: > Hello! I am writing a search engine with wxPython as the GUI. As the > search thread returns items, it adds them to a Queue which is picked > up by the main GUI thread calling itself recursively with > wx.CallAfter. These are then added to

Re: Posted messages not appearing in this group

2007-07-19 Thread kyosohma
On Jul 18, 5:50 am, Alex Popescu <[EMAIL PROTECTED]> wrote: > Sanjay gmail.com> writes: > > > > > Hi All, > > > I tried posting in this group twice since last week, but the messages > > did not appear in the forum. Don't know why. Trying this message > > again... > > > Sanjay > > Something similar

Re: Real-time Update

2007-07-19 Thread kyosohma
On Jul 18, 3:24 am, ReTrY <[EMAIL PROTECTED]> wrote: > I'm writing a program with Tkinter GUI, When the program is running it > need to be updated every five seconds (data comes from internet). How > should I do that ? How to make a function in main loop ? I'm pretty sure the book "Programming Pyt

Re: Real-time Update

2007-07-19 Thread kyosohma
On Jul 18, 4:43 pm, [EMAIL PROTECTED] (Aahz) wrote: > In article <[EMAIL PROTECTED]>, > > ReTrY <[EMAIL PROTECTED]> wrote: > > >I'm writing a program with Tkinter GUI, When the program is running it > >need to be updated every five seconds (data comes from internet). How > >should I do that ? How

Re: wxPython, searching, and threads

2007-07-19 Thread kyosohma
On Jul 18, 3:15 pm, Benjamin <[EMAIL PROTECTED]> wrote: > Hello! I am writing a search engine with wxPython as the GUI. As the > search thread returns items, it adds them to a Queue which is picked > up by the main GUI thread calling itself recursively with > wx.CallAfter. These are then added to a

Python MAPI

2007-07-20 Thread kyosohma
Hi, I've been googling all over and can't find any good answers about this problem. I would like to create some kind of MAPI interface with Python such that when I open Microsoft Word (or another Office program) and click File, Send To, Mail Recipient it opens a program I wrote in Python and uses

Re: Python MAPI

2007-07-20 Thread kyosohma
On Jul 20, 1:48 pm, vasudevram <[EMAIL PROTECTED]> wrote: > On Jul 20, 10:57 pm, [EMAIL PROTECTED] wrote: > > > > > Hi, > > > I've been googling all over and can't find any good answers about this > > problem. I would like to create some kind of MAPI interface with > > Python such that when I open

Re: Python MAPI

2007-07-20 Thread kyosohma
> > If Process Monitor has an option to save its output as text files / > CSV files (some of the other SysInternals tools do), you might want to > try using (a Windows version) of grep or awk to filter out the > noise .. > > Vasudev Well, I ran Process Monitor with some filters enabled to only wa

Re: Images in Tkinter

2007-07-20 Thread kyosohma
On Jul 20, 11:37 am, "Viewer T." <[EMAIL PROTECTED]> wrote: > I wrote a class in which I have to use Tkinter images. When I create > an image object in the class and reference it with the image attribute > of label within the class, it does not dhow the image. It just shows a > blank label that con

Re: win32com ppt embedded object numbers reverting back to original numbers

2007-07-20 Thread kyosohma
On Jul 19, 4:33 pm, Lance Hoffmeyer <[EMAIL PROTECTED]> wrote: > Hey all, > > I have a script that takes numbers from XL and inserts them into an embedded > MSGRAPH dataset in PPT. The problem is that when I reopen the modified > document > that has been saved as a new filename and activate the e

Re: tkinter canvas

2007-04-18 Thread kyosohma
On Apr 18, 3:43 pm, Gigs_ <[EMAIL PROTECTED]> wrote: > how to write text on canvas. i know that i need to use canvas.create_text, but > how to write text than when i create_text? > or how to access object ID in canvas and change some options? > > thanks in advance! All you need to do is canvas.cre

Re: using tkinter to display html

2007-04-19 Thread kyosohma
On Apr 19, 6:29 am, "Stephen M. Gava" <[EMAIL PROTECTED]> wrote: > Hi all, > > I prefer using tkinter to wxpython (so sue me :) and i need to display a > lot of html in a particular app. does anyone know if one of the existing > add on tk html widgets have been wrapped for tkinter already? > > TIA

Re: tkinter canvas

2007-04-19 Thread kyosohma
On Apr 19, 7:24 am, Gigs_ <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On Apr 18, 3:43 pm, Gigs_ <[EMAIL PROTECTED]> wrote: > >> how to write text on canvas. i know that i need to use canvas.create_text, > >> but > >> how to write text than when i create_text? > >> or how to access ob

Re: Relative import problem

2007-04-19 Thread kyosohma
On Apr 19, 11:54 am, "Jorgen Bodde" <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to structure my app so that I have two dirs like; > > obj/{object files} > > gui/{gui files} > > Here comes the catch. From the GUI dir, I would like to access the obj > submodule path. I need to go one dir back.. I

Re: wxPython and how to return text entry to main program?

2007-04-19 Thread kyosohma
On Apr 19, 2:38 pm, Tyler <[EMAIL PROTECTED]> wrote: > Hello All: > > I am currently working on a project to create an FEM model for school. > I was thinking about using wxPython to gather the 12 input variables > from the user, then, after pressing the "Run" button, the GUI would > close, and the

  1   2   3   4   5   6   7   8   >