>
> Is this "inaccurate"? Well, in the sense that it is not the exact true
> mathematical result, yes it is, but that term can be misleading if you
> think of it as "a mistake". In another sense, it's not inaccurate, it is
> as accurate as possible (given the limitation of only having a certain
> f
The whole point of the discussion is that this is *not* a presentation
issue. Fraction(1.64) and Fraction("1.64") *are* two different numbers
because one gets constructed from a value that is not quite 1.64.
Wolfgang Maier
--
So the longer numerator and denominator would, indeed, be more accurate
Where could I download Python sample dictionaries on different subjects.
They're hard to type and I can only do small, limited ones to practice with.
--
Jim
The probability of a piano falling on my head is 50%. After it falls on my
head the probability is 100%. My confidence in the piano hitting
For randomly generating data which look like addresses, I use:
> http://www.generatedata.com/
>
> While it has 'export to programming language' as a feature, Python isn't
> one of the supported languages. Which is fine. It can export into comma
> separated values, and writing a Python program to
I can't seem to get my head around this 'simple' book example of
binary-to-decimal conversion, which goes from left to right:
B = '11011101'
I = 0
while B:
I = I * 2 + int(B[0])
B = B[1:]
print(I)
>>> 221
My thought was to go from right to left, multiplying digits by successive
powers of
> Which is why you should use the csv module to work with csv files,
> it knows how to deal with these various exceptional cases.
> --
> Alan G
>
I should have known to simply try importing csv.
Must-remember-batteries-included ;')
--
Jim
___
Tutor mai
The key is that the result gets multiplied by 2 each time
> so for an N bit number the leftmost digit winds up being
> effectively 2**N, which is what you want.
>
> Alan G
Ah, the light dawns once it was restated. It would be even simpler if you
could multiply each element of the binary numbe
Why does the compiler choke on this? It seems to me that the enhanced
subtraction resolves to a legitimate integer in the exponent, but I get a
syntax error:
B = '11011101'
sum = 0
start = len(B)
for char in B:
sum += int(char) * 2**(start -= 1) ## syntax error
print(sum)
--
Jim
___
Is there any difference between these two since they give the same result,
and when is the second preferred?
>>> x = 'ABE'
>>> x.lower()
'abe'
>>> str.lower(x)
'abe'
--
Jim
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription o
I'm trying the csv module. It all went well until I tried shortening a long
first name I put in just to exercise things. It didn't shorten. And I also
got weird first characters on the header line. What went wrong?
import csv
allcsv = []
with open('data.txt') as csvfile:
readCSV = csv.reader(c
..
> Ï»¿
>
> is the UTF-8 BOM (byte order mark) interpreted as Latin 1.
>
> If the input is UTF-8 you can get rid of the BOM with
>
> with open("data.txt", encoding="utf-8-sig") as csvfile:
>
Peter Otten
I caught the bad arithmetic on name length, but where is the byte order
mark coming from? My
>
> By relying on the default when you read it, you're making an unspoken
> assumption about the encoding of the file.
>
> --
> DaveA
So is there any way to sniff the encoding, including the BOM (which appears
to be used or not used randomly for utf-8), so you can then use the proper
encoding, or
So is there any way to sniff the encoding, including the BOM (which appears
to be used or not used randomly for utf-8), so you can then use the proper
encoding, or do you wander in the wilderness?
Pretty much guesswork.
>
Alan Gauld
--
This all sounds suspiciously like the old browser wars I suf
I was depressed at the thought of learning unicode, then discovered Python
was fun again since I can easily print any ascii art from
http://www.chris.com/ascii/ with a multiline print, so long as I replace
any backslash with two of them. Spongebob Squarepants was, of course, the
obvious first choi
You can save yourself some time and use a raw string:
> print(r""" """)
>
> Timo
>
> Good point. I'll go to site-packages and change that. I import Bob to
cheer myself up as I look at Unicode, which is like forcing a kid to go to
Sunday school on a bright Summer day, instead of playing with P
>
> Apparently so. It looks like utf_8-sig just ignores the sig if it is
> present, and uses UTF-8 whether the signature is present or not.
>
> That surprises me.
>
> --
> Steve
>
>
I was looking things up and although there are aliases for utf_8 (utf8 and
utf-8) I see no aliases for
It looks like sig works for any dash, underline combination, and is ignored
if there is no BOM:
>>> farf = bytes('many moons ago I sat on a rock', encoding='utf8')
>>> farf
b'many moons ago I sat on a rock'
>>> str(farf, encoding="utf_8_sig")
'many moons ago I sat on a rock'
>>> str(farf, encoding
Actually,. I found the aliases in Lib/encodings/aliases.py and added an
alias:
>>> deco = bytes("I sure hate apples.", encoding='ubom')
>>> deco
b'\xef\xbb\xbfI sure hate apples.'
>>>
Tricky, though - if you don't put a comma at the end of your alias, it
breaks Python (or my Pyscripter editor, an
Unicode for Idiots indeed, a Python list can always find something better
than that :)
>
> http://www.joelonsoftware.com/articles/Unicode.html
> http://nedbatchelder.com/text/unipain.html
>
>
> Mark Lawrence
>
>
Batcheder's looks good. I'm going through it. I tried the Unicode
Consortium website a
>
>
> I wouldn't use utf-8-sig for output, however, as it puts the BOM in the
> file for others to trip over.
>
> --
> DaveA
Yeah, I found that out when I altered the aliases.py dictionary and added
'ubom' : 'utf_8_sig' as an item. Encoding didn't work out so good, but
decoding was fine ;')
_
> See 7.2.3 (aliases) and 7.2.7 (utf_8_sig) in the codecs documentation.
>
> https://docs.python.org/3/library/codecs.html
>
The docs don't mention that case is immaterial for aliases, when it usually
matters in Python. The actual dictionary entries in aliases.py often differ
in case from the docs
>
> Hm, who the heck uses "u8"? I'd rather go with
>
> >>> encodings.aliases.aliases["steven_s_preferred_encoding"] = "utf_8"
> >>> "Hello".encode("--- Steven's preferred encoding ---")
> b'Hello'
>
> ;)
>
Peter Otten
> __
>
Or normalize almost any mistyping ;'):
>>> encodings.normalize_encodin
I'm curious why, when I read and decode a binary file from the net in one
fell swoop, the REPL prints it between parentheses, line by line but with
no commas, like a defective tuple. I can see breaking lines visually, at
\n, but if the parentheses don't mean anything I can't see including them.
Or
On 25 April 2015 at 17:43, Alan Gauld wrote:
> know what's going on. I seem to recall you are using Python 3,
> is that correct?
>
>
I guess I should specify from now on py3 on win xp
Another question - why does the first assignment work but not the second. I
can see it's a syntax error but if
On 25 April 2015 at 18:03, Ben Finney wrote:
> Digest mode should only ever be used if you know for certain you will
> never be responding to any message.
>
That brings up a great shortcut if you use gmail. If you select some text
before reply that's All that is sent. Cuts way down on huge reply
ies')
print(change)
#and so forth for the rest of the prog
Jim Mooney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
iesAmount
*#change is 5.8745, not 5.87 - how did I get this decimal
error when simply subtracting an integer from what should be a
#two-decimal amount?
* print(twenties, ' twenties')
print(change)
#and so forth for the rest of the change
--
*Jim Mooney
If you shoo
> Now that Joel Goldstick has pointed out the reason, you may wonder what to do
> now. Answer? Use the decimal module:
>
> http://docs.python.org/2/library/decimal.html
>
> Although, you might prefer Doug Hellmann's introduction:
>
> http://pymotw.com/2/decimal/
Thanks. I was about to ask that bu
gt;>> n = 5.87000045
>>>> print '%.2f' % n
> 5.87
>>>> print '%.4f' % n
> 5.8700
>
> Or use round(), example:
>
>>>> round(n,2)
> 5.87
>
> In your case I would just use string formatting to
I already tried an example I copied from something online, in Py 2,
that had a ton of print statements. So I did some fast search and
replace to make them Py 3 with (), since I'm using Py 3. (Except Wing
101 won't do Replace All for some reason I haven't figured out, so
it's a bit tedious)
So for
> Generally the 2to3 script does an OK job. If you're using Windows it's
> [Python_Dir]\Tools\Scripts\2to3.py.
>
> http://docs.python.org/3/library/2to3
Thanks. I didn't know where to find it and thought I had to install it.
I opened a command window in my Python3
> The script 2to3.py is run from the system's terminal/console shell
> (e.g. cmd or PowerShell on Windows), not the python shell.
Yay, it worked! A decade of Windows and I'm back to the DOS Command
Line ;') Well, it worked the second time.I thought I could do without
the -w but nothing happened.
ention for this.
--
Jim Mooney
Today is the day that would have been tomorrow if yesterday was today
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Well, under the principle of least harm, it appears that since the
trailing backslash causes no harm if omitted, but sometimes does if
allowed, I removed them all.
But that's in win 7. Is it okay to always omit them in Linux? Python33
is itself installed with a trailing backslash, so I figured th
to2 script?. Or does that even makes sense since 3 has features
2 does not, although I read somewhere that many have been backported?
--
*Jim Mooney
Today is the day that would have been tomorrow if yesterday was today
*
___
Tutor maillist - Tutor@pyt
On 20 April 2013 12:50, eryksun wrote:
> On Sat, Apr 20, 2013 at 2:32 PM, Jim Mooney
> wrote:
> > I was looking at google pengine for python and it only supports 2.7. I've
> > installed 3 and would rather not go back
>
> Do you mean Google App Engine (GAE)?
>
l be huge inflation, I'll go
broke, and have to use it more practically ;')
Also, is there a good syllabus for the best way to progress in this
language? One can certainly get sidetracked.
--
*Jim Mooney
Today is the day that would have been tomorrow if
> On the other hand, from the perspective of "When will the *majority* of
> publicly-available libraries and packages support Python 3, then the answer
> is "Right now". The Python 3 Wall of Shame turned mostly green some time
> ago,
> and is now known as the Python 3 Wall of Superpowers:
>
> https
m javascript which has a
cluster of rules for that.
Yes, I know the easy way is a for loop, which automatically breaks on
eof, but at times I want to use a while loop and break out of it
explicitly on eof. But I can't seem to find an explicit eof marker in
python. Is there one?
--
Jim Mooney
My plan for starting on Py 3 may need some adjustment. I doiwnloaded
an irc client that needs Py 2.6 and I think Plone wants 2.7.
Is it possible to install multiple versions of python on the same
machine or will windows choke?
--
Jim Mooney
Today is the day that would have been tomorrow if
obably a Wing discuss question,
but I'm burned out on joining discussion groups to ask one question,
since otherwise Wing is very easy to grasp.
--
Jim Mooney
Today is the day that would have been tomorrow if yesterday was today
___
Tutor mailli
ment, and I still got the line 5 error:
primeList = [1]
numList = list(range(2,101))
for e in numList:
for f in primeList:
if numList[e] % primeList[f] != 0: #list index out of range
primeList.append(numList[e])
print(primeList)
--
Jim Mooney
The Real Reason Things Keep Going Wrong:
Why isn't 'e' changing to 'pP here when the vowel list is mutable:
vowelList = list('aeiouy')
for x in vowelList:
if x == 'e':
x = 'P'
print(vowelList)
#result: ['a', 'e', 'i', 'o', 'u
On 27 April 2013 02:55, Amit Saha wrote:
> On Sat, Apr 27, 2013 at 7:49 PM, Jim Mooney wrote:
>> Why isn't 'e' changing to 'pP here when the vowel list is mutable:
>>
>> vowelList = list('aeiouy')
>>
>> for x in vowelList:
>>
#x27;:'Desdemona'}
dickList = dick.items()
for role, name in dickList:
print(role, name)
#The above works, but using iteritems() in place of items doesn't
dickList2 = dick.iteritems()
for role, name in dickList2:
print(role, name)
#error: builtins.AttributeError: 'dict
> In py3.x, iteritems was replaced by .items()
Interesting, since iteritems was in my book, which was "updated" for
Py33. I guess the moral is you shouldn't trust an author 100% ;') I
must admit, iteritems did seem awkward and annoying so I'm glad it's
dropped.
Jim
__
= int(num)
print(listOfNumChars)
# result of 455 entered is ['4', '5', '5']
--
Jim Mooney
“For anything that matters, the timing is never quite right, the
resources are always a little short, and the people who affec
.
Could someone show this in normal, indented 'for' loops so I can see
what 'for' goes where and how it works. I figure if I figure this one
one I'll really comprehend list comprehension.
# find nonprimes up to 50, then filter out what's left as primes
noprimes = [j
to exit for some normal reason and don't want
the message? Or is a program always supposed to end in some normal way
without an exit. Or is there a different, more graceful way to end a
program when you want?
--
Jim Mooney
“For anything that matters, the timing is never quite right, the reso
> Something like this?
>
>>> import sys
while 1:
> ... sys.exit('Exiting from Infinite Loop')
> ...
> Exiting from Infinite Loop
I still get a traceback message from the console. I just want a clean
exit without that. I have a feeling I'm thinking about something the
wrong way ;')
Traceb
> I believe that traceback is a bug in IDLE, which I think has been
> fixed for the next release (or is being chased, one of the two).
Ah, that clears it up. I've been using IDLE and Wing. Both have the
traceback so I guess Wing uses some IDLE code. But I tried it in the
command shell, which I hav
I'm trying PyScripter instead of Wing 101. It works fine and has a lot
more PyLearner features than Wing 101 (at the same price ;'), such as
popups showing the parameters for methods, profiler, lint,
programmable snippets, etc. It also lets you choose your Python
version and finds the right one, wh
> Given that your main() question ;c) has been answered, you might also
> want to give Spyder a try before switching.
Thanks - I'll try that if it's not overkill for a basic learning tool,
or has a ton of dependencies I have to install, or isn't up to Py3.3.
PyScripter had an odd bug. Whenever I
eger, Corky - try again: ")
randomList = []
for c in range(0,listLength):
randNum = random.randint(0,maxNumberSize)
randomList.append(randNum)
return randomList
--
Jim Mooney
“For anything that matters, the timing is never quite right, the
resources are always
> As with any other module you need to specify the module when using its
> contents:
>
> newRandomList = makeRandomList.createRandomList()
>
> BTW. A better name for the module is probably just randomlist
>
> HTH
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
Ah
>> BTW, does your "better name" mean that camelCaps are discouraged in
>> Python?
>
> No, although most Python modules are all lowercase. But I really meant that
> your module should be for more than just making lists, it should eventually
> have all the functions needed to manage the list.
>
> Eve
figure this myself once I get an editor I like with a profiler,
but I'm still trying editors and don't want to spend all my time on
them. So far I'm in between too simple, overkill, or buggy. And I
don't want anything that uses Java. I'm allergic to Java ;')
--
Jim
I'm trying variable substitution in a format string that looks like one
that works, but I get an error. What am I doing wrong? tks
x = 40
s = 'John flew to the {0:-^{x}} yesterday'
print(s.format('moon', x))
Error is builtins.KeyError: 'x'
--
Jim
___
h to
each Py.
So my bad on the reported PyScripter bugs ;')
--
Jim Mooney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
e them? And are they all in
the same place?
--
Jim Mooney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
w what I have to put in the registry.
--
Jim Mooney
“For anything that matters, the timing is never quite right, the
resources are always a little short, and the people who affect the
outcome are always ambivalent.”
___
Tutor maillist - Tutor@python.o
Make sure you have the correct architecture. The builds from
PythonWare are 32-bit. Christoph Gohlke has 64-bit builds here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil
==
Okay, I installed the 64 bit for Py 2.7, it installed, I see PIL
directory in Site-Packages. (Actually, it's the Pillow f
How do I install PIL with easy-install? I used that once but forget
how. I seem to recall reading it installs a version that is Py native
and doesn't choke on your OS. Or did I read that wrong?
Jim
On 16 May 2013 02:44, eryksun wrote:
> On Thu, May 16, 2013 at 2:06 AM, Jim Moone
> By the way, do you mind if I ask why you're using PyGraphics? It's
> only meant to be used for education (and even there, AFAIK the only
> users are the University of Toronto (and even there, I think they
> stopped using it because they switched to Python 3 for Coursera and
> didn't care enough t
On 16 May 2013 16:11, James Reynolds wrote:
> You may want to consider pillow. Oil hasn't been maintained in some time.
Actually, I installed Pillow. But then I deleted everything and
started over with 32 bit. I got greedy figuring I'd get the fastest Py
with 64 bit, but there are too many kludge
> If you see a syntax error, that means your code could not be compiled.
> Python's parser doesn't grok "import image from pil". In natural
> language we have the freedom to swap the order of clauses, but
> programming languages are generally more rigid. The correct order is
> "from pil import imag
d and test it? (Assume I know nothing about
Django other than it's a Py CMS, since I don't ;')
Jim Mooney
"Since True * True * True == True, what I tell you three times is
true." --The Hunting of the Snark
___
Tutor maillist - T
I get "no module named bagofries"
Is there some reason I can put a program right under Lib and it
imports, which it does but not a directory?
Also, I noticed Wing 101 is sometimes creating a same-named pyc
program alongside my py program, but I don't see an option to do that.
--
> 1) The directory must be somewhere that Python will see it, no different from
> a single file module. That means, in the current directory, or your
> PYTHONPATH.
Since Python on Win 7 can already find modules in Lib (and in
site-packages, under Lib) can I assume that it will find any
director
bark'
I'm doing the from statement right but what am I doing wrong with just
importing the whole module and chaining out bark (for bark.py) and the
function or data following?
Using Py27 and Win 7
--
Jim Mooney
There is no such thing as a failed experiment
___
> > import random
> >
> > Count = 0
> >
> > Random_Number = random.randint(1, 100)
> >
> > while Count <= 100:
> > print (Random_Number)
> >
> > Count = Count + 1
>
> There are a few issues here:
> * variable names should be lower case
> * for this case it's best to use for loop with ran
with that is import media,
without qualifying it with pygraphics, as in import pygraphics.media
Why don't I have to drill down for media.py as I do with jimlib?
--
Jim Mooney
"And as he walked along he carried some things in his small sack. Some
were useless and some were not. But t
I'm trying a nose test on a simple prog. Once I got past the huge
traceback in Wing that made me think nose didn't work I realized the
prog tested okay. But I noticed at the end of the traceback nose says
this:
"c:\Python27\Lib\site-packages\nose-1.3.0-py2.7.egg\nose\core.py",
line 200, in runTest
unmodule()
nose result:
Ran 0 tests in 0.000s
OK
--
Jim Mooney
"When I got to high school I realized my name would always present
problems." --Dick Hertz
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
> Do you ever bother to investigate anything before posing a question?
Actually, I did notice that tests were zero, but the book I am using
does not mention needing the word 'test' as part of the regex. There
is only so much time in a day and so many books I can buy (and not all
comprehensive, app
have an asymptotic learning curve, so I go off on a lot
of confused tangents, but I find it makes things go a lot faster after
a certain point.)
--
Jim Mooney
"When I got to high school I realized my name would always present
problems.&quo
> Keep the try block small. For example if it's for a call to
> open(filename, "r") the only possible errors (assuming correct syntax)
> are NameError for using an undefined variable and IOError for
> specifying a file which doesnt exist.
Thanks. Since I'm new at this the error lists I saw just ha
> Please don't reply to digests. Each message has a Message-ID, and
> replies have an IN-REPLY-TO field that references the ID of the
> previous message in the thread. By replying to the digest your message
> has no meaningful Subject, and even if you change the Subject field,
> it still won't be t
>> "I find it amusing when novice programmers believe their main job is
>> preventing programs from crashing. ... More experienced programmers realize
>> that correct code is great, code that crashes could use improvement, but
>> incorrect code that doesn't crash is a horrible nightmare."
Then am
> The unicodedata module provides access to the Unicode database that Python
> uses:
>
> http://docs.python.org/2/library/unicodedata#unicodedata.unidata_version
That was really useful for another reason. After I checked and saw it
was in DLLs, I investigated the other Python DLLs - which had
her
omething simple I'm missing?
import winsound
try:
for freq in range(100,32000,100):
winsound.Beep(freq, 1000)
except KeyboardInterrupt:
pass
--
Jim Mooney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscr
> I've not used it myself, but I believe the KeyboadInterrupt is only
> generated by one _specific_ keypress. You mentioned that you pressed a key
> - did you try Control-C?
Actually, I did, using Win 7 - and I put exit() in place of pass. I
tried ctrl-c, ctrl-x, esc, and del. Windows doesn't see
On 22 May 2013 13:24, Jim Mooney wrote:
>> I've not used it myself, but I believe the KeyboadInterrupt is only
>> generated by one _specific_ keypress. You mentioned that you pressed a key
>> - did you try Control-C?
>
> Actually, I did, using Win 7 - and I put exit(
On 22 May 2013 15:05, eryksun wrote:
> On Wed, May 22, 2013 at 4:30 PM, Jim Mooney wrote:
>>
>> Figured it out. Ctrl-C only works in the Windows Command window, not
>> in an editor.
>
> Which IDE?
Wing. But not being able to abort out of a Windows program is a
feat
> What do you mean "doesn't do anything" ? It certainly terminates the loop,
> which was the intent. Provided of course that something else isn't trapping
> the Ctrl-C first.
It doesn't in Windows proper, using Wing 101. It does exit in the
Windows command console. For some reason I forgot ctrl-
winsound.Beep(freq, 1000)
except KeyboardInterrupt:
print 'last frequency heard was', freq - 100
exit(0)
--
Jim Mooney
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
rlist.append(random.randint(0,maxval))
listlenmax = 'list' + '_' + str(length) + '_' + str(maxval) # just
the name of a string, not the data name I want
#just printing the below as a test - they'll be removed when the import works
print
> The short answer is that Python is not designed to be able to do such a
> thing. You're advised instead to make a dictionary, where the key is the
> name you generate
I was probably unclear what I wanted to do. Basically, enter a string of
number pairs of lengths and maxvals to create and prin
On 24 May 2013 18:10, Dave Angel wrote:
> Is lists[(3,8)] really so much harder to type than
> list_3_8 ?
>
You have a point. I hate underlines - my finger always misses them.
Keyboards were not designed for programming ;')
Anyway, I just thought I'd try exec, but it's giving me fits putt
(8,5)
# So how am I swapping elements of a tuple when a tuple is immutable?
#t rying so change a tuple since I just did it
testit[1] = 14 #program crashes - *TypeError: 'tuple' object does not
support item assignment *so the tuple I just changed is indeed immutable
--
Jim Mooney
&
On 25 May 2013 18:34, David wrote:
> On 26/05/2013, Jim Mooney wrote:
> > I thought tuples were immutable but it seems you can swap them, so I'm
> > confused:
> >
> > a,b = 5,8
>
> I think your confusion might arise from not understanding that the
>
On 25 May 2013 19:38, Steven D'Aprano wrote:
> On 26/05/13 05:23, Mark Lawrence wrote:
>
> On the right hand side, 5,8 creates a tuple, which is then immediately
> unpacked to two individual values. You can see this by disassembling the
> code. In 2.7, you get this:
>
> py> from dis import dis
Oops, Gmail switched me back to rich text. My apologies. Back to plain
;') I wish I could automate the mode, per-recipient, since I do need
rich text for some things. The way gmail defaults seems to change from
month to month.
--
Jim Mooney
___
eficient. However, the 4th edition I
of Lutz that I got only goes up to Py 2.6.
As a general question - is there any Big difference between 2.6 and
2.7 (the Py version I'm using) that I should look out for so I don't
get tripped up?
Jim Mooney
ile for multi line
statements since the example I saw was a single line, compiled a small
multi-line routine nicely, and realized I had just compiled a bad
syntax error. I was trying to iterate an integer.
Good to know that compile doesn't check syntax, since I erroneous
On 26 May 2013 15:33, Marc Tompkins wrote:
> On Sun, May 26, 2013 at 6:17 AM, eryksun wrote:
StackOverflow may be good but I just had an unpleasant experience
wanting to add New .py file to my Windows context menu. The first
advice I saw was missing a backslash and had me adding the string to
th
On 26 May 2013 17:20, Steven D'Aprano wrote:
> On 27/05/13 07:40, Jim Mooney wrote:
>
>> Good to know that compile doesn't check syntax, since I erroneously
>> thought it did.
>
>
> compile does check syntax.
I'm unclear on something. The code below
On 26 May 2013 17:38, eryksun wrote:
> On Sun, May 26, 2013 at 8:20 PM, Steven D'Aprano wrote:
>> On 27/05/13 07:40, Jim Mooney wrote:
>>
>>> Good to know that compile doesn't check syntax, since I erroneously
>>> thought it did.
>>
>>
se could possibly cause a registry
crash. It just didn't work since a backslash in the path to
windows\shellnew was missing, probably due to typing too fast.
--
Jim Mooney
There are those who see.
Those who see when they are shown.
And those who do not see.
install Visual Studio (Express, of
course ;'). I'm on a very slow connection, right now. Is there any
alternative to downloading this monster 600 Mb ISO just to install a
package, or am I doomed to getting Visual Studio?
--
Jim Mooney
Atlantis Anyone?
http://www.pnas.org/content/early/2013/
1 - 100 of 284 matches
Mail list logo