RE: Problem saving datetime to file and reading it back for a calculation

2020-10-11 Thread Steve
Thanks for the responses. Somehow, all of my python messages were shifted into the deleted folder so I missed all of them until I caught the one from MRAB. I will sift through them and probably update my technique to use seconds as suggested. Still, I enjoyed the kluge I created making it work b

What might cause my sample program to forget that already imported datetime?

2020-10-12 Thread Steve
At the top of my sample program, I have: import datetime from datetime import * But import datetime also has to be entered on line 21 as shown. The error is printed at the bottom of the code. Why does the code seem to forget that I have already imported datetime? =

RE: What might cause my sample program to forget that already imported datetime?

2020-10-12 Thread Steve
: Re: What might cause my sample program to forget that already imported datetime? On Mon, Oct 12, 2020 at 9:14 PM Steve wrote: > > At the top of my sample program, I have: > > import datetime > from datetime import * > > But import datetime also has to be entered on line 21 a

Weird behavior for IDLE...

2020-10-13 Thread Steve
did not see anything that would help. It is most annoying, is there a fix for it? I explored Steve == Footnote: Mars is the only known planet in our solar system solely inhabited by functioning robots. -- https://mail.python.org/mailman

How do I get datetime to stop showing seconds?

2020-10-16 Thread Steve
d2 = datetime.datetime.now() #Time Right now Show this: 2020-10-16 02:53 and not this: 2020-10-16 02:53:48.585865 == Footnote: If you double major in psychology and reverse psychology, to they cancel each other out? -- -- https://m

RE: How do I get datetime to stop showing seconds?

2020-10-16 Thread Steve
showing seconds? On 2020-10-16 9:42 AM, Steve wrote: > d2 = datetime.datetime.now() #Time Right now > > Show this: 2020-10-16 02:53 > and not this: 2020-10-16 02:53:48.585865 > >>> >>> str(d2) '2020-10-16 10:29:38.423371' >>> >>>

File Name issue

2020-10-17 Thread Steve
","a") And it works. At first, I thought the issue was due to having the - in the filename. Is there a fix or explanation for this? Steve FootNote: Would it be ironic if Popeye's chicken was fried in Olive Oil? -- https://mail.python.org/mailman/listinfo/python-list

RE: File Name issue

2020-10-18 Thread Steve
I am not sure if what I did to repair it but the problem is gone. A copy/paste/rename was performed on the original code file and now I do not get the error. No need for "r" or "\"... WTH? I hate it when that happens. Steve Footnote: "What rhymes with orange?" &q

Is there a log file that tracks every statement that is being executed when a program is running?

2020-10-24 Thread Steve
coaster: "W" Spanish speakers on a rollercoaster: " Nosostros" -Original Message- From: Python-list On Behalf Of shrimp_banana Sent: Saturday, October 17, 2020 9:47 PM To: python-list@python.org Subject: Re: File Name issue On 10/17/20 4:12 PM, Steve wrote: >

RE: Is there a log file that tracks every statement that is being executed when a program is running?

2020-10-25 Thread Steve
. FootNote: If money does not grow on trees, then why do banks have branches? From: Maxime S Sent: Sunday, October 25, 2020 7:15 AM To: Steve Cc: Python Subject: Re: Is there a log file that tracks every statement that is being executed when a program is running? Hi, You can use

Time Date Conversion?

2020-11-04 Thread Steve
lineEQN[7:36].strip() When I print ItemDateTime, it looks like: 2020-11-04 17:28:03.352027 How do I display it as "Wednesday, November 4, 2020 5:28pm" ? Steve - Footnote: Seatbelts are very dangerous. I ca

Is there a conflict of libraries here?

2020-11-05 Thread Steve
hem. The error produced is: time1 = datetime.datetime.strptime(T1, date_format) AttributeError: type object 'datetime.datetime' has no attribute 'datetime' How do I have my cake and eat it too? Steve Footnote: Some mornings it just isn't worth ch

RE: Is there a conflict of libraries here?

2020-11-06 Thread Steve
l Message- From: Python-list On Behalf Of Peter Pearson Sent: Friday, November 6, 2020 10:36 AM To: python-list@python.org Subject: Re: Is there a conflict of libraries here? On Fri, 6 Nov 2020 02:25:25 -0500, Steve wrote: > In my program, I have the following lines of code:

