Re: Problem when scraping the 100 Movie titles.

2022-09-22 Thread Fabian Joseph
#Try using, it's save in json format of the website: import json import requests from bs4 import BeautifulSoup url = "https://www.empireonline.com/movies/features/best-movies-2/"; soup = BeautifulSoup(requests.get(url).content, "html.parser") data = json.loads(soup.select_one("#__NEXT_DATA__").

Re: How to test for type or instance of dict_values?

2018-12-11 Thread fabian . becker87
Very late to the party, but I just encountered a very similar problem and found a solution: ``` import collections obj = {"foo": "bar"} isinstance(obj.values(), collections.abc.ValuesView) # => True ``` Hope that helps someone out there :) On Thursday, November 17, 2016 at 9:09:23 AM UTC-8, Te

Different cache filename

2013-04-19 Thread Fabian PyDEV
could tell python to generate the bycode file as mymodule.ext.cpython-33.pyc? Regards, Fabian -- http://mail.python.org/mailman/listinfo/python-list

extending class static members and inheritance

2013-04-02 Thread Fabian PyDEV
ish this? I was thinking on accomplishing this as follows: class Derived(Base): __mylist__ = Base.__mylist__ + ["value3", "value4"] def anothermethod(self): pass Is there a better way? Perhaps a decorator? Thanks in advance and regards, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: io.BytesIO

2013-03-25 Thread Fabian von Romberg
use io.BufferedWriter instead. Just one question, what has better performance: BufferedWriter or BytesIO? Thanks and regards, Fabian On 03/25/2013 01:54 AM, Steven D'Aprano wrote: > On Mon, 25 Mar 2013 00:10:04 -0500, Fabian von Romberg wrote: > >> Hi Steven, >> >>

Re: io.BytesIO

2013-03-24 Thread Fabian von Romberg
attribute or method? Regards, Fabian On 03/24/2013 11:47 PM, Steven D'Aprano wrote: > On Sun, 24 Mar 2013 22:56:12 -0500, Fabian von Romberg wrote: > >> Hi, >> >> is there any way to get the allocated memory size from a io.BytesIO >> object? > > The same a

io.BytesIO

2013-03-24 Thread Fabian von Romberg
Hi, is there any way to get the allocated memory size from a io.BytesIO object? Thanks and regards, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: import in Python3.3

2013-03-24 Thread Fabian von Romberg
Hi Steven, thanks a lot for the explanation. I will keep in mind not to use names for my modules that can shadow the standard library. Regards, Fabian On 03/24/2013 07:27 PM, Steven D'Aprano wrote: > On Sun, 24 Mar 2013 18:12:49 -0500, Fabian von Romberg wrote: > >> H

import in Python3.3

2013-03-24 Thread Fabian von Romberg
Hi, I have a package name collections and inside of my package I want to import the collections package from the standard library, but there is name conflicts. How do I import explicitly from the standard library? Im working on Python3.3 Thanks in advance and regards, Fabian -- http

addressof object with id()

2013-03-23 Thread Fabian von Romberg
function on var1 and var2, it returns exactly the same address. can anyone explain me please why does this happens? Is this correct? Thanks in advance and regards, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Fwd: Python-list Digest, Vol 106, Issue 1

2012-07-01 Thread Fabian Doerfler
(a2 + b2 = c2) = (e < | > P a P b P c) Beschreibt eine Disonanz in Genese. -- Weitergeleitete Nachricht -- Von: Datum: 30.06.2012 23:09 Betreff: Python-list Digest, Vol 106, Issue 1 An: Send Python-list mailing list submissions to python-list@python.org To subscribe or

Re: [Off Topic] Tech Adviser Wanted by Unusual Social Venture Startup AND WEBEX QUESTION

2010-03-28 Thread Fabian Hernandez
est couples (TM)," and > "Making Honesty easier than ever before." > Medellin: 300 415 5298 > Skype: garykrane > > "Un ser humano se convierte en una gran exactitud en la medida en la que él > trabaja para el bienestar de sus compañeros " - Mahatma Gandhi > "The greatness of a human is to be measured exactly by the degree to which > he has helped his/her fellow human."-Gandhi > "The best things in life are not things" (anon) > > -- Fabian Hernandez Nieto http://www.sidesoftware.net Linux User # 485518 -- http://mail.python.org/mailman/listinfo/python-list

