"Matt Hollingsworth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Very new to python, so a noob question. When I've written
stuff in
> JavaScript or MEL in the past, I've always adopted the variable
naming
> convention of using a $ as the first character (no, I don't use
perl,
Ca
http://www.zope.org/Wikis/ZODB/FrontPage/guide/index.html
This should solve this problem.
---
Mir Nazim
www.planetnazim.com
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the input, people!
--
http://mail.python.org/mailman/listinfo/python-list
"Uwe Mayer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> con: If you are planning larger applications (for a reasonable
value of
> "large") you have to discipline yourself to write well
structured code.
As always.
> Then you will want to specify interfaces, accessor functions
wi
Dennis Lee Bieber schrieb:
> On Fri, 24 Jun 2005 13:42:39 +0200, Sibylle Koczian
> <[EMAIL PROTECTED]> declaimed the following in
> comp.lang.python:
>
>
> ll[2:] = ...
>
> is not an object creation, merely an access into an existing object.
>
That's what I hadn't understood. Although it'
[Andrew Gordon]
|
| I'm investigating getting Microsoft Navision to do stuff from
| a Python script.
[... snip ...]
No help here, I'm afraid.
| 2) Every character in the body of messages sent from send.py has a 0
| value character after them (ie in hex 48 00 65 00 6C 00 6C 00
| 6F 00 20
Hello,
I have to download a lot of files. And at the moment i am trying with URLLib.
But sometimes it doesn't download the whole file. It looks like it stops
half way through or something. Is it possible to ask for the file size before
you download, and then test afterwards if the whole file wa
i have a large number of lines i want to turn into a list.
In perl, i can do
@corenames=qw(
rb_basic_islamic
sq1_pentagonTile
sq_arc501Tile
sq_arc503Tile
);
use Data::Dumper;
print Dumper([EMAIL PROTECTED]);
--
is there some shortcut to turn lines into list in Python?
Xah
[EMAIL PROTE
Xah Lee wrote:
> i have a large number of lines i want to turn into a list.
> In perl, i can do
>
> @corenames=qw(
> rb_basic_islamic
> sq1_pentagonTile
> sq_arc501Tile
> sq_arc503Tile
> );
>
> use Data::Dumper;
> print Dumper([EMAIL PROTECTED]);
>
> --
> is there some shortcut to turn l
Xah Lee wrote:
> i have a large number of lines i want to turn into a list.
> In perl, i can do
>
> @corenames=qw(
> rb_basic_islamic
> sq1_pentagonTile
> sq_arc501Tile
> sq_arc503Tile
> );
Impractical to mix code and data, isn't it?
chomp( my @corenames = );
__DATA__
rb_basic_islamic
sq1_pent
Xah Lee (27.06.2005 12:33):
> i have a large number of lines i want to turn into a list.
> In perl, i can do
>
> @corenames=qw(
> rb_basic_islamic
> sq1_pentagonTile
> sq_arc501Tile
> sq_arc503Tile
> );
>
> use Data::Dumper;
> print Dumper([EMAIL PROTECTED]);
>
> --
> is there some short
On Sun, 26 Jun 2005 23:22:00 -0500, Terry Hancock wrote:
>> You need to differentiate
>>a = b = 1
>> from
>>a = b == 1
>
> Okay, I see what you mean. I can't ever recall having needed the
> second form, though.
>
> Of course, you could still do assignment like this:
>
> a, b = (1,)*2
>
Hello,
I'm trying to read the binary files under /var/spool/rwho/ so I'm wondering if
anyone has done that before or could give me some clues on how to read those
files. I've tried to use the binascii module without any luck.
Best regards,
-fredrik-normann-
--
http://mail.python.org/mailman/li
Alan Gauld wrote:
> In Python Hungarian notation is meaningless since variables
> aren't typed anyway.
in real-life Python code, variables tend to be 'typed' in the hungarian
sense:
http://msdn.microsoft.com/library/en-us/dnvs600/html/hunganotat.asp
"/.../ the concept of 'type' in this cont
Steven D'Aprano wrote:
> On Sun, 26 Jun 2005 23:22:00 -0500, Terry Hancock wrote:
>
>>>You need to differentiate
>>> a = b = 1
>>>from
>>> a = b == 1
>>
>>Okay, I see what you mean. I can't ever recall having needed the
>>second form, though.
>>
>>Of course, you could still do assignment like
I have a .DLL that I am extracting the file version from using wmi.py.
The specific code is:
c = wmi.WMI()
for f in
c.CIM_DataFile(Name="c:\\glossersdmsservices\\bin\\glosscmanager.dll"):
sdmsver = f.Version
this works fine when running the application as a python file, when I
On Mon, 27 Jun 2005 07:14:07 +, Alan Gauld wrote:
> The only place I've ever found Hungarian notation useful was
> in C which is a weird mix of static typing and no-typing,
> and there the prefix code gives a clue as to what kind of
> value you might expect to find. But when I moved to C++ I
>
[Greg Miller]
| I have a .DLL that I am extracting the file version from using wmi.py.
| The specific code is:
|
| c = wmi.WMI()
| for f in
| c.CIM_DataFile(Name="c:\\glossersdmsservices\\bin\\glosscmanag
| er.dll"):
| sdmsver = f.Version
|
| this works fine when running the a
Alan Gauld wrote:
> The only place I've ever found Hungarian notation useful was
> in C which is a weird mix of static typing and no-typing,
> and there the prefix code gives a clue as to what kind of
> value you might expect to find. But when I moved to C++ I
> dropped the prefixes because they a
Hi,
On Monday 27 June 2005 12:10, Oyvind Ostlund wrote:
> I have to download a lot of files. And at the moment i am trying with
> URLLib. But sometimes it doesn't download the whole file. It looks like it
> stops half way through or something. Is it possible to ask for the file
> size before you
Thanks for the tweaked code, it worked on my desktop. The acid test
will be when I put it on one of the "virgin" PC's ( no python
installed, just running the py2exe executable ) that run the machine.
I won't be getting one of those until later in the week, but I'm hoping
that since it cleared the
[EMAIL PROTECTED] wrote:
> Hi Matt,
> I also am almost a newbie (in Python) and my approach to variable
> naming
> follows more or less the Hungarian Type Notation Defined.
which is seen as a bad practice anywhere outside Win32...
http://mindprod.com/jgloss/unmainnaming.html
--
bruno desthuill
[Greg Miller]
| Thanks for the tweaked code, it worked on my desktop.
Thanks for the confirmation; I don't use py2exe myself,
and while I could run up a test case (and probably should
given the number of queries I get like this) I've never
got round to it.
I'm close to releasing a version 1.0
See definition of splitlines().
(http://docs.python.org/lib/string-methods.html)
-- Paul
--
http://mail.python.org/mailman/listinfo/python-list
You can use Python Imaging Library (PIL) and ReportLab to resize and
place the photos on a page quite easily. Actually ReportLab calls
PIL automatically to resize the photos when you call .drawInlineImage
method of the canvas object with the proper width and height arguments.
To get ReportLab go
I have two classes one class inherits dict(), this class just takes in a
path argument much like glob.glob() and loads the image using PhotoImage
into itself, no biggie works fine. The other class inherits Frame and it
implements an add(self, **kw) method passes all of its arguments to a
Button
> If so please guid me a bit here.
I aaume you mean 'guido' here ?
;-)
Anyway - you probably want to be using urllib2 as the other poster
points out.
Regards,
Fuzzy
--
http://mail.python.org/mailman/listinfo/python-list
Sorry for the late reply. I didn't check the group/list over the
weekend.
Anyway, I added a print rec[0] just after the fetchone. Then I ran it
from the command line, and it spewed a bunch of binary gibberish nearly
locking up Putty.
To me, it seems like it's coming out in the right format, but I
I have a Python app, spam.py, that uses a C shared library, eggs.so.
This shared library is an interface that makes connections to another
system (Ham), and among other things uses callback functions.
Therefore, if I want to make multiple connections to Ham, I need
eggs.so to be instantiated in mem
Peter Maas schrieb:
> vielen Dank für die Zusendung der Daten. Es handelt sich allerdings
> nicht um jpeg-Dateien, wie die Erweiterung nahelegt. Wir konnten sie
> nur mit dem PictureViewer auf einem Apple anzeigen. Sie werden unter
> MacOS als Adobe-Photoshop-Dokument angezeigt.
Sorry, my fault. P
Sehr geehrter Herr Wurm,
vielen Dank für die Zusendung der Daten. Es handelt sich allerdings
nicht um jpeg-Dateien, wie die Erweiterung nahelegt. Wir konnten sie
nur mit dem PictureViewer auf einem Apple anzeigen. Sie werden unter
MacOS als Adobe-Photoshop-Dokument angezeigt.
Können wir die Datei
"Reinhold Birkenfeld" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> [EMAIL PROTECTED] wrote:
>> Hi,
>>
>> Thanks for your reply! A new thing learned
>>
>> Allow me to follow that up with another question:
>>
>> Let's say I have a result from a module called pyparsing:
>>
>> Res
>> to determine if it is selected?, or can this only be achieved via
>> control variables?
> The value and variable options for a radiobutton seem to be what
> you're looking for.
Thanks, I knew that, but I was looking for a way to read the
selected/unselected status directly. Using control
On 2005-06-27, Xah Lee <[EMAIL PROTECTED]> wrote:
> i have a large number of lines i want to turn into a list.
> In perl, i can do
>
> @corenames=qw(
> rb_basic_islamic
> sq1_pentagonTile
> sq_arc501Tile
> sq_arc503Tile
> );
>
> use Data::Dumper;
> print Dumper([EMAIL PROTECTED]);
>
> --
>
David -
I'm not getting the same results. Run this test program:
---
import pyparsing as pp
import sys
def test(s):
results = pp.OneOrMore( pp.Word(pp.alphas) ).parseString( s )
print repr(s),"->",list(results)
print "Python version:", sys.version
print "pyparsing version:",
[Terry Hancock]
> Probably the most pointless Python wart, I would think. The =/==
> distinction makes sense in C, but since Python doesn't allow assignments
> in expressions, I don't think there is any situation in which the distinction
> is needed. Python could easily figure out whether you mean
Greets,
I have need of a Delphi/pascal to python converter. Googling didn't
suggest any obvious leads so I'm trying here...
Thanks
Thys
--
http://mail.python.org/mailman/listinfo/python-list
I am using python 2.4, py2exe 0.5.3, PyXML 0.8.4., and have the same warning.
My research shows that this is due to
wrong references in PyXML code.
For example, I found such definition (and couple more similar):
c:\python24\lib\site-packages\_xmlplus\dom\Element.py(27) from ext
On 24 Jun 2005 19:09:05 +0400, Sergei Organov <[EMAIL PROTECTED]> wrote:
>Steven D'Aprano <[EMAIL PROTECTED]> writes:
>
>> On Fri, 24 Jun 2005 00:55:38 -0600, Joseph Garvin wrote:
>>
>> > I'm curious -- what is everyone's favorite trick from a non-python
>> > language? And -- why isn't it in Pyt
John -
I just modified my test program BNF to use ZeroOrMore instead of
OneOrMore, and parsed an empty string. Calling list() on the returned
results gives an empty list. What version of pyparsing are you seeing
this None/object/list behavior?
-- Paul
--
http://mail.python.org/mailman/listinf
On Mon, Jun 27, 2005 at 08:21:41AM -0600, John Roth wrote:
> Unfortunately, I've seen that behavior a number of times:
> no output is None, one output is the object, more than one
> is a list of objects. That forces you to have checks for None
> and list types all over the place.
maybe you can at
Modified version of test program, to handle empty strings -> empty
lists.
import pyparsing as pp
import sys
def test(s):
results = pp.ZeroOrMore( pp.Word(pp.alphas) ).parseString( s )
print repr(s),"->",list(results)
print "Python version:", sys.version
print "pyparsing version:", pp.__v
Hello,
at the moment python-dev is discussing including Jason Orendorff's path module
into the standard library.
Do you have any other good and valued Python modules that you would think are
bug-free, mature (that includes a long release distance) and useful enough to
be granted a place in the st
Thank you, this really looks cool!
--
http://mail.python.org/mailman/listinfo/python-list
Hello Stephen,
> I'd like to take a directory of photos and create a pdf document with
> four photos sized to fit on each (landscape) page.
Use LaTex (pdflatex that is, see www.tug.org). It know how to embed
pictures and how to resize them.
Bye.
--
Thys Meintjes wrote:
> Greets,
>
> I have need of a Delphi/pascal to python converter. Googling didn't
> suggest any obvious leads so I'm trying here...
Have you tried with "python/delphi programer" ?-)
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')])
[En-tête "Followup-To:" positionné à comp.lang.python.]
Le Mon, 27 Jun 2005 14:27:28 -, Grant Edwards a écrit :
> On 2005-06-27, Xah Lee <[EMAIL PROTECTED]> wrote:
>> i have a large number of lines i want to turn into a list.
>> In perl, i can do
>>
>> @corenames=qw(
>> rb_basic_islamic
>> sq1_
William Gill wrote:
> I am placing radiobuttons in a 4 X 4 matrix (using loops) and keep
> references to them in a 2 dimensional list ( rBtns[r][c] ). It works
> fine, and I can even make it so only one button per column can be
> selected, by assigning each column to an intVar. In many languages
On 27 Jun 2005 16:56:34 GMT, "F. Petitjean" <[EMAIL PROTECTED]> wrote:
>[En-tête "Followup-To:" positionné à comp.lang.python.]
>Le Mon, 27 Jun 2005 14:27:28 -, Grant Edwards a écrit :
>> On 2005-06-27, Xah Lee <[EMAIL PROTECTED]> wrote:
>>> i have a large number of lines i want to turn into a
On Monday 27 June 2005 02:34 am, Alan Gauld wrote:
> "Uwe Mayer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > con: If you are planning larger applications (for a reasonable
> > [...]
> > Then you will want to specify interfaces, accessor functions
> with different
> > read /wri
In article <[EMAIL PROTECTED]>,
John Roth <[EMAIL PROTECTED]> wrote:
>
>What's being ignored is that type information is useful for other
>things than compile type checking. The major case in point is the
>way IDEs such as IntelliJ and Eclipse use type information to do
>refactoring, code completio
dear all
could you if you please tell me how can i start learning python
im reading on tutorial and i have questions about:
- how can i adjust the environmental variable on windows platform
-where should i put the NLTK data to be accessible by python
-how can i use TKinter in python
Reinhold Birkenfeld <[EMAIL PROTECTED]> writes:
> Hello,
>
> at the moment python-dev is discussing including Jason Orendorff's path module
> into the standard library.
I have never used the path module before, although I've heard good
things about it. But, it seems to have problems with unicode
> if a.value == True:
> return a
> if not database.connect == error:
> database.query(q)
Yeah, yeah, I know that :-)
What I mean is that most of the time I find the code more "readable" (I
know that more readable code ain't better code, but it helps when you
work with other people...).
>
I'm a manager where I work(one of the cogs in a food service company).
The boss needed one of us to become the "tech guy", and part of that is
writing small windows programs for the office. He wants the development
work done in house, and he knows I am in school for a CS minor. I know
basic C++(Par
Thys Meintjes wrote:
> Greets,
>
> I have need of a Delphi/pascal to python converter. Googling didn't
> suggest any obvious leads so I'm trying here...
>
> Thanks
> Thys
This isn't what you want, but you can probably achieve similar results,
by embedding Pyton in your delphi app.
http://www.at
I think since speed is not such an issue (I heard that python can make
faster GUI programs) you should use Visual Basic. It is very well
suited for Windows programming. There is the good thing that you can
visually create the GUI hence it is easier to create the GUI.
[EMAIL PROTECTED] wrote:
On 6/27/05, Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote:
> Do you have any other good and valued Python modules that you would think are
> bug-free, mature (that includes a long release distance) and useful enough to
> be granted a place in the stdlib?
First of all, numeric/numarray, obviously!
Reinhold Birkenfeld wrote:
> For my part, ctypes seems like a suggestion to start with.
I believe this has been discussed somewhere before and the conclusion
was that ctypes should not be a candidate for inclusion in the Python
stdlib because people don't want things in the stdlib that can make
Fredrik Johansson wrote:
> On 6/27/05, Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote:
>
>>Do you have any other good and valued Python modules that you would think are
>>bug-free, mature (that includes a long release distance) and useful enough to
>>be granted a place in the stdlib?
>
> First of
Hi All--
Aahz wrote:
>
> Perhaps. But adding the time to learn those IDEs in addition to the time
> to learn Java is ridiculous. I've been forced to use Java a bit to
> support credit cards for our web application; I've got a friend whose
> Java-vs-Python argument hinges on the use of Eclipse;
I guess you need a database plus GUI layer for your apps, you might
look in to MS Access (or Open Office 2.0 Base, but this is still beta,
so I don't think your boss will like that) for that
--
http://mail.python.org/mailman/listinfo/python-list
Thys Meintjes napisał(a):
> I have need of a Delphi/pascal to python converter. Googling didn't
> suggest any obvious leads so I'm trying here...
Don't think something like that even exists...
--
Jarek Zgoda
http://jpa.berlios.de/
--
http://mail.python.org/mailman/listinfo/python-list
Apple Grew <[EMAIL PROTECTED]> writes:
> I think since speed is not such an issue (I heard that python can make
> faster GUI programs) you should use Visual Basic. It is very well
> suited for Windows programming. There is the good thing that you can
> visually create the GUI hence it is easier to
I'd love to see IPython replace the standard interpreter. Pychecker
seems to be a strong candidate too.
George
--
http://mail.python.org/mailman/listinfo/python-list
I'm posting a self-followup to my post in last December about Python
and Lisp integration:
http://groups-beta.google.com/group/comp.lang.python/msg/ff6345845045fb47?hl=en>
Now, just yesterday I just stumbled upon Lython:
http://www.caddr.com/code/lython/>
It's a bit edgy but it can be made to
Reinhold Birkenfeld wrote:
> Hello,
>
> at the moment python-dev is discussing including Jason Orendorff's path module
> into the standard library.
>
> Do you have any other good and valued Python modules that you would think are
> bug-free, mature (that includes a long release distance) and usef
It works for me in W2000; I have an ancient .emacs file that someone gave me
that I use on each new system, wheter unix or windows and have never had a
problem. It usually has to be installed at C:/ to work, unless you
understand emacs better than I. I've inserted the file ".emacs" below, for
tho
Hi Xeys,
Even though I absolutely love Python...
Microsoft Visual Basic (.NET) would be your best bet for this type of
software development. It allows you to create GUI apps that can work
with a variety of database options, such as Access or MS SQL Server.
My personal opinion is this:
---
I see several on this list have their opinion and lean toward VB.
Not me, done that and vc++. Hate'em. Been developing 30 years
and I like control over what I'm doing and Python and Tkinter are
the best tools I've ever used. And for the most part IDE's like
BOA Constructor are just confusing. IMHO
As well as wxDesigner (great!)
http://www.roebling.de/
Regards,
Philippe
Björn Lindström wrote:
> Apple Grew <[EMAIL PROTECTED]> writes:
>
>> I think since speed is not such an issue (I heard that python can make
>> faster GUI programs) you should use Visual Basic. It is very well
>> suited
"Brian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Xeys,
>
> Even though I absolutely love Python...
>
> Microsoft Visual Basic (.NET) would be your best bet for this type of
> software development. It allows you to create GUI apps that can work
> with a variety of database o
projecktzero wrote:
> Sorry for the late reply. I didn't check the group/list over the
> weekend.
>
> Anyway, I added a print rec[0] just after the fetchone. Then I ran it
> from the command line, and it spewed a bunch of binary gibberish nearly
> locking up Putty.
>
> To me, it seems like it's c
Robert Kern wrote:
> I would like to see the setuptools/PythonEggs/EasyInstall trifecta get
> more attention and eyeballs. Once it is mature, I think that it will
> obviate the desire for stdlibification of most of the packages being
> requested here.
Looks pretty cool!
--
Michael Hoffman
--
I was wondering if anyone has implemented the rsync protocol in python.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Could anyone tell me whether I can find a non blocking alternative to
raw_input that works on windows? Is there not a python way of achieving
this? Can I find it somewhere in the documentation?
Any help will be highly appreciated
Cheers
j.
--
http://mail.python.org/mailman/listinfo/pytho
David Bear wrote:
> I was wondering if anyone has implemented the rsync protocol in python.
GIYF.
http://directory.fsf.org/pysync.html
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
--
http:/
Aahz wrote:
> Perhaps. But adding the time to learn those IDEs in addition to the
> time
> to learn Java is ridiculous. I've been forced to use Java a bit to
> support credit cards for our web application; I've got a friend whose
> Java-vs-Python argument hinges on the use of Eclipse; I was una
Flash and Python could be a VERY powerful pair of tools for building
quick apps, Yet I don't see much on the web about it.
I was excited to see that it is possible to make them play together
here:
http://www.klaustrofobik.org/blog/archives/000235.html
Unfortunately, these folks seem to have gotte
In article <[EMAIL PROTECTED]>,
Ivan Van Laningham <[EMAIL PROTECTED]> wrote:
>Aahz wrote:
>>
>> Perhaps. But adding the time to learn those IDEs in addition to the time
>> to learn Java is ridiculous. I've been forced to use Java a bit to
>> support credit cards for our web application; I've g
Thomas Bartkus wrote:
> I would modify that.
>
> 1) VB shines in the MS Windows/Office realm.
> 2) Python shines everywhere else.
True. However, it's also important to remember that most computer
systems (at least in the United States) come with Microsoft Windows
installed on them. You have t
On 6/17/05, Tim Williams <[EMAIL PROTECTED]> wrote:
>
> > - Original Message -
> > From: "Tom Anderson" <[EMAIL PROTECTED]>
> >
> re: http://wipfw.sourceforge.net/?page=home
>
> Tom, this looks good. I had it downloaded, installed and running some
> custom rules in under 5 minutes. V
Dear all,
I am very happy to announce the release of SCF 1.1, a Python based Smart
Card development framework for Windows® and Linux.
SCF 1.1 introduces support for BasicCard® Enhanced and Professional under
GNU/Linux and Windows®.
All commands are supported as well as firmware image parsing so y
in spam.py, how about something like this:
try:
eggs.someFunction()
except:
import eggs
--
http://mail.python.org/mailman/listinfo/python-list
Hi guys. I have a script that sends the info by email, but i'd like to
avoid the convertion to HTML by the email client or Gmail, because it
ruins all the formatting i did (with tabs, mostly). Briefing, i wanna
be able to send SMTP mail and the receiver only get it in plain text.
--
http://mail.
Jorge Louis de Castro wrote:
> Could anyone tell me whether I can find a non blocking alternative to
> raw_input that works on windows? Is there not a python way of achieving
> this? Can I find it somewhere in the documentation?
> Any help will be highly appreciated
Depending on what your requir
Do you have control over the eggs.so module? Seems to me the best
answer is to make the start method return a connection object
conn1 = eggs.start('Connection1')
conn2 = eggs.start('Connection2')
--
http://mail.python.org/mailman/listinfo/python-list
pyparsing is the far and away the easiest general purpose parser out
there that I've encountered; BNF-style grammar parsing is a *pleasure*
with pyparsing. And it all comes in a single pure python module to
boot.
--
http://mail.python.org/mailman/listinfo/python-list
On 27 Jun 2005 15:38:59 -0700, Inkiniteo <[EMAIL PROTECTED]> wrote:
> Hi guys. I have a script that sends the info by email, but i'd like to
> avoid the convertion to HTML by the email client or Gmail, because it
> ruins all the formatting i did (with tabs, mostly). Briefing, i wanna
> be able to s
On 27 Jun 2005 15:38:59 -0700, rumours say that "Inkiniteo"
<[EMAIL PROTECTED]> might have written:
>Hi guys. I have a script that sends the info by email, but i'd like to
>avoid the convertion to HTML by the email client or Gmail, because it
>ruins all the formatting i did (with tabs, mostly). Br
On 27 Jun 2005 15:38:59 -0700, rumours say that "Inkiniteo"
<[EMAIL PROTECTED]> might have written:
>Hi guys. I have a script that sends the info by email, but i'd like to
>avoid the convertion to HTML by the email client or Gmail, because it
>ruins all the formatting i did (with tabs, mostly). Br
Humm. I just create the message this way:
message = 'Serie:\t\t' + str(type) + str(series) + \
'\t\t\tUbicación:\t\t\t' + place + '\n' + \
'Date&Time:\t' + date
and send it with:
message = header + message
server = smtplib.SMTP('localhost')
server.sendmail('[EMAIL PROTECTED]',
On 27 Jun 2005 16:09:38 -0700, rumours say that "Inkiniteo"
<[EMAIL PROTECTED]> might have written:
>Humm. I just create the message this way:
>message = 'Serie:\t\t' + str(type) + str(series) + \
> '\t\t\tUbicación:\t\t\t' + place + '\n' + \
> 'Date&Time:\t' + date
>and send i
[Roy Smith]
> I also think the published description is needlessly confusing. Why does
> it use
>
>{'one': 2, 'two': 3}
>
> as the example mapping when
>
>{'one': 1, 'two': 2}
>
> would illustrate exactly the same point but be easier to comprehend. The
> mapping given is the kind of thing
[Roy Smith]
> I also think the published description is needlessly confusing. Why does
> it use
>
>{'one': 2, 'two': 3}
>
> as the example mapping when
>
>{'one': 1, 'two': 2}
>
> would illustrate exactly the same point but be easier to comprehend. The
> mapping given is the kind of thing
Hi,
I had the exact opposite problem :-)
Hope this helps
Regards,
Philippe
#
def Mail(self,p_data): #data is string of text
you = wx.GetTextFromUser('EMAIL ADDRESS','ID')
if len(you) == 0:
Grops wrote:
> Flash and Python could be a VERY powerful pair of tools for building
> quick apps, Yet I don't see much on the web about it.
>
> I was excited to see that it is possible to make them play together
> here:
> http://www.klaustrofobik.org/blog/archives/000235.html
>
> Unfortunately,
Thanks! This works well -- I was letting myself be too intimidated with
reportlab before looking at the documentation, but it was really not
hard at all. I think I figured out how to do landscape mode too.
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import letter
def insertPi
They did it with Gush: (I think)
http://2entwine.com/
It's a py program that embeds Flash very nice.
-Jim
On 27 Jun 2005 15:11:11 -0700, Grops <[EMAIL PROTECTED]> wrote:
> Flash and Python could be a VERY powerful pair of tools for building
> quick apps, Yet I don't see much on the we
"Inkiniteo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys. I have a script that sends the info by email, but i'd like to
> avoid the convertion to HTML by the email client or Gmail, because it
> ruins all the formatting i did (with tabs, mostly). Briefing, i wanna
> be able
1 - 100 of 136 matches
Mail list logo