RE: Is there a conflict of libraries here?

2020-11-07 Thread Steve
ee :{}, seems bizarre.. Is my dt1 now a variable containing the properties of datetime and they are listed between { } and available globally. Do I then have dt1.datetime and dt2.datetime as separate instances? Is that how they are identified? How are they applied? More questions will follow.

RE: Is there a conflict of libraries here?

2020-11-07 Thread Steve
: Is there a conflict of libraries here? On 2020-11-07 13:26:30 -0500, Steve wrote: > Ok, I think I see a light in the fog. > > It looks as if I can identify a variable to contain a library. > > Import datetime as dt1 > > I guess that I can have a second variable contain

installing cx_Oracle on Unix/Solaris

2005-09-27 Thread Steve
I'm posting this message here, so that someone googling here will be able to find it. I was having problems installing cx_Oracle on Solaris. The build would fail with a message: > ld: fatal: file /apps/oracle/prod/9.2/lib/libclntsh.so: wrong ELF class: > ELFCLASS64 I found the solution on Grig

Why do I get an import error on this?

2005-10-07 Thread Steve
I'm trying to run a Python program on Unix and I'm encountering some behavior I don't understand. I'm a Unix newbie, and I'm wondering if someone can help. I have a simple program: #! /home/fergs/python/bin/python import sys, os import cx_Oracle _

Re: Why do I get an import error on this?

2005-10-07 Thread Steve
I did "which python" and the two paths were different. Once I fixed the path in the script, it worked fine. Thanks Frederik and Micah! -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Hatred FAQ (TROLL DONT REPLY)

2005-10-15 Thread steve
TROLL -- http://mail.python.org/mailman/listinfo/python-list

Jargons of Info Tech industry

2005-10-18 Thread Steve
e these perennial difficulties of prereference, clarity, and common sense. Perhaps one day we will converge on near optimal solutions to these and like issues; which will be coded and formalised in standards, and which will stand for the indefinate future. Regards, Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: a Haskell a Day

2005-10-27 Thread steve
On Wed, 26 Oct 2005 18:35:49 +0800, Roedy Green wrote (in article <[EMAIL PROTECTED]>): > On 26 Oct 2005 00:38:23 -0700, "Xah Lee" <[EMAIL PROTECTED]> wrote, > quoted or indirectly quoted someone who said : > >> A Haskell A Day: Manifesto > This is the wrong newsgroup. Had you done the same for J

SuSe 10.0 missing Idle

2005-11-10 Thread Steve
and would really like to get Idle back or failing that a reccommendation of another IDE for python? Thanks in Advance Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: SuSe 10.0 missing Idle

2005-11-10 Thread Steve
Joseph Garvin wrote: > Steve wrote: > >>Hello, >> >>Hopefully this is not to of topic. I just installed SuSe >>10.0 >> and although python installed but no Idle. I can't seem to find it >> in >>the list of available packages e

Python training information - now on the wiki

2005-11-15 Thread Steve
I've added a page listing Python training resources to the wiki http://wiki.python.org/moin/PythonTraining -- http://mail.python.org/mailman/listinfo/python-list

Shutdown hook

2005-11-15 Thread Steve
Does any one know if python has the ability to run a shutdown hook. For example you set a method to run when the python process is shutting down, like it recieved a kill signal? Basically looking for an effect like the following java code. Runtime.getRuntime().addShutdownHook(new Thread(this));

Re: Shutdown hook

2005-11-15 Thread Steve
Thanks do appreciate it -- Lisp Programming - You don't know what your missing ... == Help Send Laurie to Veterinary School http://www.sendlaurietovetschool.com -- http://mail.python.org/mailman/listinfo/python-list

can modules be dynamically reloaded

2005-11-16 Thread Steve
Can python modules be reloaded. For example you import a module, programatically edit it, then have the file reload the module? Does anyone have any ideas about this? Steve -- http://mail.python.org/mailman/listinfo/python-list

Zope vs Php

2005-11-17 Thread Steve
rom what I can tell you can't just do <% #python code %> some title this is what we would like to do with session support and things that php provides? Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Zope vs Php

2005-11-17 Thread Steve
I am going to go the mod_python route. as for why a person would go route one over route 2 is that the number of lines of html/output vs python code are usually 10 to 1 and it's much easier to encapsulate the python code than to quote and escape all the html/css/xml Thanks for the help <% #pyth