OT: Tech Adviser Wanted by Unusual Social Venture Startup AND WEBEX QUESTION

2010-03-28 Thread Fabian Hernandez
-- Forwarded message -- From: G.Lowell Krane Date: 2010/3/27 Subject: Fwd: [Off Topic] Tech Adviser Wanted by Unusual Social Venture Startup AND WEBEX QUESTION To: Daniel Arbelaez Cc: arpunk , Fabian Hernandez Here is the ad i am trying to get Python-list to post ASAP--this

Urllib2 not working

2009-08-22 Thread Carlos Fabian Ramirez
Hello, When I try to open a URL using urllib2.urlopen it returns Name or service not known. It is not a problem with my Internet I believe, since I have Internet access on my computer, and I have verified it is not a syntax, or spelling, error on my part. I have also tried accessing the site (googl

Re: Measuring time of a telnet connect

2009-04-15 Thread Fabian Lanze
Jack diederich schrieb: Has anyone an idea how to solve this? import time import telnetlib start = time.time() conn = telnetlib.Telnet('localhost', 80) print time.time() - start Perfect! Thank you.. -- http://mail.python.org/mailman/listinfo/python-list

Measuring time of a telnet connect

2009-04-15 Thread Fabian Lanze
Hi! I want to realize the following: I want to measure the time it takes to build up a telnet connection to a known host (ip/port). I tried to use subprocess.Popen to build the telnet connection and then to catch the "Trying to connect..." and "Connection established" output. But this didn't work

Selecting multiple directories (TKinter)

2008-10-31 Thread Fabian Svara
alogs better suited for my purpose? Thanks! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: lotus nsf to mbox

2007-12-18 Thread Fabian Braennstroem
Hi to all, thanks, I'll try your suggestions... Regards! Fabian Brian Munroe schrieb am 12/15/2007 07:10 PM: > On Dec 15, 11:04 am, Fabian Braennstroem <[EMAIL PROTECTED]> > wrote: > >> thanks for your ideas! I actually thought of something like >> a python par

Re: lotus nsf to mbox

2007-12-15 Thread Fabian Braennstroem
Hi to both, Dan Poirier schrieb am 12/15/2007 02:00 PM: > On Dec 15, 5:18 am, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> I am wondering, if anyone tried to convert lotus nsf mails >> to a mbox format using python!? It would be nice, if anyone >> has an idea, how

lotus nsf to mbox

2007-12-15 Thread Fabian Braennstroem
Hi, I am wondering, if anyone tried to convert lotus nsf mails to a mbox format using python!? It would be nice, if anyone has an idea, how to do it on a linux machine. Regards! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: regex problem with re and fnmatch

2007-11-21 Thread Fabian Braennstroem
Hi John, John Machin schrieb am 11/20/2007 09:40 PM: > On Nov 21, 8:05 am, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I would like to use re to search for lines in a files with >> the word "README_x.org", where x is any number.

regex problem with re and fnmatch

2007-11-20 Thread Fabian Braennstroem
same matching problem like above. Does anyone have any suggestions about the regex problem? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: Efficient: put Content of HTML file into mysql database

2007-11-19 Thread Fabian López
with this text. Is it enough? it is such an easy web crawler. Maybe I can save it without downloading the file, can I? Thanks Fabian 2007/11/19, Jesse Jaggars <[EMAIL PROTECTED]>: > > Fabian López wrote: > > Hi colegues, > > do you know the most efficient way to put the

Efficient: put Content of HTML file into mysql database

2007-11-19 Thread Fabian López
sentence. What happens if the html file is very big? Thanks! FAbian -- http://mail.python.org/mailman/listinfo/python-list

crawler in python and mysql

2007-11-12 Thread Fabian López
Which libraries would you recommend me? Thanks!! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: open remote terminal

2007-10-23 Thread Fabian Braennstroem
Hi Rafael, Rafael Sachetto wrote: > Take a look at this documentation: > > http://pexpect.sourceforge.net/pxssh.html thanks for the link, but it actually looks to me almost like my little example... I somehow don't get it!? Any more hints? Fabian > >> >>>

Re: ignoring chinese characters parsing xml file

2007-10-23 Thread Fabian López
here, but it's a good idea for next goals. Thanks a lot! Fabian 2007/10/23, limodou <[EMAIL PROTECTED]>: > > On 10/23/07, Stefan Behnel <[EMAIL PROTECTED]> wrote: > > Fabian López wrote: > > > Thanks Mark, the code is like this. The attrib name is

Re: ignoring chinese characters parsing xml file

2007-10-22 Thread Fabian López
ot;], elem.attrib["rssUrl"] And the xml file like: http://weblogli.com " when="4" /> 22 Oct 2007 20:20:16 GMT, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]>: > > On Mon, 22 Oct 2007 21:24:40 +0200, Fabian López wrote: > > > I am parsing

