On Sunday, October 28, 2012 8:43:30 PM UTC-7, Ian wrote:
> On Sun, Oct 28, 2012 at 9:12 PM, wrote:
>
> > The slice operator does not give any way (I can find!) to take slices from
> > negative to positive indexes, although the range is not empty, nor the
> > expected indexes out of range that
On Sunday, October 28, 2012 9:26:01 PM UTC-7, Ian wrote:
> On Sun, Oct 28, 2012 at 10:00 PM, Andrew wrote:
>
> > Hi Ian,
>
> > Well, no it really isn't equivalent.
>
> > Consider a programmer who writes:
>
> > xrange(-4,3) *wants* [-4,-3,-2,-1,
Hello world,
I'm working on a script that will run an executable obtaine the output
from the executable
and do some analysis on the output. Essentially the script runs the
executable analyses
the data.
I'm looking into os.popen and the subprocess module, implementing os.popen
is easy but i
ount for development purposes if
I'm concerned about shoulder surfers, and that's probably a good idea
anyway. But I'm curious what's different about IDE environments that
makes it impossible to suppress output on them, and if there's anything
that might be done about this.
On Fri, 25 Feb 2011 20:27:42 +0100, Wolfgang Rohdewald wrote:
> On Freitag 25 Februar 2011, Andrew wrote:
>> But I'm curious what's different
>> about IDE environments that makes it impossible to suppress
>> output on them, and if there's anything that might
The Voicent Python Simple Interface class contains the following
functions.
callText
callAudio
callStatus
callRemove
callTillConfirm
These functions are used to invoke telephone calls from your Python
program. For example, callText is used to call a specified number and
automa
y, which seems nonoptimal to me.
[0] The file is an SNES ROM dump, but I don't think that matters.
[1] I'm using Python 3, if it's relevant.
--
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
lly read one character from disk at a time.
> The actual disk IO will read a bunch of bytes into a memory buffer, and
> then read from the buffer.
I'd guessed as much, but assumed there was still ridiculous function call
overhead involved in the repeated read(1) method above. Of course, trying
to avoid said overhead is premature optimization; my interest in doing so
is more aesthetic than anything else.
Thanks for the help.
--
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
able to pass a file to the
server along with code. What is the best way to pass file to the
server?
Thank you for any suggestions or resources you can provide.
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
Hi I was wondering if any one could help me with a chat client I am
writing my main issue is not in the sending of messages or in the
connection setting.
I am having issues receiving the messages. I am using Tkinter as the GUI
and Python 2.3.5
my code has been edited so many times but no matte
eficial to the growth of
the scapy project
Thank You in Advance
Cheers
Andrew :)
--
http://mail.python.org/mailman/listinfo/python-list
Newb here... For one of my programs I want to initialize a variable for
each letter of the alphabet. For example, a,b,c = 0,0,0. I don't think
this works, but I'm wondering if I can do something similar to this:
from string import ascii_lowercase
class Blah:
def __init__(self):
for le
Oops, I probably should have tried searching the list first. My
background is strictly academic. I was switching languages so often I
never got really familiar with any of them. Maybe C for a while, but
I've forgotten alot. I'm hoping python will be the last language I ever
need. :) I don't know wh
t.SO_REUSEADDR, 1)
s.bind((host, port))
s.listen(1)
while 1:
try:
ZSP = spots.ZSP(s.accept()[0])
except KeyboardInterrupt:
raise
except:
traceback.print_exc()
continue
t = Thread(target=handlechild)
t.setDaemon(1)
t.start()
heres is a link to the spots module I am using
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/511435
also the original drawing application I am using
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/511436
Cheers
I appreciate any help
ty
Andrew Evans
--
http://mail.python.org/mailman/listinfo/python-list
Hello Ive been messing around with a simple raw image viewer using Pil
and Tkinter
However I am running into problems displaying the images they appear to
be not correct I believe it is cause of the modes for the different
files but I am unsure
If someone could examine my code and assist in he
Hi
Are these functions (inet_ntop(), inet_pton()) from the socket library
supported on Windows.
If not is there an equivalent for them using Windows
Ive seen mention of people creating their own in order to use them
Appreciate the help
ty
--
http://mail.python.org/mailman/listinfo/python-lis
Hi I just thought I would mention that I found what I needed from dnspython
if anyone ever needs ;)
http://www.dnspython.org/
--
http://mail.python.org/mailman/listinfo/python-list
raw types as
possible... if possible.
Cheers
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
"locale" says en_GB.UTF-8, but I'd like this code to
work whatever the locale is, if that makes sense.
Sorry for being stupid,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
to do something explicitly on output - seems wrong),
or am I going to be bitten by other errors later?
Thanks,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
The impression I got from the link I gave was that exec et al already
had the appropriate unicode support; system seems to be the exception.
Anyway, thanks for the info - that directory name is coming from a DOM
call, and I'm pretty sure it's returning Unicode, so that makes sens
On Dec 16 2008, 5:11 pm, "Gabriel Genellina"
wrote:
> En Tue, 16 Dec 2008 17:21:35 -0200, Andrew
> escribió:
>
>
>
> > On Dec 16, 12:50 pm, Christian Heimes wrote:
> >> Andrew schrieb:
>
> >> > I'm running into a strange situation
On Feb 5, 9:17 pm, "Gabriel Genellina" wrote:
> En Thu, 05 Feb 2009 17:34:29 -0200, Andrew
> escribió:
>
>
>
> > On Dec 16 2008, 5:11 pm, "Gabriel Genellina"
> > wrote:
> >> En Tue, 16 Dec 2008 17:21:35 -0200, Andrew
> >>
http://www.associatedcontent.com/article/995306/parameningeal_infection_brain_abscess.html?cat=70
--
http://mail.python.org/mailman/listinfo/python-list
e thing as exit status? Is
there a way to get exit status using a subprocess function instead of
returncode? Is this the right way to go about this?
Thanks for any direction / advice you can provide.
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 16, 12:50 pm, Christian Heimes wrote:
> Andrew schrieb:
>
>
>
> > Hello,
>
> > I'm running into a strange situation with getting incorrect
> > returncodes / exit status from python subprocess.call. I'm using a
> > python script (runtime 2.6
]
result = list(cursor.execute(sql))
print "Code=%s, number=%s" % (id[0],result[0][0])
Notice the extra [0] index on the "result"
In English:
Item zero of the tuple that is item zero of result
E.g.
>>> result = [(47,)]
>>> result = result[0]
>>> result
(47,)
>>> result[0]
47
--
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
re the same as for the Popen constructor. Example:
check_call(["ls", "-l"])
I don't know if check_call is going to be deprecated, but there still appears
to be a missing function.
I'm not sure if this is the correct way to report errors, but I think it's
p
Hi:
I'm having a problem in some zope (2.10) code (HTTPResponse.py) where
a method that gets imported somehow evaluates to None in certain cases
which causes a TypeError exception to be raised (eg: TypeError:
'NoneType' object is not callable). The code excerpt is below where
the exception is rai
On Nov 20, 6:53 am, Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> Andrew <[EMAIL PROTECTED]> writes:
> > I'm having a problem in some zope (2.10) code (HTTPResponse.py) where
> > a method that gets imported somehow evaluates to None in certain cases
> > which cau
Hello I am trying to port some code and I am running into some issues I
may or may not be able to solve on my own and would appreciate your help
Basically I am trying to open the Tun Driver through openvpn in Ether
(Tap mode).
code is as follows
f = win32file.CreateFile("C:\\WINDOWS\\System3
the absolute path to the module being executed.
$ echo "print __file__" > path.py
$ ipython
In [1]: import path
path.pyc
In [2]: import os
In [3]: os.path.join(os.getcwd(), path.__file__.rstrip("c"))
Out[3]: '/home/andrew/path.py'
--
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
, realpath
In [5]: realpath(path.__file__.rstrip("c"))
Out[5]: '/home/andrew/sym/sym/path.py'
In [6]: realpath(abspath(path.__file__.rstrip("c")))
Out[6]: '/home/andrew/sym/sym/path.py'
I get the same thing for realpath() and realpath(abspath())
It seems to
Andrew wrote:
bukzor wrote:
I have to go into these convulsions to get the directory that the
script is in whenever I need to use relative paths. I was wondering if
you guys have a better way:
...
If you just need the current path (where it is executed) why not use
os.getcwd()
which
)
theact = ACTIONS.get(action, "Unknown")
out2 = str(full_filename) + " " + str(theact)
return out2
the return statement will return a result breaking my loop. My goal is
to have it continue looping and updating the client
any ideas?
Cheer
s on how to fix this error
Cheers
Andrew
Christian Heimes wrote:
Andrew wrote:
Hi I was wondering if there is anyway with XML RPC to send a string of
text from the server to the client with out calling return thus
breaking my loop
for example
def somefunc():
fo
Yes I found many examples similiar to that but Yield still produces that
error
Sorry if I sound Novice but I have no formal education in programming so
understanding something takes me a bit longer than most of you guys :-D
Ive included a bit more of the function
How ever unimportant it may
I run the server then execute the client. From the client I execute the
function key.watchos()
My goal is an administration tool
and this is just a function in my goal :-)
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Maboroshi>pyt
Hi I have done this without error
:D
Yield returns the result I am looking for... however it does not
continue looping. It does the same thing as return would
any suggestions
my code is as follows
serveraddr = ('', )
srvr = ThreadingServer(serveraddr, SimpleXMLRPCRequestHandler,
allow_
mmk guess I will have to look for alternate solutions for this project.
Thank you all for your help
cheers Andrew!
Fredrik Lundh wrote:
Andrew wrote:
Yield returns the result I am looking for... however it does not
continue looping. It does the same thing as return would
the XML-RPC
On 2008-08-29, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> hello every body in the group
Hello Dr Nick :-)
--
http://www.andrews-corner.org
--
http://mail.python.org/mailman/listinfo/python-list
please explain this behavior to a newb:
>>> a = [1,2,3,4]
>>> b = ["a","b","c","d"]
>>> a
[1, 2, 3, 4]
>>> b
['a', 'b', 'c', 'd']
>>> a[0:2]
[1, 2]
>>> a
[1, 2, 3, 4]
>>> b[2:4]
['c', 'd']
>>> a[0:2] = b[0:2]
>>> b[2:4] = a[2:4]
>>> a
['a', 'b', 3, 4]
>>> b
['a', 'b', 3, 4]
>>>
--
http://mail.pyt
I did this once for a motion dection algorithm. I used luminescence
calculations to determine this. I basically broke the image into a
grid of nine (3x3) areas and calculated the luminescene for each
section and if it changed signficantly enough then there has been
motions. The more sections, th
r property, so it's not a very clear example of how to
get the combo box property to work.
Is there any other examples or help for this kind of setup?
Thanks,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 4, 2:59 pm, David Boddie wrote:
> On Tuesday 02 February 2010 22:25, Andrew wrote:
>
> > I am creating custom widgets for the PyQt4 Designer. I can create
> > custom properties, but I'm looking for how to create a custom property
> > that has a combo box dro
[ Please forward to those who may be interested. Thanks. ]
==
2010 International Congress on Computer Applications and Computational
Science
CACS 2010
http://irast.org/conferences/CACS/2010
4-6 December 2010, Singapore
[ Please forward to those who may be interested. Thanks. ]
==
2010 International Congress on Computer Applications and Computational
Science
CACS 2010
http://irast.org/conferences/CACS/2010
4-6 December 2010, Singapore
. If it's broke, is there any
potential workaround?
I'm using python 2.6.4 and PyQt4 4.7.6
Thanks,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 15, 9:53 am, Andrew wrote:
> I'm trying to remove the widgets from the QFormLayout widget from
> PyQt4. According to the documentation I should be able to use the
> command .takeAt(int) which will delete the widget from the layout and
> then return to me the QLayoutWidge
then without changing the code, I now get
error 2. I do not have to re-size the window for it to break now.
I am using python 2.7 with PyQt4 4.7.7
Thanks for any insight,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 18, 2:26 pm, Andrew wrote:
> I have two issues dealing with the table widget, though they may be
> interconnected. I'm not sure. Both delete the cell widgets off of my
> table but leave the rows, and then when I have the table update, it
> complains the c++ object
ds passwords in cleartext.
That won't do. I note that python has a separate ssl module but I must
admit I'm at a loss as to how to fit the two together. I'm working from the
Python 3.1.2 documentation, page noted here:
http://docs.python.org/py3k/library/nntplib.html
Anyone
On Fri, 22 Oct 2010 23:23:31 +0200, Antoine Pitrou wrote:
> On Fri, 22 Oct 2010 17:02:07 -0400
> Andrew wrote:
>>
>> Python's nntplib seems ideal for my purposes, but as far as I can see it
>> doesn't support nntps connections. If I understand nntp correctl
On Oct 19, 2:29 pm, David Boddie wrote:
> On Monday 18 October 2010 23:26, Andrew wrote:
>
> > I have two issues dealing with the table widget, though they may be
> > interconnected. I'm not sure. Both delete the cell widgets off of my
> > table but leave the rows, a
say, what options or arguments were possible and/or useful, and
then try to translate that into the python/tkinter equivelant.
--
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
Currently, I keep Last.fm artist data caches to avoid unnecessary API calls and
have been naming the files using the artist name. However,
artist names can have characters that are not allowed in file names for most
file systems (e.g., C/A/T has forward slashes). Are there any
recommended strateg
On 2013.05.07 17:18, Fábio Santos wrote:
> I suggest Base64. b64encode
> (http://docs.python.org/2/library/base64.html#base64.b64encode) and
> b64decode take an argument which allows you to eliminate the pesky "/"
> character. It's reversible and simple.
>
> More suggestions: how about a hash? Or
On 2013.05.07 17:01, Terry Jan Reedy wrote:
> Sounds like you want something like the html escape or urlencode
> functions, which serve the same purpose of encoding special chars.
> Rather than invent a new tranformation, you could use the same scheme
> used for html entities. (Sorry, I forget t
On 2013.05.07 17:37, Jens Thoms Toerring wrote:
> You
> could e.g. replace all characters not allowed by the file
> system by their hexidecimal (ASCII) values, preceeded by a
> '%" (so '/' would be changed to '%2F', and also encode a '%'
> itself in a name by '%25'). Then you have a well-defined
>
On 2013.05.07 19:14, Dave Angel wrote:
> You also need to decide how to handle Unicode characters, since they're
> different for different OS. In Windows on NTFS, filenames are in
> Unicode, while on Unix, filenames are bytes. So on one of those, you
> will be encoding/decoding if your code is
On 2013.05.07 20:28, Neil Hodgson wrote:
> http://support.microsoft.com/kb/74496
> http://en.wikipedia.org/wiki/Nul_%28band%29
I can indeed confirm that at least 'nul' cannot be used as a filename. However,
I add an extension to the file names to identify them as caches.
--
CPython 3.3.1 | Windo
On 2013.05.07 20:45, Dave Angel wrote:
> While we're looking for trouble, there's also case insensitivity.
> Unclear if the user cares, but tom and TOM are the same file in most
> configurations of NT.
Artist names on Last.fm cannot differ only in case. This does remind me to make
sure to update
On 2013.05.07 20:13, Dave Angel wrote:
> So you're comfortable typing arbitrary characters? what about all the
> characters that have identical displays in your font?
Identification is more important than typing. I can copy and paste into a
terminal if necessary. I don't foresee typing out one o
On 2013.05.07 22:40, Steven D'Aprano wrote:
> There aren't any characters outside of UTF-8 :-) UTF-8 covers the entire
> Unicode range, unlike other encodings like Latin-1 or ASCII.
You are correct. I'm not sure what I was thinking.
>> I don't understand. I have no intention of changing Unicode c
On 2013.05.08 19:16, Roy Smith wrote:
> Yup. At Songza, we deal with this crap every day. It usually bites us
> the worst when trying to do keyword searches. When somebody types in
> "Blue Oyster Cult", they really mean "Blue Oyster Cult", and our search
> results need to reflect that. Likew
On 2013.05.08 18:37, Dennis Lee Bieber wrote:
> And now you've seen why music players don't show the user the
> physical file name, but maintain a database mapping the internal data
> (name, artist, track#, album, etc.) to whatever mangled name was needed
> to satisfy the file system.
Tags ar
On 2013.05.13 17:53, Mark Lawrence wrote:
> I much prefer the alternative <> for != but some silly people insisted
> that this be removed from Python3.
It's not removed from Python 3, though:
Python 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 20:30:21) [MSC v.1600 64 bit
(AMD64)] on win32
Type "hel
hello,
going fru some basic examples and can't figureout why the following errors
out. Help is very much appreciated:
def front_x(words):
# +++your code here+++
print "words passed : ", words
list_xx = []
list_temp = words[:]
print "list_temp -", list_temp
print "words -", w
VERY appreciated. Basically all the games I
want to make involve square grids like this, so I want to know as much
about them as possible.
Thank you very much for reading this,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
entire grid is now being worked out.
-Andrew
On Wed, May 15, 2013 at 3:57 PM, Dave Angel wrote:
> On 05/15/2013 02:14 PM, Andrew Bradley wrote:
>
> Please reply on the list, not privately, unless it's something like a
> simple thank-you. Typically, you'd do a reply-all,
ok, now I have tested this more thoroughly, and it seems i can only do the
grid[x][y] function up to grid[9][9], when i really should be able to be
doing up to grid[10][20].
What exactly is the function of this row_squares list?
On Wed, May 15, 2013 at 4:35 PM, Andrew Bradley wrote:
> No
The
coordinates all do look correct, and there are 200 rectangles when I do
list(grid).
>
>
> So now, how can I utilize this new grid list? Thank you for the
>>> help so far, I feel like the entire grid is now being worked out.
>>> -Andrew
>>>
>>>
On 2013.05.15 20:47, Eric Miller wrote:
> Can python sockets be used to capture IP traffic when the traffic is
> originating from a non-python source?
Python just exposes the underlying OS socket interface. There is nothing
special about sockets in Python. The whole point is to connect
heterogene
Tim Daneliuk wrote:
> All You People are making this way too hard. To understand how
> questions like the OPs ought be resolved, please read:
>
> http://pvspade.com/Sartre/cookbook.html
On this list, I would expect a Sartre reference to be something like this:
https://www.youtube.com/watch?v
On 2013.05.16 02:48, Charles Smith wrote:
> Hi.
>
> How can I say, from the cmd line, that python should take my CWD as my
> CWD, and not the directory where the script actually is?
>
>
> I have a python script that works fine when it sits in directory WC,
> but if I move it out of WC to H and p
On 2013.05.21 10:26, loial wrote:
> For testing purposes I want my code to raise a socket "connection reset by
> peer" error, so that I can test how I handle it, but I am not sure how to
> raise the error.
Arbitrary exceptions can be raised with the raise keyword. In Python 3.3, that
exact error
On 2013.05.21 14:26, Mark Lawrence wrote:
> On 21/05/2013 20:13, Skip Montanaro wrote:
>>> Thank you, but let me rephrase it. I'm already using str.format() but I'd
>>> like to use '%' (BINARY_MODULO) operator instead.
>>
>> That's unlikely to change. If not deprecated already string
>> interpola
On 2013.05.21 21:59, Steven D'Aprano wrote:
> On Tue, 21 May 2013 14:53:54 -0500, Andrew Berg wrote:
>
>> On 2013.05.21 14:26, Mark Lawrence wrote:
>
>>> Please stop perpetuating this myth, see
>>> http://mail.python.org/pipermail/python-dev/
On 2013.05.23 11:09, Andrew Edwards-Adams wrote:
> I was recommended to use the following code to access the Json data directly,
> however I cannot get it to return anything.
Where exactly is the problem? Do you not get JSON back? Do you get the wrong
values? Do you get a KeyError or Inde
On 2013.05.23 11:58, Andrew Edwards-Adams wrote:
> If there was a trackback/debug I might know where to look, but its not
> yielding errors, its simply yielding nothing. What i dont know, is if it is
> the code that isnt working, or what I am inputting in the " print
> tex
On 2013.05.23 11:58, Andrew Edwards-Adams wrote:
> Hi thanks for the reply Andrew, my first bit of code was heading in the right
> direction I was managing to pull out the usernames from the JSON, using REGEX.
It's also worth mentioning that regexes are almost always the wrong tool,
On 2013.05.24 17:53, Thomas Murphy wrote:
> I know I'm iterating wrong. May I ask how?
.split() already returns a list, so instead of iterating over the list and
getting a single username, you iterate over the list and get a
single list.
--
CPython 3.3.2 | Windows NT 6.2.9200 / FreeBSD 9.1
--
ht
On 2013.05.26 14:10, Daniel Gagliardi wrote:
> I want to know how to implement concurrent threads in Python
With the threading module in the standard library.
http://docs.python.org/3.3/library/threading.html
There are plenty of tutorials on this out there; we'll be happy to help if
you're stuck
On 2013.05.26 16:21, Daniel Gagliardi wrote:
> shutup bitch! i do know python cannot concurrent threads. want a workaround
You're a charming fellow. I'm sure everyone will flock to help you.
--
http://mail.python.org/mailman/listinfo/python-list
I don't think you go far enough. Obviously we need way more flexibility. A
simple on/off is okay for some things, but a finer granularity
would be really helpful because some things are more important than others. And
why stop at stdout/stderr? We need to add a consistent way
to output these mess
On 2013.06.08 16:31, Malte Forkel wrote:
> Hello,
>
> I have written a small utility to locate errors in regular expressions
> that I want to upload to PyPI. Before I do that, I would like to learn
> a litte more about the legal aspects of open-source software. What would
> be a good introductory
On 2013.06.08 17:09, Benjamin Kaplan wrote:
> On Sat, Jun 8, 2013 at 2:31 PM, Malte Forkel wrote:
>> # This version of the SRE library can be redistributed under CNRI's
>> # Python 1.6 license. For any other use, please contact Secret Labs
>> # AB (i...@pythonware.com).
>> #
>> # Portions of this
On 2013.06.12 23:47, Rick Johnson wrote:
> 1. Rock is dead...
Nah, he just does movies now.
Seriously, though, GUI stuff might be okay to learn early on since he's
interested in making games. There's no reason to focus heavily on it
this early, however.
--
CPython 3.3.2 | Windows NT 6.2.9200 /
On 2013.06.20 08:40, Rick Johnson wrote:
> One the most humorous aspects of Unicode is that it has
> encodings for Braille characters. Hmm, this presents a
> conundrum of sorts. RIDDLE ME THIS?!
>
> Since Braille is a type of "reading" for the blind by
> utilizing the sense of touch (there
On 2013.06.25 17:19, willlewis...@gmail.com wrote:
> na=('type first integer n\')##THE RED SHADOW APPEARS HERE##
Here you escape the closing single quote. \n is a line feed, not n\. Also, the
parentheses are unnecessary, and it looks like you are a
assigning a tuple instead of a string.
Syntax err
I've begun writing a program with an interactive prompt, and it needs to parse
input from the user. I thought the argparse module would be
great for this, but unfortunately it insists on calling sys.exit() at any sign
of trouble instead of letting its ArgumentError exception
propagate so that I c
On 2013.06.27 08:08, Roy Smith wrote:
> Can you give us a concrete example of what you're trying to do?
The actual code I've written so far isn't easily condensed into a short simple
snippet.
I'm trying to use argparse to handle all the little details of parsing and
verifying arguments in the pre
I appreciate the responses from everyone. I knew I couldn't be the only who
thought this behavior was unnecessarily limiting.
I found a ticket on the bug tracker. A patch was even submitted, but obviously
it didn't make it into 3.3.
Hopefully, it will make it into 3.4 with some prodding.
http://
After getting over the hurdles I initially explained and moving forward, I've
found that standard command-line parsing and its conventions
are far too ingrained in the design of argparse to make it useful as a general
command parser. I think I would end up overriding a
substantial amount of the m
On 2013.06.29 09:12, Roy Smith wrote:
> What is the tracker issue number or url?
http://bugs.python.org/issue9938
--
CPython 3.3.2 | Windows NT 6.2.9200 / FreeBSD 9.1
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
print max(-10, 10)
10
print max('-10', 10)
-10
My guess max converts string to number bye decoding each of the characters
to it's ASCII equivalent?
Where can i read more on exactly how the situations like these are dealt
with?
Thank you
AZ
--
http://mail.python.org/mailman/listinfo/pyth
On 2013.06.30 13:46, Andrew Z wrote:
> Hello,
>
> print max(-10, 10)
> 10
> print max('-10', 10)
> -10
>
> My guess max converts string to number bye decoding each of the characters to
> it's ASCII equivalent?
>
> Where can i read more on exac
On 2013.07.01 08:28, Νίκος wrote:
> So, Steven you want me to sit tight and read all the insults coming from
> this guy?
>
> If that happened to you, wouldn't you feel the need and urge to reply
> back and stand for yourself?
You can ignore it (this is the best solution) or you can take it off-l
On 2013.07.02 20:20, goldtech wrote:
> Using Windows
>
> I want to run a .py file script using pythonw.exe so the DOS box will not
> open. Is there a way from inside the script to say "run me with pythonw.exe
> and not python.exe"?
Use the .pyw extension instead of .py.
Also, just FYI, DOS i
On 2013.07.03 02:34, Tim Golden wrote:
> While this is clearly true, it's by no means unusual for people to refer
> to the "DOS Box" or talk about "DOS commands" etc. even when they're
> quite well aware of the history of Windows and its Console subsystem.
> It's just quicker than saying "Console W
1 - 100 of 1812 matches
Mail list logo