Re: Web-based client code execution

2005-11-18 Thread Steve
AJAX works because browsers can execute javascript. I don't know of a browser that can execute python. Basically your stuck with java or javascript because everything else really isn't cross platform. -- http://mail.python.org/mailman/listinfo/python-list

Re: Web-based client code execution

2005-11-18 Thread Steve
You universally won't be able to do that with javascript, only with and extension on firefox. ActiveX will limit you to windows only with ie. Which isn't bad you still get a 80% market share. -- http://mail.python.org/mailman/listinfo/python-list

Tutorials for Python + PostgreSQL

2005-11-23 Thread Steve
I want to learn more about enterprise-level programming using Python and PostgreSQL. From what I've searched, it seems that psycho is interesting to improve runtime too. Do you have tutorials, articles and tips to learn this combination? I've been working with PostgreSQL for 2 years, and with Pytho

Re: Python book for a non-programmer

2005-11-25 Thread Steve
I recommend "The Quick Python Book" by Daryl Harms. What makes it different from all other introductory books is that it is actually *readable*. You can just sit down and read it like a novel and enjoy it. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get started in GUI Programming?

2005-11-25 Thread Steve
> Can anyone offer any suggestions as to the least painful way forwards? http://www.ferg.org/easygui/index.html -- http://mail.python.org/mailman/listinfo/python-list

MySQLdb-python how to install on MacOsX

2005-11-29 Thread Steve
Darwin steve.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc MacOSX 10.4.3 mysql Ver 14.7 Distrib 4.1.14, for apple-darwin8.2.0 (powerpc) using readline 4.3 runing the software gives me steve:~/MySQL-python

Re: Tkinter: using a Listbox

2005-01-07 Thread Steve
> #Listbox > self.listbox = Listbox(self.selectFrame) > self.listbox.insert(END, "a list entry") > for item in ["A","B","C"]: > self.listbox.insert(END, item) Don't forget to pack the listbox. You may find this useful... http://www.ferg.org/thinking_in_tkinter/index.html -- http://mail.py

The next Xah-lee post contest

2005-01-29 Thread Steve
- ..phew, this is hard !! I'll have another go later. You are welcomed to participate. Regards Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: how to use more than 1 __init__ constructor in a class ?

2005-06-22 Thread Steve
st to be safe, I'll leave out the explanation :) Regards Steve On 6/22/05, scott <[EMAIL PROTECTED]> wrote: > hi people, > > can someone tell me, how to use a class like that* (or "simulate" more > than 1 constructor) : > #-- > class myPointClass: >def

Re: Favorite non-python language trick?

2005-06-24 Thread Steve
all. I know, I can do the preprocessing myself in pycompile, but this would be a nice to have. Regards Steve On 6/24/05, Joseph Garvin <[EMAIL PROTECTED]> wrote: > As someone who learned C first, when I came to Python everytime I read > about a new feature it was like, "Who

problem with ActiveState install

2005-07-26 Thread Steve
in advance, -- Steve Ferg -- http://mail.python.org/mailman/listinfo/python-list

Error

2005-07-30 Thread steve
The message cannot be represented in 7-bit ASCII encoding and has been sent as a binary attachment. -- Virus Warning Message (on cse.iitkgp.ernet.in) file.bat is removed from here because it contains a virus. --- http://

An editable buffer for the Python shell (similar to '\e' on sql prompts)

2005-08-05 Thread Steve
m/ASPN/Cookbook/Python/Recipe/438813 Just thought some one else also would find this useful. Regards Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Experience regarding Python tutorials?

2005-08-26 Thread Steve
Python is an excellent place to start. Avoid Perl at all costs. There is a new beginners book on Python that looks interesting. It is from WROX (the red cover folks) and called "Beginning Python". http://www.amazon.com/exec/obidos/tg/detail/-/0764596543/qid=1125072498/sr=1-1/ref=sr_1_1/002-4477

Re: How to define a window's position (Tkinter)

2005-02-27 Thread Steve
I suspect you need to retrieve the window size, calculate the position based on the size, and reset size and position. You might look at http://www.ferg.org/easygui/index.html for some ideas. Scroll down to the definition of the __choicebox routine. Good luck! -- Steve Ferg -- http

Tkinter WEIRDNESS or Python WEIRDNESS?