ignoring chinese characters parsing xml file

2007-10-22 Thread Fabian López
the characters less these ones. So, could anyone help me? I suppose that I can catch an exception that ignores it or maybe use any function that detects this chinese characters and after that ignore them. Thanks!! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: open remote terminal

2007-10-20 Thread Fabian Braennstroem
Fabian Braennstroem wrote: > Hi Steve, > > Steve Holden wrote: > >> Fabian Braennstroem wrote: >>> Hi, >>> >>> I would like to use python to start an terminal, e.g. xterm, and login >>> on a remote machine using rsh or ssh. This could b

Re: pyparsing batch file

2007-10-20 Thread Fabian Braennstroem
Hi Paul, Paul McGuire wrote: > On Oct 17, 4:47 pm, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > >> Unfortunately, it does not parse the whole file names with >> the underscore and I do not know yet, how I can access the >> line with 'define/boundary-condi

Re: open remote terminal

2007-10-20 Thread Fabian Braennstroem
Hi Steve, Steve Holden wrote: > Fabian Braennstroem wrote: >> Hi, >> >> I would like to use python to start an terminal, e.g. xterm, and login on >> a remote machine using rsh or ssh. This could be done using 'xterm -e ssh >> machine', but afte

pyparsing batch file

2007-10-17 Thread Fabian Braennstroem
in logEntry.searchString(data): print print "no idea=\t "+ tokens.threadname print "Data File=\t "+ tokens.rd print for x in tokens.condition:    print x print 50*"-" Unfortunately, it does not parse the whole file names with the undersc

open remote terminal

2007-10-17 Thread Fabian Braennstroem
Hi, I would like to use python to start an terminal, e.g. xterm, and login on a remote machine using rsh or ssh. This could be done using 'xterm -e ssh machine', but after the login I would like to jump to a given directory. Does anyone have an idea how to do this with python? Regar

Re: extract text from log file using re

2007-09-15 Thread Fabian Braennstroem
Hi to all, thanks for your help. The approach print '\r\n'.join([x.strip() for x in open('c:/flutest.txt') if 'e-0' in x]) works quite well :-) Greetings! Fabian Fabian Braennstroem schrieb am 09/13/2007 09:09 PM: > Hi, > > I would like to delet

Re: extract text from log file using re

2007-09-13 Thread Fabian Braennstroem
-04 9.8395e-05 1.4865e-04 8.3913e-04 3.8545e-03 1.3315e-01 11:14:10 500 501 1.0086e-03 2.4608e-04 9.8589e-05 1.4908e-04 8.3956e-04 3.8560e-03 4.8384e-02 11:40:01 499 as field values. Fabian Braennstroem schrieb am 09/13/2007 09:09 PM: > Hi, > > I would like to delete a region on a log f

extract text from log file using re

2007-09-13 Thread Fabian Braennstroem
ne 36, binary. 1232141 nodes, binary. 1232141 node flags, binary. Done. # ---end writing information --- Does anyone know, how I can this 'writing' stuff too? The matchingIt occurs a lot :-( Regards! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: chmod directories recursively

2007-07-17 Thread Fabian Steiner
Jennifer Thacher wrote: > Fabian Steiner wrote: >> As far as I can see os.chmod() doesn't adjust permissions on directories >> recusively. Is there any other possibility to achieve this aim except for >> calling os.system('chmod -R /dir') directly? >

chmod directories recursively

2007-07-17 Thread Fabian Steiner
Hello! As far as I can see os.chmod() doesn't adjust permissions on directories recusively. Is there any other possibility to achieve this aim except for calling os.system('chmod -R /dir') directly? Thanks, Fabian -- http://mail.python.org/mailman/listinfo/python-list

vte examples and installation

