are different" change_files("test1.txt", "text3.txt") did_it_work("test1.txt", "text3.txt") else: x = compare_files("test2.txt","test3.txt" ) i!
f x ==
False: print "test2 and test3 are different&
Alan,Thanks for that. I had the wrong file names, now it works, in case anyone is interested here is the code. I use it because at work I need to change different versions of sqlnet.ora :-def compare_files(file_name1, file_name2): x = filecmp.cmp (file_name1, file_name2) print
I wrote a little program that replaces all files called 'abcde' with the file in the directory from which you riun the program. However it does not find them (there is another one). What have I done wrong :- #this program copies the file x to all other places in the directory. #however it does not
t shutil #main top = '/home' a = os.getcwd() filename = 'abcde' file1 = filename file2 = a+'/'+filename print file2 getfiles(filename, file2,top) print "finished" David Bruce <[EMAIL PROTECTED]> wrote: I guess that you need to fix two things:1 the indentai
Thanks, now I understand and that works perfectly.[EMAIL PROTECTED] wrote: David, in getfiles, the os.getcwd() points the main programs cwd only and so shutil.copy() fails. so changing to name = os.path.join(root,name) helps us get the file in the directory we checked against. def
0: 2321 202f 7573 722f 6269 6e2f 7079 7468 #! /usr/bin/pyth
010: 6f6e 0a70 7269 6e74 2022 4865 6c6c 6f22 on.print "Hello"
020: 0a .
Bottom line, the error means bash can not find the application you told
it to use, so somethin
.
Does anybody could help me?
Regards,
David
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ick on the "Disconnect" button and the join() function is called.
Did you get any problem like that?
BR,
David
On 2/25/06, Kent Johnson <[EMAIL PROTECTED]> wrote:
> David Cohen wrote:
> > Hi all,
> >
> > I have a problem trying to use thread on python.
>
Title: Message
The
following works with the Cisco switch that I have available. Cisco 4006
with CatOS 6.2. It may not work with your model/OS or your switch may be
configured differently. For instance, the default prompt terminates with
"(enable)" so I used "tn.read_until(')')" instead of
I believe you can submit the new config content as a blob where blob =
string.join(lines). It looks like your "switch" uses IOS, not CatOS, so
make sure you send "config t" first.
And I would strip out the \r's.
Then maybe:
tn.write("\03") # Assures the device
Here's one approach to the problem (using bogus codon values).
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of sjw28
Sent: Monday, March 06, 2006 8:37 AM
To: tutor@python.org
Subject: [Tutor] Analysing genetic code (DNA) using python
I have many note
Is this what you're asking for?
# Scaler.py
#
def scale(OldList, NewMin, NewMax):
NewRange = float(NewMax - NewMin)
OldMin = min(x)
OldMax = max(x)
OldRange = float(OldMax - OldMin)
ScaleFactor = NewRange / OldRange
print '\nEquasion: NewValue = ((OldValue - ' + str(Old
Is there a way in python to automatically put values in a web page ? For example I used to travel on a train (I live in the UK) that is always late. Is there a way to automatically to do this ? I can't think of how to do it. --
Message: 8Date: Sat, 18 Mar 2006 14:26:15 -0500From: Kent Johnson Subject: Re: [Tutor] Fill in a web formCc: tutor python Message-ID: <[EMAIL PROTECTED]>Content-Type: text/plain; charset=ISO-8859-1; format=flowedDavid Holland wrote:> Is there a way in python to automatically put values in a web pag
Here's a simple Python script that will do it. It's not very
sophisticated, but it's easy to modify for special cases.
import os, string
def Find(TargetString, DIR, Names):
for Name in Names:
if Name != "Search.py":
try:
TargetFile = DIR + "/" + Name
s:
import zipfile
try:
ziparchive = zipfile.ZipFile(inputfilename, "r")
except:
print "error accessing file"
You could get fancy and deal with various exceptions or read traceback
info, too. Using the try block is generally considered
generally try to stay away from doing the work for you :-)
--
David Rock
[EMAIL PROTECTED]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
John,Can you please post your code and the exact error message. First they came for the Danes, but I did not speak out because I am not a Dane.
Yahoo! Messenge
se. I am trying to upload the first line in the
> file to get myself started. The code is below:-
You may want to check out the csv module to aid in any odd data input,
too.
http://docs.python.org/lib/module-csv.html
--
David Rock
[EMAIL PROTECTED]
___
I looked at this and got stuck on the first one :- http://www.pythonchallenge.com/pc/def/0.html It says try changing the url. I assumed that it either meant 2*38 or 2 to the power of 38 but I can't see how to put either of those in the url.What have I missed ?Thanks in advance.
Jason, Thanks that helped me work it out. David Jason Massey <[EMAIL PROTECTED]> wrote: David,What answer did you get? One of the things to rember on the challenge is to take your answer and put ".html" (no qutoes) on the end of it in the url.So for the first problem the ur
I don't know if its still around or if it runs on modern
> > PDAs - I think it was PalmOS anyhow...
> >
> >
>
> Pippy is quite dead. No development done recently. It supposedly runs
> fine, but runs only Python 1.5.
La
x27;resetString']".
Simple ASCII strings work fine, but the escape sequences don't work and
the code fails. "print self.resetString" returns "\\03", instead of a
nonprintable character.
Any ideas?
David Heiser
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
That worked just dandy. Thanks.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kent Johnson
Sent: Thursday, June 22, 2006 1:03 PM
Cc: tutor@python.org
Subject: Re: [Tutor] Escape sequences
David Heiser wrote:
> I have code that assigns esc
Title: Message
Chris,
This looks similar to what I do for my job. I
would be happy to help you, if I
can.
My first question is, how would you like the output
to look? Can you manually create a model of the email text you want to
send?
My second question is, can you create the
email
can you explain functions in python to me and give me some examples
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
is similar to chomp
http://docs.python.org/lib/string-methods.html#l2h-201
These aren't exact matches, but they are close.
--
David Rock
[EMAIL PROTECTED]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ut found nothing suitable
os.getcwd()
http://docs.python.org/lib/os-file-dir.html
--
David Rock
[EMAIL PROTECTED]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
You can make it simpler by not splitting the input file into lines.
Treat it as a single string.
in_put = open('test.html', 'r').read()
replace_words = ['TWY', 'RWY', 'WIP']
for replace_word in replace_words:
in_put = in_put.replace(replace_word, "" + replace_word + "")
Title: Message
I have
code that uses variables to hold escaped characters like "\n" or "\03". As long
as the assignment is done within the code, like self.crChar = "\n", there is no
problem. But When I try to read the same character string from a text file
and assign it, the string is seen
x27;
What you will notice is it gets complicated in a hurry if you try to do
loops or anything fancy because of formatting constraints. Not that it
can't be done, but it would hurt to try. :-)
--
David Rock
[EMAIL PROTECTED]
___
Tutor maillist
simple in a
shell script and didn't have a good way to get the date info I wanted,
so I started playing around with python -e. It really SHOULD just be a
python script that calls shell stuff, not the other way 'round :-)
Still, in the spirit of the OP, I thought it would be approp
Here is a snippet of code that may work for you:
#---
import telnetlib
HOST = "myServer"
Username = "bob"
Password = "fido"
LoginList = ['=login:', '%s=password:' % (Username), '%s=$' %
(Password)] ## Like an Expect script
Terminator = "$"
print "CONNECTING:"
T
I really got a lot out of Thinking in
Tkinter: http://www.ferg.org/thinking_in_tkinter/
It doesn’t delve too deeply, but it’s
still a good resource.
This New Mexico Tech website is a good
reference once you’ve got some of the basics: http://infohost.nmt.edu/tcc/help/pubs/tkinter/
what you expect to see
from them, then the
for o, a in opts:
section is used to replace default values with information from the
commandline.
--
David Rock
[EMAIL PROTECTED]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
hon user group)
http://www.chipy.org meeting a few months ago. He's a great guy and he
did some pretty impressive things with it. It also appears to interact
well with ipython, an extremely powerful python interpreter shell (much
better than the built-in shell) http://ipython.scipy.org/
--
Da
May I invite EVERYONE to NOT introduce political or religious elements
into these discussions. It has no place here and can destroy this
excellent discussion group. I've seen it happen.
PLEASE take it elsewhere.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Beh
Try this:
>>> from Tkinter import *
>>> root = Tk()
>>> root.winfo_screenwidth()
1280
>>> root.winfo_screenheight()
1024
>>>
-Dave
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Asrarahmed Kadri
Sent: Monday, December 04, 2006 8:44 AM
To:
gt; 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Tutor digest..."
>
>
> Today's T
Hi there,
I can easily use the subprocess module to run a separate exe from within
MyScript.py..
e.g.
import subprocess
process=subprocess.Popen("myprog.exe -i inputfile.txt -o
outputfile.txt")
..and that's just fine as far as it goes, if I don't mind creating
'inputfile.txt' first, and reading
PROTECTED] On
Behalf Of Christopher Arndt
Sent: 09 January 2007 14:26
To: Tutor@python.org
Subject: Re: [Tutor] feeding data to subprocess exes and getting results
without writing files
Barton David schrieb:
> I just can't wrap my head around stdin, stdout and the whole pipes
>
dy be in your path, so typing "python" at the propmt should
result in it running the interpreter. If that works, exit the
interpreter and type "python scriptname" That should run your script,
and you will see the results in the command window because it won't
close afte
I don't suppose there's a nifty trick (exploiting the internal workings
of the re module perhaps) to generate all possible hits of a given regex
pattern?
Something like:
>>> import re
>>> mypattern=re.compile( "[AB]C{1,2}D?" )
>>> print list( all_pattern_generator( mypattern ) )
["AC","BC","ACC
This kind of thing is usually handled at the level of the OS's
routing table. Routing tables have an entry called "metric" that is
used to weight the different routes, so that when there are multiple
possible links available, the one with the lowest metric is used
first. In Unix at least,
You're way off base... :)
On Feb 19, 2007, at 9:25 AM, Johan Geldenhuys wrote:
> Here is what I have:
>
data
> '\xa5\x16\x0b\x0b\x00\xd5\x01\x01\x01\x00\x00\xe3\x84(\x01\xc6\x00
> \x00\x17\x
> 01C\xc7'
data[0]
> '\xa5'
len(data[0])
> 1
>
> You see that data[0] is only one by
Hi,
I'm really confused, and I hope somebody can explain this for me...
I've been playing with compression and archives, and have some .zip,
.tar, .gz and .tgz example files to test my code on.
I can read them using either zipfile, tarfile, gzip or zlib, and that's
fine. But just reading them in
ead() from going to the end?
Dave
-Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: 20 February 2007 12:53
To: Barton David
Cc: tutor@python.org
Subject: Re: [Tutor] file.read() doesn't give full contents of
compressed files
Barton David wrote:
> Hi,
> I
I see. Thanks for that.
dave
-Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: 20 February 2007 13:30
To: Barton David
Cc: tutor@python.org
Subject: Re: [Tutor] file.read() doesn't give full contents of
compressed files
Barton David wrote:
> Oh... of course
I suspect the function I sent out earlier, using octal conversion and
a lookup table, will be faster. But it would be very interesting to
see some simple benchmarks.
On Feb 20, 2007, at 10:47 PM, Dick Moores wrote:
> I was surprised to be unable to find a function in Python for
> converting
234567890)
> _t1 = _timer()
> return _t1 - _t0
> """
> I get these results:
>
> for computeBin(12345678901234567890)
> 1000 loops, best of 3: 448 usec per loop
>
> for computeBin(1234567890)
> 1 loops, best of 3: 59.7 usec per loop
>
>
Keep in mind that things generally become extremely reliable only
after extensive real-world testing. TANSTAAFL
On Feb 25, 2007, at 1:14 AM, Kirk Bailey wrote:
> This has to be baby carriage reliable and simple for the business road
> warrior who has not a geekified bone in their body.
--
I found this by "using Google". You should be able to make a simple
modification (I can think of a couple of ways to do it) to have it
pad the end with "None". It is 100% iterator input and output.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303279
On Feb 25, 2007, at 7:06 AM, C
This question isn't well posed. There is no such thing as an F1
"character".
Data is sent over telnet connections as 8-bit bytes. You can send
any combination of 8-bit bytes you want by coding them in a number of
different ways, such as chr(xx) like you wrote below, or '\xnn' or
whatever
If you want to play around with this stuff, you can first import sys,
and then insert this line in the except clause:
print repr(sys.exc_info())
(or some other way of getting the details out of the returned tuple.)
That will tell you exactly what brought you to the except clause.
On Feb 28, 200
I like that I can access the contents of a zip archive that's stored in
memory (rather than on disk) by packing the archive contents into a
StringIO or cStringIO object and feeding that to ZipFile...
i.e.
filelike=cStringIO.StringIO(archive_as_string)
zf=zipfile.ZipFile(filelike)
content=zf.re
On Mar 2, 2007, at 9:56 AM, Alan Gauld wrote:
> Why not use a Set?
>
> s = Set([somefun(i) for i in some-iterator])
>
> Might be slow for big lists though...
I'm curious why using a Set would be slower than doing it in a loop?
In either case, the processor has to scan through all the data
l
.getmember(archive_member_name)
>>>tf_filelike=tf.extractfile(tf_infoobject)
>>>print tf_filelike.read()
In fact I'm getting this even if I open the archive by passing the path
name (rather than using fileobj) so I guess this isn't the problem I
initially thought it wa
l in response to a tutor's direct reply) it
doesn't seem to add my message to the bottom of the existing thread. If
somebody can tell me what I'm doing wrong, I'd appreciate it.
-Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: 05 March 2007 12:44
OK, I'm new to python too so I don't assume I know what I'm talking
about yet, but this looks like a mess to me. What exactly does "item
== item in word2" evaluate to? Does "in" or "==" have higher
precedence?
I can't figure out how this would ever work at all. It seems like
it's either
On Mar 6, 2007, at 11:03 AM, Alan Gauld wrote:
> It's doing the latter and since anything that's not 'empty' in
> Python evaluates to true we wind up checking whether
> true == (item in word)
>
> So if the item is in word we get true == true which is true.
>
> HTH,
Sorry, but this still doesn't ma
On Mar 6, 2007, at 4:28 PM, wesley chun wrote:
>> >>> x=('i' in 'i')
>> >>> x
>> True
>> >>> y='i'
>> >>> x==y
>> False
>
> you're right when you talk about "casting" altho that's not what
> python does. it merely performs an object value comparison when you
> use '=='. for example, change
I think it's a little strange and possibly problematic that type(1)
is 'int' and type(True) is 'bool' but
1 == True
specifically evaluates to True even though anything else, even if it
evaluates to True when cast as a boolean, is not == True.
>>> 1 == True
True
>>> 2 == True
False
>>> 0 ==
Or you can try something like:
x = r"C:\My\Doc\;D:\backup"
x = x.replace("\\", ";")
x = x.split(";")
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kent Johnson
Sent: Saturday, March 31, 2007 9:42 PM
To: Andrei Petre
Cc: tutor@python.org
Subject: Re: [
I am thinking about writing a program which will involve, among other
things, displaying a plot of a series of numbers. The idea is that
you could click on the points and move them to change the numbers.
Reverse-plotting, I suppose. It need not be complex; the numbers
will all be zero or
I have just started learning Python and have moved on to learning
about Tkinter. This is likely to be a very easy question but I have
no idea what is happening here.
I am trying to set up a GUI, separated into several frames. In a
lower frame I have added a Listbox. I want the first item
At work I have windows XP service pack 3 and although I have sys admin I can
not use idle.
I have googled but no success - any ideas?
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
IL PROTECTED]
Date: Wednesday, 1 October, 2008, 11:35 AM
On Wed, Oct 1, 2008 at 5:04 AM, David Holland <[EMAIL PROTECTED]>
wrote:
> At work I have windows XP service pack 3 and although I have sys admin I
can
> not use idle.
> I have googled but no success - any ideas?
I am using python 2.5.2. Is there an alternative to idle that does not have
this problem?
(I also fixed that this was no longer a problem).
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
hon.org
Date: Thursday, 2 October, 2008, 4:53 PM
On Thu, Oct 2, 2008 at 10:31 AM, David Holland <[EMAIL PROTECTED]> wrote:
I am using python 2.5.2. Is there an alternative to idle that does not have
this problem?
(I also fixed that this was no longer a problem).
Open IDLE witho
ROTECTED]
Cc: tutor@python.org
Date: Thursday, 2 October, 2008, 5:01 PM
Where are you running it from? it needs some weird command line parameters, so
you probably need to use the shortcut in the start bar that Python made for you.
On Thu, Oct 2, 2008 at 10:55 AM, David Holland <[EMAIL PROTECTE
win, it's an editor by the guy that made the win32all
extensions.
Or use eclipse with Python plugin, maybe?
On Thu, Oct 2, 2008 at 11:31 AM, David Holland <[EMAIL PROTECTED]> wrote:
I just using the short cut and nothing happens :(.
I have managed to do this before just not in my ne
Hi guys,
i am really sorry for making offtopic, hope you will not kill me, but
this is for me life important problem which needs to be solved within
next 12 hours..
I have to create stable algorithm for sorting n numbers from interval
[1,n^2] with time complexity O(n) .
Can someone please give m
>
> Does that mean its homework?
>
Hi,
yes it is homework , this is result :
#! /usr/bin/python
def sort(numbers):
"sort n positive integers in O(n) provided that they are all < n^2"
N = len(numbers) # get size of test numbers
buckets_mod = [[] for i in xrange(N)]
> def sort(numbers):
>"sort n positive integers in O(n) provided that they are all < n^2"
Sorry about wrong comment, should be range from [1 to n^2] not only < n^2.
D.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listin
auld wrote:
> "David Hlácik" wrote
>
>> yes it is homework , this is result :
>>
>> #! /usr/bin/python
>> def sort(numbers):
>> "sort n positive integers in O(n) provided that they are all < n^2"
>> N = len(numbers) # get
of elements** of such linked list.
Yes , maybe it sounds strange, but we need to implement this and i
would be very gladfull for your toughts.
Thanks in advance and wishing you a sucessfull year!
David
___
Tutor maillist - Tutor@python.org
http
helping memory with constant size* ? This means i am not able to
create any set and adding elements there. I need to have a constant
size variables . This is complication a complication for me.
Thanks in advance!
David
On Wed, Jan 7, 2009 at 2:22 PM, Diez B. Roggisch wrote:
>
> David
on 2- 3, 6
iteration 3- 4, 8
iteration 4- 5, 5 ( match)
But how can this help me with counting list elements? :(
Thanks,
D.
On Thu, Jan 8, 2009 at 5:48 PM, Diez B. Roggisch wrote:
>
> David Hláčik wrote:
>
> > Hi,
> >
> > so okay, i will create a helping set, where i will be
Hi All,
I am still getting my python legs (similar to sea legs but more
scale-y) and ran across a decision that I'd like some advice on.
I am looking for the simplest way of displaying a little positional
data as a line graphic in a window as a script runs.
Something like:
#Set up some
On Fri, Dec 10, 2010 at 10:23 PM, Bill Allen wrote:
> This is somewhat non-Python specific I have an idea for a Python
> application that I want to write at work. The application needs to have a
> data file be available to multiple users for access, read and write. I
> know that a typical dat
So, in essence, that would be redefining(in Python) basic division of
grammatical structures(splices)?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Sat, Dec 11, 2010 at 11:54 AM, Lie Ryan wrote:
> On 12/07/10 23:37, Robert Sjöblom wrote:
>> I've been told to use input() if I know that I'll only get integers,
>> and raw_input() for "everything."
>
> That is a bad piece of advice. You should only use input() when you can
> fully trust whoeve
On Sat, Dec 11, 2010 at 9:52 AM, Knacktus wrote:
> Hi everyone,
>
> can anybody recommend a lib or some other ressources about license
> mechanisms of desktop applications written in python. I'm thinking of a
> license-key that can be used to limit the time the application can be used.
> I also ne
On Sat, Dec 11, 2010 at 10:39 PM, Steven D'Aprano wrote:
> David Hutto wrote:
>>
>> On Sat, Dec 11, 2010 at 11:54 AM, Lie Ryan wrote:
>>>
>>> On 12/07/10 23:37, Robert Sjöblom wrote:
>>>>
>>>> I've been told to use inpu
You need a file that sets the initial time used for the app(the time
on the individuals computer), and a function that checks that initial
start up file for the current time and the original usage time of
first start up.
___
Tutor maillist - Tutor@pytho
On Sun, Dec 12, 2010 at 2:27 PM, David Hutto wrote:
> You need a file that sets the initial time used for the app(the time
> on the individuals computer), and a function that checks that initial
> start up file for the current time and the original usage time of
> first start up.
&
On Sun, Dec 12, 2010 at 2:32 PM, David Hutto wrote:
> On Sun, Dec 12, 2010 at 2:27 PM, David Hutto wrote:
>> You need a file that sets the initial time used for the app(the time
>> on the individuals computer), and a function that checks that initial
>> start up file for the
On Sun, Dec 12, 2010 at 2:16 PM, David Hutto wrote:
> On Sat, Dec 11, 2010 at 10:39 PM, Steven D'Aprano wrote:
>> David Hutto wrote:
>>>
>>> On Sat, Dec 11, 2010 at 11:54 AM, Lie Ryan wrote:
>>>>
>>>> On 12/07/10 23:37, Robert Sjöblom wr
On Sun, Dec 12, 2010 at 2:44 PM, Walter Prins wrote:
>
>
> On 12 December 2010 19:16, David Hutto wrote:
>>
>> I recall you making a habit of being an
>> asshole(pystats should ring a bell, thanks for giving me the credit
>> for inspiration...bitch)
>
> Ru
On Sun, Dec 12, 2010 at 2:45 PM, David Hutto wrote:
> On Sun, Dec 12, 2010 at 2:44 PM, Walter Prins wrote:
>>
>>
>> On 12 December 2010 19:16, David Hutto wrote:
>>>
>>> I recall you making a habit of being an
>>> asshole(pystats should ring
On Sun, Dec 12, 2010 at 2:42 PM, Tim Johnson wrote:
> * Steven D'Aprano [101211 17:20]:
>> Tim Johnson wrote:
>>
>>> I've never had the occasion to use assert() or any other
>>> python - shooting tools, any thoughts on that?
>>
>>
>> Assertions are a great tool, but never ever, under pain of
On Sun, Dec 12, 2010 at 2:45 PM, David Hutto wrote:
> On Sun, Dec 12, 2010 at 2:45 PM, David Hutto wrote:
>> On Sun, Dec 12, 2010 at 2:44 PM, Walter Prins wrote:
>>>
>>>
>>> On 12 December 2010 19:16, David Hutto wrote:
>>>>
>>>>
On Sun, Dec 12, 2010 at 11:43 PM, marupalli charan
wrote:
> dont send me mails again. i want to unsubscript
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Sat, Dec 18, 2010 at 7:45 PM, Len Conrad wrote:
> phpmyadmin and other such mysql db design/maintain tools do too much, too
> complicated.
>
> I'm looking for a python or django web app that allows non-tech users to
> add/delete/search records.
You'll probably find the same here. A bunch of
On Sun, Dec 19, 2010 at 4:05 PM, Alex Hall wrote:
> Sorry to top-post (gMail mobile).
> This looks like you missed a quote, colon, or something on a line
> elsewhere in the file (likely above it). Find that and this should be
> fixed.
>
> On 12/19/10, jtl999 wrote:
>> File "GettingStarted.py", l
Two"
>>
>> Python 3.X
>> print("Lesson Two")
>>
>> Either find a version of the howto for 2 or install python 3.
>>
>
> Alex is right, David and Sander judged too quickly:
>
> Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
> [GCC 4.4.5]
On Mon, Dec 20, 2010 at 5:15 AM, Steven D'Aprano wrote:
> David Hutto wrote:
>>
>> On Sun, Dec 19, 2010 at 4:33 PM, Hugo Arts wrote:
>>>
>>> On Sun, Dec 19, 2010 at 10:11 PM, Sander Sweers
>>> wrote:
>>>>
>>>> On 19 December
>
> Note that print can actually only be used as a statement in python 2.
> It just so happens that you can include parentheses in the statement.
> Though that makes it look similar to a function call, it certainly is
> not. You'll see that when you try to supply multiple arguments to the
> "functi
parse a ginormous ( ~ 1gb) xml file.
>>
>> I sympathize with you. I wonder who thought that building a 1GB XML file
>> was a good thing.
David Mertz, Ph.D.
Comparator, Gnosis Software, Inc.
June 2003
http://gnosis.cx/publish/programming/xml_matters_29.html
that was just the first lis
But then again, maybe it's too much of an optimization for someone not
optimizing for others or a specific application for the hardware, or
it's not part of the standard python library, and therefore,
expendable.
___
Tutor maillist - Tutor@python.org
To
601 - 700 of 1103 matches
Mail list logo