2005-03-11 Thread steve
() drawMainButtons() masterWin.mainloop() -- This has me flumoxed thanks if you can work it out, Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter WEIRDNESS or Python WEIRDNESS?

2005-03-12 Thread steve
Brian van den Broek <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > steve said unto the world upon 2005-03-12 00:06: > > In a nutshell, my problem is that I am getting this runtime error, and > > I have no clue why. Please bear in mind

Interface support?

2005-03-17 Thread Steve
Is it possible to design interfaces that classes must implement in Python? If it's not, is this functionality planned at all for the future? Thanks, Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Interface support?

2005-03-17 Thread Steve
same interface package for both, or are they different? If different, is one better than the other? Thanks, Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: disk based dictionaries

2004-12-02 Thread Steve
#x27;foo':'bar', 1:'ham', 'eggs':10} >>> fl = open('mydict', 'wb') >>> pickle.dump(d, fl) >>> del(d) >>> dir() ['__builtins__', '__doc__', '__file__', '__name__', &#x

Re: numbering variables

2005-03-29 Thread Steve
Ron_Adam wrote: On Mon, 28 Mar 2005 13:39:17 +0200, remi <[EMAIL PROTECTED]> wrote: Hello, I have got a list like : mylist = ['item 1', 'item 2','item n'] and I would like to store the string 'item1' in a variable called s_1, 'item2' in s_2,...,'item i' in 's_i',... The lenght of mylist is fi

Things you shouldn't do

2005-03-29 Thread Steve
All names have been removed to protect the guilty :-) In an earlier post, I read a piece of code: l1 = [1, 2, 3] l2 = [1, 2, 3] l1 == l2 True I immediately gave a double-take: 11 equals 12? What gives? Can you re-bind literals in Python??? >>> 11 = [1, 2, 3] SyntaxError: can't assign to literal A

Proposal: an unchanging URL for Python documentation

2005-04-18 Thread Steve
the Wikalong sidebar (assuming that they have Wikalong installed in the first place). -- Steve Ferg -- http://mail.python.org/mailman/listinfo/python-list

Re: Proposal: an unchanging URL for Python documentation

2005-04-19 Thread Steve
I stand corrected. Not only does what I wanted already exist, it seems to exist in TWO places. For the module index, for instance, there is http://docs.python.org/modindex.html and there also is http://python.org/doc/current/modindex.html Anybody know why there are two different URLs? Which

kickoff -- wikalong documentation for Python

2005-04-24 Thread Steve
I've kicked off wikalong documentation for Python by adding an example program to the documentation for the HTMLParser module. See http://python.org/doc/current/lib/module-HTMLParser.html (Generally, I think most wikalong annotations won't take the form of complete example programs, but this was a

Unicode Chars in Windows Path

2014-04-02 Thread Steve
ing path in the output : c:\automation_common\Python\TestCases\list_dir_script.txt What is the "magic" encode/decode sequence here?? Thanks! Steve -- https://mail.python.org/mailman/listinfo/python-list

*tuple vs tuple example print os.path.join(os.path.dirname(os.tmpnam()), *("a", "b", "c"))

2005-12-13 Thread Steve
I have been trying to find documentation on the behavior Can anyone tell me why the first example works and the second doesn't and where I can read about it in the language reference? Steve print os.path.join(os.path.dirname(os.tmpnam()),*("a","b","c")) #work

ANN: Introduction to Event-Driven Programming

2006-01-19 Thread Steve
on to the basic concepts, but I couldn't find one. This is my attempt to fill that void. Suggestions for improvements can be sent to me at steve(at)ferg(dot)org. -- http://mail.python.org/mailman/listinfo/python-list

Re: first book about python

2006-07-12 Thread Steve
I recommend "The Quick Python Book" by Harms and McDonald. Its strength is its brevity and *readability* -- you can actually just sit down and read it and enjoy it. It doesn't cover the newest features of Python or the most advanced, but that is not necessary in a beginner's book. Once you're up

Are there any AOP project in python community?

2006-08-02 Thread steve
I mean Aspect-Oriented Programming. If any please give me some of links. Thanks a lot. -- http://mail.python.org/mailman/listinfo/python-list

Is x.f() <==>MyClass.f(x) a kind of algebraic structure?

2006-10-21 Thread steve
I thought that when read Guido van Rossum' Python tutorial.What can we think that? -- http://mail.python.org/mailman/listinfo/python-list