2007-05-28 Thread Fabian Braennstroem
am a little bit confused!? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: track cpu usage of linux application

2007-05-15 Thread Fabian Braennstroem
Hi, thanks to both! I will take a look at the proc files! * James T. Dennis <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> Hi, > >>I would like to track the cpu usage of a couple of >>programs using python. Maybe it

track cpu usage of linux application

2007-05-14 Thread Fabian Braennstroem
a more elegant way to do that? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: help with Python C-API, tuple object

2007-05-11 Thread fabian . conrad
On May 12, 2:49 pm, "Carsten Haese" <[EMAIL PROTECTED]> wrote: > On 11 May 2007 21:11:06 -0700, fabian.conrad wrote > > > Hi, > > sorry for the rather basic question but I've searched everywhere and > > don't find an answer. > > I want to call PyObject_CallObject from the Python C-API and pass a >

help with Python C-API, tuple object

2007-05-11 Thread fabian . conrad
Hi, sorry for the rather basic question but I've searched everywhere and don't find an answer. I want to call PyObject_CallObject from the Python C-API and pass a tuple I've created from a C-array How can I pass the tuple as an object rather then having to declare the python function with the numb

Re: pattern search

2007-03-29 Thread Fabian Braennstroem
Hi Paul, Paul McGuire schrieb am 03/27/2007 07:19 PM: > On Mar 27, 3:13 pm, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> Hi to all, >> >> Wojciech Mu?a schrieb am 03/27/2007 03:34 PM: >> >>> Fabian Braennstroem wrote: >>>> Now, I wou

Re: pattern search

2007-03-28 Thread Fabian Braennstroem
Hi, Gabriel Genellina schrieb am 03/27/2007 10:09 PM: > En Tue, 27 Mar 2007 18:42:15 -0300, Diez B. Roggisch <[EMAIL PROTECTED]> > escribió: > >> Paul McGuire schrieb: >>> On Mar 27, 10:18 am, "Diez B. Roggisch" <[EMAIL PROTEC

Re: pattern search

2007-03-27 Thread Fabian Braennstroem
Hi to all, Wojciech Mu?a schrieb am 03/27/2007 03:34 PM: > Fabian Braennstroem wrote: >> Now, I would like to improve it by searching for different 'real' >> patterns just like using 'ls' in bash. E.g. the entry >> 'car*.pdf' should select all pd

pattern search

2007-03-27 Thread Fabian Braennstroem
tterns just like using 'ls' in bash. E.g. the entry 'car*.pdf' should select all pdf files with a beginning 'car'. Does anyone have an idea, how to do it? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: How to test whether a host is reachable?

2007-02-22 Thread Fabian Steiner
Hello! Chris Mellon wrote: > On 2/22/07, Fabian Steiner <[EMAIL PROTECTED]> wrote: >> [...] >> Now I am wondering if there isn't any better method which would be more >> general. In fact, I think of something like a python version of ping >> which only tries

How to test whether a host is reachable?

2007-02-22 Thread Fabian Steiner
ICMP packets. However, I don't know what the code has to look like then. Any ideas or suggestions? Thanks, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: python 2.5 install from source problem

2006-12-02 Thread Fabian Braennstroem
Hi Martin, * Martin v. Löwis <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem schrieb: >> I just tried to install python 2.5 from source on my >> ScienticLinux (Redhat Clone) machine. It seems to work >> without any problem, at least I am able to run some of my >>

python 2.5 install from source problem

2006-12-01 Thread Fabian Braennstroem
k' installation which needs the python libraries I am not able to find a file like 'libpython2.5.so.*', which I think should be produced (at least at my office's machine (redhat) it is there). I just can find a 'libpython2.5.a' file ... Do I do something wrong? Greetings

Re: small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi Norbert, * Norbert Kaufmann <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem wrote: > [...] >> >> Maybe, I understood something wrong, but I thought that the >> above 'webserver' script would replace apache in my case; at >> least I hoped!? >&

Re: small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
Hi, * ArdPy <[EMAIL PROTECTED]> wrote: > > Fabian Braennstroem wrote: >> Hi, >> >> I am looking for a small python script, which starts a small >> web server with python cgi support on a linux machine. >> >> I tried: >> >> >> #!

small python cgi webserver

