FAQ

Search Discussions

860 discussions - 3,920 posts

  • Hi, I've been experimenting on embedding Python to a C software, and ran into a little problem with PYTHONPATH (I'm running on linux). Here's the deal: When trying to call PyImport_Import("xyz"), ...
    Tero PihlajakoskiTero Pihlajakoski
    Jan 5, 2004 at 12:59 pm
    Jan 6, 2004 at 6:20 am
  • Wrote a simple Python script that makes life a wee bit easier when using py2exe: Also available at http://premshree.resource-locator.com/python/makeExe.py """ makeExe.py - Simple Python script to ...
    Premshree PillaiPremshree Pillai
    Jan 25, 2004 at 12:53 pm
    Jan 28, 2004 at 2:05 am
  • Hello I'm very interested in python for AS/400. I must migrate an application that is running under windows to AS/400. Has anyone worked with python in that platform?? what about performace?? The ...
    EnriqueEnrique
    Jan 20, 2004 at 11:04 am
    Jan 27, 2004 at 4:19 pm
  • .. pass .. Traceback (most recent call last): File "<stdin ", line 1, in ? TypeError: base is not a class object Not entirely sure what the message means (beyond the obvious that it does not believe ...
    Zoo KeeperZoo Keeper
    Jan 23, 2004 at 1:44 am
    Jan 27, 2004 at 12:12 pm
  • I began learning python a few days ago and just wrote the following program. I have nested three functions together. For some reason, the leave function works fine when 'y' or 'n' are inputted, but ...
    Brian SamekBrian Samek
    Jan 25, 2004 at 2:45 am
    Jan 26, 2004 at 8:53 pm
  • OS: Win2K Python version: 2.2 Seeking references to documentation that discuss how a python script can handle displaying a progress bar. Also, if you are aware of any sample code that illustrates ...
    Miranda EvansMiranda Evans
    Jan 23, 2004 at 9:29 pm
    Jan 26, 2004 at 12:48 am
  • Hello, I'm looking for a program or python library to draw graphs. They should look like the that: /--------\ /--------\ \--------/ \--------/ Which is a result of the function call like that: ...
    Florian LindnerFlorian Lindner
    Jan 22, 2004 at 12:34 pm
    Jan 23, 2004 at 2:43 pm
  • Listening to National Public Radio while reading comp.lang.python. What a life! I just heard a piece on NPR about the security failures of an electronic voting system being developed. I know a voting ...
    PiedmontBizPiedmontBiz
    Jan 21, 2004 at 10:44 pm
    Jan 22, 2004 at 10:40 pm
  • I have a question about assigning __call__ to an instance to make that instance callable. I know there has been quite a bit of discussion about this, and I've read all I can find, but I'm still ...
    Robert FerrellRobert Ferrell
    Jan 15, 2004 at 11:29 pm
    Jan 21, 2004 at 9:34 pm
  • Hi all, I have a question about Python and delayed evaluation. Short-circuiting of Boolean expressions implies that in: any possible side-effects the call to b() might have will not happen of a() ...
    Leo BreebaartLeo Breebaart
    Jan 19, 2004 at 6:10 pm
    Jan 20, 2004 at 6:26 pm
  • hi i m in need of a PyXPCOM tutorial. it should explain using python (instead of JavaScript) for creating apps. if any body can point me to some web resources or a printed book . thankz
    Mir nazimMir nazim
    Jan 15, 2004 at 5:08 pm
    Jan 20, 2004 at 4:57 pm
  • Hello All, To all of you regexp gurus out there... I'd like to find all of the sub strings in the form "add(.*)" The catch is that I might have () in the string (e.g. "add((2 * 2), 100)"), Currently ...
    Miki TebekaMiki Tebeka
    Jan 18, 2004 at 3:51 pm
    Jan 19, 2004 at 3:44 am
  • Hi all, i didnt understand the purpose of 'yield' keyword and the concept of 'generators' in python. can someone explain me with a small example how generators differ from normal function calls? ...
    KmKm
    Jan 17, 2004 at 5:08 pm
    Jan 18, 2004 at 12:27 pm
  • Hi, the typical usage of SimpleXMLRPCServer registers some class with the server instance and then jumps into a serve-forever loop, e.g. server = SimpleXMLRPCServer(('', 8000)) ...
    Maxim KhesinMaxim Khesin
    Jan 16, 2004 at 9:00 am
    Jan 16, 2004 at 8:48 pm
  • Hi, Im not a Python programer, but I need to use Python on some aplications CVS related. Im trying to install ViewCVS who need Tkinter library. But It doesnt Work. Im using RedHat 9 Default ...
    Diego.andradeDiego.andrade
    Jan 9, 2004 at 6:27 pm
    Jan 15, 2004 at 8:02 pm
  • Assuming an exception like: x = ValueError(u'\xf8') AFAIK the common way to get a string representation of the exception as a message is to simply cast it to a string: str(x). This will result in an ...
    Rune FroysaRune Froysa
    Jan 9, 2004 at 12:18 pm
    Jan 14, 2004 at 10:48 pm
  • If I should like to go to line 345: how can I do that? Typing M-x goto-line and then 345 is a bit cumbersome. I defines the key Alt-g to be goto-line, but it does not work. TIA, jb ----== Posted via ...
    JblaziJblazi
    Jan 10, 2004 at 9:08 pm
    Jan 11, 2004 at 12:54 pm
  • Hello comp.lang.python, I am attempting to write a threaded program right now in Python (version 2.3 on Debian unstable) and the current behavior of KeyboardInterrupt is causing me grief. From the ...
    Ivan NestlerodeIvan Nestlerode
    Jan 2, 2004 at 9:52 pm
    Jan 8, 2004 at 11:12 am
  • Hi, just started fiddling around with python, having some difficulty getting the following small play program to execute. Furious searching in the docs, manual, newsgroup did not avail me, does ...
    Julia OsipJulia Osip
    Jan 1, 2004 at 12:14 am
    Jan 7, 2004 at 8:03 pm
  • I asked this before, but got no response, but I KNOW YOU KNOW ;-) A year or so ago, I was given a really useful answer to a question posed here, which showed me how to start the debugger from withing ...
    Graham NichollsGraham Nicholls
    Jan 4, 2004 at 6:18 pm
    Jan 6, 2004 at 1:56 pm
  • How do I stop a Python program running in PythinWin? I would expect to be able to use CTR-C or CTRL-break etc. many thanks Graham Smith PeopleSoft Technical Team Leader OXFAM GB +44 (1865) 313255 ...
    GrahamGraham
    Jan 29, 2004 at 4:43 pm
    Feb 9, 2004 at 10:54 am
  • Hi all, I'm looking for a simple web proxy in python to use in order to demonstrate a web page classifier that I have developed. I checked around the web and tried some of the existing free servers ...
    Ziv ForshtatZiv Forshtat
    Jan 31, 2004 at 5:18 pm
    Feb 7, 2004 at 12:29 am
  • hmmm, all this time that I am fooling around with python I never took a good look at (py)QT. I want to have a go at it, after being a bit disapointed about the alternatives. I have read multiple docs ...
    Guyon MoréeGuyon Morée
    Jan 15, 2004 at 1:43 pm
    Feb 2, 2004 at 12:29 am
  • Hi! I'm trying to get the PDC-Computername of a foreign WinNT-domain, but I only managed to get the PDC of my own domain with this code: pdc=win32net.NetGetAnyDCName() I think it should be possible ...
    Dirk HagemannDirk Hagemann
    Jan 22, 2004 at 1:50 pm
    Feb 1, 2004 at 5:57 pm
  • Hi all, Is it possible to design my web site in Dreamweaver and add python codes in it later?? Thanx Ben
    BenBen
    Jan 28, 2004 at 2:18 am
    Jan 31, 2004 at 7:20 am
  • Hi I have a string and I want to split it by NEWLINE character. It is knowned that "Microsoft Windows, Apple's Macintosh OS and various UNIX, all use different characters to mark the ends of lines in ...
    Dragos ChirilaDragos Chirila
    Jan 30, 2004 at 2:16 pm
    Jan 31, 2004 at 4:30 am
  • Hello, is there something like "JpGraph" for python ? For those who don't know this PHP library: It is a high level drawing library that generates gif files with all kind of charts. Or (maybe better) ...
    Lothar ScholzLothar Scholz
    Jan 28, 2004 at 12:03 pm
    Jan 31, 2004 at 2:58 am
  • Hi, I'm not looking to get into a debate about case-sensitive vs. insensitive programming languages, but I was looking for suggestions about how it might be possible to add a hook to the python ...
    PTPT
    Jan 29, 2004 at 5:06 am
    Jan 30, 2004 at 11:46 pm
  • I have a list of numbers... actully I have two lists, List 1 is a list of number strings and List2 is one of numbers. List 1 example: List1 = [ '20040124123000', '20040124123001', '20040125012456'] ...
    Amy GAmy G
    Jan 28, 2004 at 2:28 am
    Jan 30, 2004 at 9:38 pm
  • Hi, is it proper to compare booleans? It is possible, of course, because they're compatible with numbers, but booleans aren't truly numbers. I'm tempted to write: return cmp(self.extends, ...
    Gerrit HollGerrit Holl
    Jan 28, 2004 at 9:21 pm
    Jan 30, 2004 at 8:51 am
  • I've recently starting using a very cheap web hoster who has python 2.2 installed.... almost free hosting (but not quite)..... Thought some of you guys might be interested.......... ...
    FuzzymanFuzzyman
    Jan 28, 2004 at 4:34 pm
    Jan 30, 2004 at 2:05 am
  • Hey I'm trying to build a gui application and need to know if the user is actually holding down the shift or ctrl key. That is, if the user currently is holding down the shift key. In pseudo code ...
    RuneRune
    Jan 28, 2004 at 7:03 pm
    Jan 29, 2004 at 12:39 pm
  • Can I install Python on a networked server and have any user run Python programs without having to go through the 9Mb client install? What are my options for distributing Python programs to my users? ...
    NEWSNEWS
    Jan 28, 2004 at 12:29 pm
    Jan 29, 2004 at 9:28 am
  • Does anyone know of an existing algorithm/module for generating a unique ID for a given CD or DVD? This would be something akin to CDDB where a CD is recognized based on its content. I could be ...
    HoangHoang
    Jan 25, 2004 at 5:37 pm
    Jan 29, 2004 at 4:30 am
  • Hello, I was wondering which would be the best way to compare a list? I was thinking of just using a for loop and testing the condition. What do you guys think? The best/fastest way of comparing ...
    FazerFazer
    Jan 28, 2004 at 1:39 am
    Jan 28, 2004 at 9:51 pm
  • Below is from python 2.3.3 on windows. I have tryed on Pythonwin and Idle and on a Solaris unix build 2.2.2. I know there are work arounds but the behavior seems a bit strange to me. c:\data ...
    Bill SneddonBill Sneddon
    Jan 28, 2004 at 2:27 pm
    Jan 28, 2004 at 8:03 pm
  • Hi. How i could compress string of data?. I heart that it?s possible to make with librep, but i?dont know the way to do it. if somebody know any way to do it or any web where explain it i would thank ...
    José CarlosJosé Carlos
    Jan 25, 2004 at 1:31 pm
    Jan 27, 2004 at 12:26 am
  • hello everybody. i've been looking around for a decent newsreader (not rss) that's written in Python. Strange, but i found none so far, i've been to sf.net, freshmeat.net, and even googled that, ...
    Daniel HanDaniel Han
    Jan 23, 2004 at 5:15 pm
    Jan 26, 2004 at 9:16 am
  • Are programming languages like spoken languages, in the sense that they all say the same things, just using different words? Like many PHP people, I was never a "real" programmer, but just picked up ...
    Python BabyPython Baby
    Jan 23, 2004 at 6:31 pm
    Jan 25, 2004 at 2:34 pm
  • I realize that this is a Python newsgroup, but do any of you know any good C/C++ compilers?? I'm interested in imbedding C with Python. Thanks
    Lucas RaabLucas Raab
    Jan 23, 2004 at 1:13 pm
    Jan 24, 2004 at 7:29 am
  • Hi all, Can someone help me out a little with Python? What do people use to debug Python code? I don't understand how to use the built in debugger and I haven't had any luck getting ddd to debug my ...
    Doug FarrellDoug Farrell
    Jan 23, 2004 at 12:16 pm
    Jan 24, 2004 at 1:50 am
  • I'm trying to discover if there's an efficient way to determine if all of the values of a Numeric array are the same. In C, I would search from the second value, checking each against the first ...
    Kyler LairdKyler Laird
    Jan 19, 2004 at 12:12 am
    Jan 20, 2004 at 9:06 pm
  • It does not, although *you* are not escaping the backslash yourself, and that is dangerous. Get in the habit of always escaping your own backslashes, so that if you ever happen to use a backslash ...
    Peter HansenPeter Hansen
    Jan 19, 2004 at 3:48 pm
    Jan 20, 2004 at 11:27 am
  • How do I make a function call itself every 24 hours. Also, is there a way to start the program automatically w/o depending on the OS functions like 'Task Scheduler' or 'Start Up Items'... this is on ...
    Bart NessuxBart Nessux
    Jan 13, 2004 at 2:23 pm
    Jan 16, 2004 at 11:18 pm
  • I am fairly new to Python. Today, I wanted a priority queue. I notice that Python does not have any sorted lists. I know that I can call list.sort(), but that seems rather inefficient to call every ...
    MetalOneMetalOne
    Jan 16, 2004 at 7:06 am
    Jan 16, 2004 at 8:33 pm
  • I have a list, which consists of just numbers. Is there a command that will allow me to total up these numbers and get an average? Say for example, the list looks thus: numberlist = [10, 2, 5, 7, 3, ...
    NarsilNarsil
    Jan 14, 2004 at 9:03 pm
    Jan 16, 2004 at 12:42 pm
  • I just installed Python 2.3.3 under Windows XP professional. After I did, my wife tried to access her email using Outlook Express and got the error messages: Your server has unexpectedly terminated ...
    M. LaymonM. Laymon
    Jan 11, 2004 at 11:39 pm
    Jan 12, 2004 at 8:42 pm
  • Hi! I'm looking for a script to translate from 'compiler' AST to py source and executable code. Google search reveals hardly useful links. Is there something like that or it is left as an exercise ...
    Andrey KhavryuchenkoAndrey Khavryuchenko
    Jan 11, 2004 at 2:34 pm
    Jan 12, 2004 at 8:40 pm
  • Hello, I need to run a Python program dynamically within another program. I am using exec for the purpose. Is there a way to pass parameter switches to exec? -Premshree [http://www.qiksearch.com/] ...
    Premshree PillaiPremshree Pillai
    Jan 12, 2004 at 1:39 pm
    Jan 12, 2004 at 8:09 pm
  • Hello, I started to learn how to use python with CGI. I went through some tutorials, but then I found one problem, that seems to be something stupid. I tried to find answer using google, but I ...
    MimalMimal
    Jan 9, 2004 at 2:19 pm
    Jan 12, 2004 at 11:37 am
Group Navigation
period‹ prev | Jan 2004 | next ›

1,016 user for January 2004

Peter Hansen: 86 posts John J. Lee: 83 posts Skip Montanaro: 69 posts Ville Vainio: 68 posts Aahz: 62 posts Jeff Epler: 59 posts Peter Otten: 59 posts Gerrit Holl: 55 posts Josiah Carlson: 54 posts Samuel Walters: 46 posts John Roth: 42 posts Jp Calderone: 39 posts Martin v. Löwis: 37 posts Michael Hudson: 36 posts Erik Max Francis: 35 posts Francis Avila: 34 posts Terry Reedy: 33 posts Robert Brewer: 30 posts Cameron Laird: 29 posts Fuzzyman: 28 posts
show more
Archives