How the event list be sent to EventManager?

2006-10-25 Thread steve
The example code from: http://sjbrown.ezide.com/games/example1.py.html ... def Notify( self, event ): if not isinstance(event, TickEvent): Debug( " Message: " + event.name ) for listener in self.listeners.keys(): #If the weakref has died, remo

Re: How the event list be sent to EventManager?

2006-10-27 Thread steve
Can an argument to reference an object's attribute?? Fredrik Lundh wrote: > steve wrote: > > > The example code from: http://sjbrown.ezide.com/games/example1.py.html > > ... > > def Notify( self, event ): > > if not isinstance(even

Re: How the event list be sent to EventManager?

2006-10-27 Thread steve
Thank you,Fredrik,I see. Fredrik Lundh wrote: > steve wrote: > > > Can an argument to reference an object's attribute?? > > sorry, cannot parse that sentence. > > the arguments to a method are objects, and objects have attributes. why > do you find

Cann't connect zope server

2006-10-30 Thread steve
Can I ask question about zope here? I started Zserver but could not connect to it using firefox.The runzope gave message: /usr/bin/zope/instance/bin/runzope -X debug-mode=on 2006-10-31 12:50:45 INFO ZServer HTTP server started at Tue Oct 31 12:50:45 2006 Hostname: 0.0.0.0 Port: 80

Tools for Java/Python scripting

2006-11-03 Thread Steve
I have added a page to the wiki, listing tools for Java-Python scripting (Java-Python interoperability). http://wiki.python.org/moin/Java_Scripting I have included information about all of the tools that I could find. If you know others, please add information about them to the page. -- http:/

Re: Tools for Java/Python scripting

2006-11-03 Thread Steve
The URL is now: http://wiki.python.org/moin/JavaScripting -- http://mail.python.org/mailman/listinfo/python-list

Python 411.

2006-06-12 Thread Steve
Cheers and many thanks Ron Steve -- http://mail.python.org/mailman/listinfo/python-list

Regular Expression - old regex module vs. re module

2006-06-29 Thread Steve
Integer Match : ", integerPattern.search(s).span() ) #i1 , i2 = integerPattern.regs[2] i1 , i2 = integerPattern.search(s).span() width_total = i2 - i1 f = '%'+`width_total`+'d' #s = regsub.sub(integerPattern, '\\1'+f, s) s = integerPattern.sub(f, s) Thanks in advance! Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Regular Expression - old regex module vs. re module