2006-11-04 Thread Fabian Braennstroem
I do something completely wrong? Maybe, you have a different webserver script? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: change keybindings for pygtk treeview

2006-10-28 Thread Fabian Braennstroem
Hi, * Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > Hi, > > I am just testing pygtk/glade out and wonder, if I am able > to change the keybindings. E.g. the treeview searches by > default for the entries beginning with the typed keystroke; > moving to the next row work

change keybindings for pygtk treeview

2006-10-27 Thread Fabian Braennstroem
j' to move to the next row (just like in vim) and to use a 'Ctrl' key combination to search for a certain word beginning with the typed key stroke. Is it anyhow possible with pygtk? Would be nice, if somebody can point my to a small example. Greetings! Fabian -- http://mail.python.

Flushing standard input

2006-10-18 Thread Fabian Steiner
Is there any way to flush the stdin buffer so that 'test1' is _not_ regarded as input? How could one solve this issue? Cheers, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: Adding Worksheets to an Excel Workbook

2006-10-13 Thread Fabian Braennstroem
Hi Wesley, * wesley chun <[EMAIL PROTECTED]> wrote: >> just a small OT question coming from a linux openoffice >> system... >> >> Does there exist something similar for powerpoint? Would be >> nice, if anybody can direct me to more examples... > > >

Re: 3D Vector Type Line-Drawing Program

2006-10-13 Thread Fabian Braennstroem
- > point placed, and the tweak the POV-ray code to get pretty output. > > --Scott David Daniels > [EMAIL PROTECTED] > -- > http://mail.python.org/mailman/listinfo/python-list > Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: Adding Worksheets to an Excel Workbook

2006-10-11 Thread Fabian Braennstroem
sleep(5) > ss.Close(False) # close the workbook and don't save > xl.Application.Quit() # quit Excel > > if __name__=='__main__': > excel() > > hope this helps! Does there exist something similar for powerpoint? Would be nice, if anybody can direct me to more examples... Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

change directory when closing curses program

2006-10-09 Thread Fabian Braennstroem
? lfm uses a bash-function for this purpose , which does not work in tcsh ... :-( Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: Scientific computing and data visualization.

2006-10-08 Thread Fabian Braennstroem
or >> 2D plotting and vtk for 3D. Do you have any experience and >> can give some recommendations? > > Hi Fabian! > > I recommend using matplotlib for data visualization, because the usage > of the plotting commands is much(!!!) more convenient. In ROOT you have > to

Re: Scientific computing and data visualization.

2006-10-07 Thread Fabian Braennstroem
> very powerful and PyRoot is really a pleasure to work with. It sounds interesting. Right now, I use matplotlib for 2D plotting and vtk for 3D. Do you have any experience and can give some recommendations? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: extract certain values from file with re

2006-10-07 Thread Fabian Braennstroem
Hi to all, thanks a lot! I am pretty sure your ideas help :-) Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

extract certain values from file with re

2006-10-06 Thread Fabian Braennstroem
7;U-Mom' row using grep and print a certain column (e.g. 'Max Res') to a file and print it with gnuplot. Maybe I have to remove those '|' using sed before... Do you have an idea, how I can do this completely using python? Thanks for your help! Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: Splitting device addresses into parts

2006-09-26 Thread Fabian Steiner
int the rest. > Alternatively, if the delimiters can really be anything, and if there > are no numbers in the first space ("PCI"), then maybe this approach: Thank you, this solution seems to be quite satisfying :-) Regards, Fabian Steiner -- http://mail.python.org/mailman/listinfo/python-list

Re: Splitting device addresses into parts

2006-09-26 Thread Fabian Steiner
Bruno Desthuilliers wrote: > Fabian Steiner wrote: >> I often have to deal with strings like "PCI:2:3.0" or "PCI:3.4:0" and >> need the single numbers as tuple (2, 3, 0) or (3, 4, 0). Is there any >> simple way to achieve this? So far I am using regular

Splitting device addresses into parts

2006-09-26 Thread Fabian Steiner
I often have to deal with strings like "PCI:2:3.0" or "PCI:3.4:0" and need the single numbers as tuple (2, 3, 0) or (3, 4, 0). Is there any simple way to achieve this? So far I am using regular expressions but I would like to avoid them ... Regards, Fabian Steiner -- ht

Re: python gtk based file manager

