_bsddb on NetBSD

2006-01-17 Thread Miki Tebeka
Hello All, I can't seem to build Python2.4.2 with bsddb on NetBSD. bsddb seems to be missing from the pkg_add installation as well. Any ideas? Thanks, Miki -- http://mail.python.org/mailman/listinfo/python-list

Re: Addressing a COM port from Python

2006-01-17 Thread Miki Tebeka
t; C/C++/Java. Any tutorials/examples that you know of? Maybe calling C > from Python? > > I am working on Win XP Pro, with Activestate Python 2.4. http://pyserial.sourceforge.net/ HTH, Miki -- http://mail.python.org/mailman/listinfo/python-list

Re: Python as an extension language

2006-03-06 Thread Miki Tebeka
age relatively > small? The Python scripts are not supposed to import modules after > all, at least not explicitly. See http://starship.python.net/crew/theller/moin.cgi/ShippingEmbedded HTH -- Miki Tebeka <[EMAIL P

Re: Popup menus without an associated window

2006-03-06 Thread Miki Tebeka
app = wx.PySimpleApp() dlg = Hidden() dlg.Go() dlg.Destroy() HTH, -- ---- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The only difference between children and adults is the price of the toys -- http://mail.python.org/mailman/listinfo/python-list

Re: How to track down all required shared libraries?

2005-05-01 Thread Miki Tebeka
run a Python > program? There is a module call "modulefinder" in Python standard library. It might do what you want. HTH. -- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The only difference bet

Re: Writing to log file when script is killed

2005-05-01 Thread Miki Tebeka
"register" from "atexit" module. Bye. -- ---- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The only difference between children and adults is the price of the toys pgpDwSFJ7LnW5.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list

Re: Reading output from standard out

2005-05-02 Thread Miki Tebeka
tput live to a tkinter text area. See os.popen or the subprocess module. HTH. -- ---- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The only difference between children and adults is the price of the toys pgpTmi

Re: BitKeeper for Python?

2005-05-02 Thread Miki Tebeka
Hello Bruce, > Typical, you wait years for a decent replacement for CVS, and then... It's called subversion and it has Python bindings. Bye. -- ---- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The o

Re: Saving/retrieving user preferences

2005-06-09 Thread Miki Tebeka
'standard' package for doing this in python? Use internally (almost) any data types you find is best. The save/load is using pickle. Bye. -- ---- Miki Tebeka <[EMAIL PROTECTED]> http://tebeka.bizhat.com The only diff

Re: killing process in windows

2005-06-09 Thread Miki Tebeka
time.sleep(3) >p.kill() > >will start Media Player without terminating it. >Any suggestions? A brutal way will be to use win32process.TerminateProcess (from win32all package - http://starship.python.net/crew/mhammond/). HTH. -- ----

My OSDC.il Python Talks

2006-03-09 Thread Miki Tebeka
Hello All, Last week I gave three Python talks at OSDC.il (http://osdc.org.il/). If you are truly bored you can find the talks and demo source code at http://one.fsphost.com/tebeka/OSDC/ Bye. -- Miki Tebeka <[EM

Re: How to debug a problem with python crashing under windows

2011-02-04 Thread Miki Tebeka
pot.com/2008/12/crashlog.html for example ;) HTH, -- Miki -- http://mail.python.org/mailman/listinfo/python-list

Re: Create classes at runtnime

2011-02-05 Thread Miki Tebeka
> I need to create a pretty complex class at runtime. You can take the approach that namedtuple does and create a python code for the class as string and then exec it. See http://svn.python.org/view/python/trunk/Lib/collections.py?view=markup HTH, -- Miki http://pythonwise.blogspot.com -- h

Re: Universal Feed Browser problem in feedparser.py

2011-02-07 Thread Miki Tebeka
> >>> import feedparser > >>> d = feedparser.parse("http://feedparser.org/docs/examples/atom10.xml";) This works for me, are you sure it's not a network problem in your side? (what happens if you try to open this link in a browser?) -- http://mail.python.org/mailman/listinfo/python-list

Re: Shared memory python between two separate shell-launched processes

2011-02-11 Thread Miki Tebeka
//pythonwise.blogspot.com/2009/04/pmap.html :) Another option to try is maybe mmap the file? HTH, -- Miki http://pythonwise.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Class or Dictionary?

2011-02-11 Thread Miki Tebeka
n for you. http://docs.python.org/dev/library/collections.html#collections.namedtuple HTH -- Miki Tebeka http://pythonwise.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: parse html rendered by js

2011-02-12 Thread Miki Tebeka
> There seems no Rhino for linux. Rhino is written in Java. "java -jar js.jar" works fine on my Linux machine. -- http://mail.python.org/mailman/listinfo/python-list

Re: file find skips first letter

2011-02-15 Thread Miki Tebeka
> def getFiles(self, fileBase): > """return a list of the filenames in a director containing a > base word > """ > ... Have a look at the glob module, it does what you want. HTH -- Miki Tebeka http://pythonwise.blogspot.com -- h

[ANN] Second PyCon Israel June 11-14, 2017

2017-04-30 Thread Miki Tebeka
Hi All, The second PyCon Israel will take place June 11-14, 2017. * 11 June Django girls workshop at Red Hat Israel offices in Raanana * 12-13 June PyCon Israel main event at Wohl center * 14 June PyCon Israel workshops and sprints We still have some sponsorship spots available, great recruiting

Re: Unable to apply stop words in Pandas dataframe

2017-06-26 Thread Miki Tebeka
Can you show us some of the code you tried? On Monday, June 26, 2017 at 10:19:46 AM UTC+3, Bhaskar Dhariyal wrote: > Hi everyone! > > I have a dataset which I want to make model trainable. I ahve been trying to > do some thing for past 2-3 days. > > Actually I wanted to clean 'desc' and 'keywo

Re: I have anaconda, but Pycharm can't find it

2017-11-27 Thread nospam . Miki Tebeka
You need to set the Python interpreter for the project to be the Anaconda one. See https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html On Monday, November 27, 2017 at 1:56:58 AM UTC+2, C W wrote: > Hello all, > > I am a first time PyCharm user. I have Python 3 and Anaconda i

<    1   2   3   4   5   6