2006-06-30 Thread Steve
format for multiple calls with sequence data. 6/30/2006 Steve Reiss ([EMAIL PROTECTED]) - Converted to re module methods """ __author__ = "Robin Friedrich [EMAIL PROTECTED]" __version__ = "1.0.0" import string import sys import re from types import StringTy

Re: Python visual IDE

2006-11-22 Thread Steve
I haven't used it but Komodo (Professional version) says it has: ActiveState GUI Builder (Komodo Professional only) Enhance your applications with GUI dialogs: Simple, Tk-based dialog builder with seamless round-trip integration, for Perl, Python, Ruby, and Tcl. -- http://mail.python.org/mailma

Re: How do I access a main frunction from an import module?

2006-11-24 Thread Steve
This is an interesting question. It almost looks like a case of event-driven programming, where main is the plug-in and abc is the framework. http://eventdrivenpgm.sourceforge.net/ So how about something like this: ## abc.py #

Re: Python 2.5 idle and print command How do I suppress a line feed?

2006-11-25 Thread Steve
See http://www.ferg.org/projects/python_gotchas.html#contents_item_4 -- http://mail.python.org/mailman/listinfo/python-list

SOAPpy - Getting info about the __init__ method

2006-12-06 Thread Steve
ce = None type = (u'http://www.site.com/offerperf', u'ArrayOfPerfPromoInfo') Input Parameters : Name : in0 Type : ArrayOf_xsd_int Thanks! Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: function with variable arguments

2005-05-13 Thread Steve
ge(*args): return range(*args) Regards Steve PS: but what do I know, I'm a F'ing imcompetent ass -- http://mail.python.org/mailman/listinfo/python-list

Re: property, how to use it?

2005-05-13 Thread Steve
1) when one tries to access 'a.years', a '0' would be returned even if the value was not set or was set to a negative value, and 2) If a value is assigned to the 'years' attribute, we should check for negative values. HTH Regards Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: (Re)announcing APL 2007

2007-08-09 Thread Steve
On Aug 6, 7:20 am, Paul Mansour <[EMAIL PROTECTED]> wrote: > On Aug 5, 11:54 pm, Mike Kent <[EMAIL PROTECTED]> wrote: > > > APL 2007 conference on Array Programming > > > co-located with OOPSLA 2007 > > > Sponsor: ACM SIGAPL > > > Where:Montreal > > > When:

High performance binary data

2007-08-09 Thread Steve
ideas on the subject. Pointers any one? Thanks Steve -- http://mail.python.org/mailman/listinfo/python-list

Help With PyParsing of output from win32pdhutil.ShowAllProcesses()

2007-09-11 Thread Steve
"C:\Python25\lib\site-packages\pyparsing.py", line 716, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "C:\Python25\lib\site-packages\pyparsing.py", line 2106, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "C:\Python25\lib\site-packages\pyparsing.py", line 716, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "C:\Python25\lib\site-packages\pyparsing.py", line 1118, in parseImpl raise exc pyparsing.ParseException: Expected "Process Name ID Process,% Processor Time,% User Time,% Privileged Time,Virtual Bytes Peak,Virtual Bytes" (at char 0), (line:1, col:1) Many thanks! Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Help With PyParsing of output from win32pdhutil.ShowAllProcesses()

2007-09-11 Thread Steve
SampleTime, VirtualBytesMax, VirtualBytes\n') for current_stat in Memory_Dict: line = ('%s,%d,%d\n') % (current_stat, Memory_Dict[current_stat] [0],Memory_Dict[current_stat][1] ) outfile.write(line) outfile.close()# close output file if __name__ == "__main__": Main() - I have found that the process that you want to want to monitor needs to be started before this script is started. The script will handle when the process disappears and set the stats to zeros. Enjoy! Steve -- http://mail.python.org/mailman/listinfo/python-list

Setting Up SOAPpy for Python v2.5 on Windows?

2007-03-13 Thread Steve
Hi All, What are the required version of the SOAPpy, PyXML, fpconst that are needed to run under the Python 2.5 environment on Windows? Locations for the downloads? Thanks! Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Setting Up SOAPpy for Python v2.5 on Windows?

2007-03-14 Thread Steve
All, Thanks for the suggestions! I think that I will move forward with elementsoap instead of soappy... Steve On Mar 13, 11:53 am, "Steve" <[EMAIL PROTECTED]> wrote: > Hi All, > > What are the required version of the SOAPpy, PyXML, fpconst that are > needed

Question about text in Python

2007-04-02 Thread Steve
Hi, I've created a Python program that a user enteres one line of text which will then create an acronym from that text. What I want to add to the program is the abilty to rerun this process (where the user enteres another line of text) until the user has had enough and enters a blank line whi

Re: Question about text in Python

2007-04-02 Thread Steve
Yes it is. Where else to ask for help but here. Thanks for your help everyone. I figured it out. "Bjoern Schliessmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Steve wrote: > >> What I want to add to the program is the abilty to rerun thi

Dictionary help

2007-10-31 Thread Steve
associated parts to a printer. Not having any luck. I can list them to the screen but not the printer. Any help/ideas would be appreciated. Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: Dictionary help

2007-10-31 Thread Steve
On Wed, 31 Oct 2007 17:02:49 -0500, Larry Bates wrote: > Steve wrote: >> I'm currently working on a little database type program is which I'm >> using a dictionary to store the information. The key is a component a >> and the definition is a list of parts that make

Re: Dictionary help

2007-11-01 Thread Steve
On Thu, 01 Nov 2007 04:16:10 -0700, wes weston wrote: > Steve wrote: >> I'm currently working on a little database type program is which I'm >> using a dictionary to store the information. The key is a component a >> and the definition is a list of parts that make

Pyparsing - Dealing with a Blank Value

2007-01-25 Thread Steve
kens = %s %d %d \n' % (srvrtokens, startloc,endloc) Output : Line = GroupYearCity tokens = ['Group', 'Year', 'City'] 0 49 Line = AAA1992Los Angeles tokens = ['AAA', '1992', 'Los Angeles'] 0 54 Line = BBB2007Santa Cruz token

Re: Pyparsing - Dealing with a Blank Value

2007-01-26 Thread Steve
Hi Paul! Thanks for your suggestions on the default value (I didn't know you could do that!!) and the use of the makeHTMLtags module! Steve On Jan 25, 8:07 pm, "Paul McGuire" <[EMAIL PROTECTED]> wrote: > On Jan 25, 7:13 pm, "Steve" <[EMAIL PROTECTED]> w

Re: wx Python event question

2007-01-27 Thread Steve
use wx.Timer - you bind a method to a timer event and define the timer's interval when you start it timer = wx.Timer(self, -1) self.Bind(wx.EVT_TIMER, self.timerMethod, timer) timer.Start(500) On Jan 27, 5:56 pm, "dudds" <[EMAIL PROTECTED]> wrote: > Hi I really haven't used wxPython before and I

list of range of floats

2007-02-14 Thread Steve
of floats? TIA Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: list of range of floats

2007-02-14 Thread Steve
On Wed, 14 Feb 2007 17:27:06 +, Dale Strickland-Clark wrote: > Steve wrote: > >> I'm trying to create a list range of floats and running into problems. >> I've been trying something like: >> >> a = 0.0 >> b = 10.0 >> >> flts = ran

Re: list of range of floats

2007-02-14 Thread Steve
On Wed, 14 Feb 2007 17:29:26 +, Simon Brunning wrote: > On 2/14/07, Steve <[EMAIL PROTECTED]> wrote: >> I'm trying to create a list range of floats and running into problems. >> I've been trying something like: >> >> a = 0.0 >> b = 10.0

Re: list of range of floats

2007-02-14 Thread Steve
On Wed, 14 Feb 2007 18:46:34 +, Simon Brunning wrote: > On 2/14/07, Steve <[EMAIL PROTECTED]> wrote: >> After re-reading my original post I was pretty vague. I'm trying to creat >> a list of ranges of floats, 0.0 10.0, 11 20, etc then checking to see if >> an

Re: list of range of floats

2007-02-15 Thread Steve
On Thu, 15 Feb 2007 05:57:45 -0800, Bart Ogryczak wrote: > On Feb 14, 6:12 pm, Steve <[EMAIL PROTECTED]> wrote: >> I'm trying to create a list range of floats and running into problems. > > I've tried it the easy way. Works. > map(float,range(a,b)) Than

Re: AOP and pep 246

2007-11-13 Thread Steve
va.com/pub/a/onjava/2004/07/14/springaop.html This article was written in 2004. It has taken some time for awareness of Spring to penetrate the Java community, but it appears to be happening in a serious way. -- Thank-god-I-don't-have-to-learn-all-this-Java-superstructure-stuff- ly yours,

Re: SPAM

2007-11-14 Thread Steve
You can do a little spamming of your own here... http://help.blogger.com/?page=troubleshooter.cs&problem=&ItemType=spam&contact_type=Spam&Submit=Continue Just enter the offending blogspot URL and hopefully they'll sort this guy out. Steve "just bob" <[EMAIL

Is PythonCard dead?

2006-05-09 Thread Steve
There haven't been any updates since version 0.8.1 in October 2004, almost 18 months. And the new book on wxPython doesn't say anything about PythonCard, which I find rather surprising. -- http://mail.python.org/mailman/listinfo/python-list

[silly] Does the python mascot have a name ?

2006-05-16 Thread Steve
umm, was just wondering, does the python mascot have a name ? We are naming the conference rooms in our office you see :o). Also, is there a place I could get some neat, good quality pics of the python ? - steve -- http://mail.python.org/mailman/listinfo/python-list

Re: [silly] Does the python mascot have a name ?

2006-05-16 Thread Steve
John D Salt wrote: > Steve <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > >> umm, was just wondering, does the python mascot have a name ? > > I always assumed it was Monty, but I confess to not having the slightest > factual basis for this belief.

Re: [silly] Does the python mascot have a name ?

2006-05-18 Thread Steve
language called python ? DEV: Well, it is named after Monty Python. PHB: Eh, but you just said the mascot was called Monty. Do you mean the language was named after it's mascot ??!!?? DEV: Eh, yeah. They spent a lot of time deciding the mascot and naming it, before they designed the language. Regards Steve -- http://mail.python.org/mailman/listinfo/python-list

<    1   2   3   4   5   6   7   8   9   10   >