2006-09-25 Thread Fabian Braennstroem
thon version ... python seems to me a lot easier than C, esp. for adjusting and adding some functions for my daily use. I found wxPyAtol, which could be a good base, but unfortunately there is no wx installed at my office machine :-( > > Fabian Braennstroem wrote: >> Hi, >> >>

python gtk based file manager

2006-09-25 Thread Fabian Braennstroem
Hi, I am looking for a file manager based on pygtk. It seems that there does not exist any!? Maybe, someone has a hint or already some starting code lines for such a 'thing'!? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: latex openoffice converter

2006-09-16 Thread Fabian Braennstroem
Hi to both, thanks! I'll try them ... * Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to use python to convert 'simple' latex > documents into openoffice format. Maybe, anybody has done > something similar before and can give me a star

latex openoffice converter

2006-09-14 Thread Fabian Braennstroem
Hi, I would like to use python to convert 'simple' latex documents into openoffice format. Maybe, anybody has done something similar before and can give me a starting point!? Would be nice to hear some hints! Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: radio buttons in curses

2006-08-24 Thread Fabian Braennstroem
Hi Fredrik, * Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem wrote: > >> Does nobody have an idea or is it to stupid? > > have you looked at: > > http://excess.org/urwid/ Thanks! I found this too and it seems to be helpful... Greetings! Fabi

Re: radio buttons in curses

2006-08-24 Thread Fabian Braennstroem
Hi Steve, * Steve Holden <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem wrote: >> Sorry, me again... >> Does nobody have an idea or is it to stupid? >> >> * Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> >>>Hi, >>> >>>

Re: radio buttons in curses

2006-08-22 Thread Fabian Braennstroem
Sorry, me again... Does nobody have an idea or is it to stupid? * Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > Hi, > > I want to add some radio and check buttons to my curses > script. As I understand it, there are no buttons in the > 'basic' curses module

radio buttons in curses

2006-08-20 Thread Fabian Braennstroem
ven better, how I can create radio and check buttons with the 'ordinary' curses module? Would be nice... Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: access abook addressbook with curses

2006-08-13 Thread Fabian Braennstroem
Hi Ben, * Ben C <[EMAIL PROTECTED]> wrote: > On 2006-08-08, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> Hi Ben, >> >> * Ben C <[EMAIL PROTECTED]> wrote: >>> On 2006-08-06, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >>>>

Re: access abook addressbook with curses

2006-08-07 Thread Fabian Braennstroem
Hi Ben, * Ben C <[EMAIL PROTECTED]> wrote: > On 2006-08-06, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> Hi Ben, >> >> * Ben C <[EMAIL PROTECTED]> wrote: >>> On 2006-08-05, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >>>>

Re: email client like mutt

2006-08-07 Thread Fabian Braennstroem
Hi to both, * cga2000 <[EMAIL PROTECTED]> wrote: > On Mon, Aug 07, 2006 at 08:34:16PM EDT, Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> cga2000 <[EMAIL PROTECTED]> wrote: >> >On Sun, Aug 06, 2006 at 04:15:08PM EDT, Aahz wrote: >> >> In

Re: access abook addressbook with curses

2006-08-06 Thread Fabian Braennstroem
Hi Ben, * Ben C <[EMAIL PROTECTED]> wrote: > On 2006-08-05, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I want to get access to my abook address file with python. >> Does anyone have some python lines to achive this using >> curses? I

access abook addressbook with curses

2006-08-05 Thread Fabian Braennstroem
Hi, I want to get access to my abook address file with python. Does anyone have some python lines to achive this using curses? If not, maybe anybody has small python program doing it with a gui!? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

email client like mutt

2006-08-05 Thread Fabian Braennstroem
Hi, I am looking for a python email client for the terminal... something like mutt; maybe, so powerfull ;-) Would be nice, if anybody has an idea! Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: install python on cdrom

2006-08-03 Thread Fabian Braennstroem
Hi Martin, * Martin v. Löwis <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem schrieb: >> I look for an easy way to use the newest scipy, pyvtk, matplotlib, >> f2py, numpy, paraview/vtk,... on a entreprise redhat machine >> without administration rights. >> My

install python on cdrom

2006-07-29 Thread Fabian Braennstroem
way? I would be glad to read some hints about the way doing it... Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Recursive function returning a list

2006-07-17 Thread Fabian Steiner
Hello! I have got a Python "Device" Object which has got a attribute (list) called children which my contain several other "Device" objects. I implemented it this way in order to achieve a kind of parent/child relationship. Now I would like to get all children of a given "Device" object and t

Starting a GUI application out of an console application

2006-07-17 Thread Fabian Steiner
Hello! I am currently working on an alternative for the gnome-volume-manager for multiseat systems based on HAL and DBus. Whenever the signal 'DeviceAdded' is received I would like to start a GUI-Interface where the user can choose from different options. But now I am wondering how I should st

Re: regex module, or don't work as expected

2006-07-04 Thread Fabian Holler
Hello Marc, thank you for your answer. Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, Fabian Holler wrote: >> i have the following regex "iface lo[\w\t\n\s]+(?=(iface)|$)" >> >> If "iface" don't follow after the regex &

regex module, or don't work as expected

2006-07-04 Thread Fabian Holler
Howdy, i have the following regex "iface lo[\w\t\n\s]+(?=(iface)|$)" If "iface" don't follow after the regex "iface lo[\w\t\n\s]" the rest of the text should be selected. But ?=(iface) is ignored, it is always the whole texte selected. What is wrong? many

Re: hidden file detection

2006-05-20 Thread Fabian Steiner
Lenny G. wrote: > What's the best way to do cross-platform hidden file detection? I want > to do something like weed-out the files that should be 'hidden' from > os.listdir() (which would be files that start with '.' under Unix, > files that have the hidden attribute set on windows, and whatever i

Re: problem with array and for loop

2006-05-10 Thread Fabian Braennstroem
Hi Robert, * Robert Kern <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem wrote: >> Hi, >> >> I have a 'simple' problem with a multidimension array in a >> for loop. It looks like this: >> >> wert= zeros([127,2]) >> wert1= zeros(127)

problem with array and for loop

2006-05-10 Thread Fabian Braennstroem
wert1[i]= probe1.GetOutput().GetPointData().GetScalars().GetTuple1(i); m=m+1; l=l+1; It works for the 1D 'wert1'. Does anyone have an idea? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: best way to install python modules on linux

2006-04-14 Thread Fabian Braennstroem
Hi Harry, * Harry George <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem <[EMAIL PROTECTED]> writes: > >> Hi, >> >> I am pretty new to python and will use it mainly in >> combination with scientific packages. I am running ubuntu >> breezy righ

twisted.web and a

2006-04-10 Thread Fabian Steiner
e hasn't been opened so far. Do you have any idea how to solve this problem? I am looking forward to any responses. Cheers, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: best way to install python modules on linux

2006-04-10 Thread Fabian Braennstroem
Hi, * Robert Kern <[EMAIL PROTECTED]> wrote: > Fabian Braennstroem wrote: >> Hi to all, >> >> thanks for your ideas! I just figured out a different way >> using archlinux 'pacman' (package management tool like apt). >> As a former archlinux user

Creating an event loop

2006-04-09 Thread Fabian Steiner
his the right way to achieve the exepected result or are there any better ways? Cheers, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: best way to install python modules on linux

2006-04-08 Thread Fabian Braennstroem
.2: undefined symbol: e_wsfe Which looks pretty odd for me!? Greetings! Fabian -- http://mail.python.org/mailman/listinfo/python-list

best way to install python modules on linux

2006-04-07 Thread Fabian Braennstroem
. does there exist any script/program, which downloads and installs automatically the latest stable releases of selected modules? It would be nice, if the program can remove the installed modules, too!? Or would it be easier to stick to apt/deb and create own packages ... Greetings! Fabian

Re: C-API: A beginner's problem

2006-03-19 Thread Fabian Steiner
Georg Brandl wrote: > Fabian Steiner wrote: >> [...] >> for (i = 0; i <= seqlen; i++) { > > That is one iteration too much. Use > > for (i = 0; i < seglen; i++) > >> item = PySequence_Fast_GET_ITEM(seq, i); > > Now item

Re: C-API: A beginner's problem

2006-03-19 Thread Fabian Steiner
Heikki Salo wrote: > Heikki Salo wrote: >> Fabian Steiner wrote: >>> What did I do wrong? As I am quite new to C, I probably made many >>> mistakes, so please feel free to correct me. >> >> The following line: >> >> > for (i = 0; i <=

  1   2   >