Hi there,
I'm new to Python and to programming. is this the right place for me to
post a beginner question on Python use ?
Many thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Sep 12, 2012 at 10:06 AM, wrote:
> ߒߤߒߡߜߦߡ ß ß§
And that's why you shouldn't let your kids play with your iPad :)
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the second round of responses. I think this gives me some
focus - concentrate on the API, talk to the framework developers, and
start redrafting the PEP sooner rather than later.
Thanks!
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
d PEP text, rather than re-drafting
first.
Thanks for the responses so far!
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
sted asynchronous methods
* Account for PEP 380 (by making the StopIteration workarounds match
PEP 380, and explicitly deprecating them after Python 3.3)
* Look forward to a world with software transactional memory [5] by
matching that API where appropriate
As I get to work on the PEP, I
Okay thanks for the help guys, ill keep you guys posted.
On Wed, Jul 6, 2011 at 1:19 PM, Ian wrote:
> On 03/07/2011 02:21, Dustin Cheung wrote:
>
>> Hey guys,
>>
>> I am new to python. I want to make a shortcut that opens my websites and
>> re-sizes them to dis
Chris Rebert wrote:
> On Sat, Jul 2, 2011 at 6:21 PM, Dustin Cheung wrote:
> > Hey guys,
> > I am new to python. I want to make a shortcut that opens my websites
> > and re-sizes them to display on different areas on the screen. I looked
> > around but i had no luck. Is that
om/'
# the path to ie
ie = webbrowser.get('c:\\program files\\internet explorer\\iexplore.exe')
ie.open(url1)
ie.open(url2)
ie.open(url3)
--
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 7, 6:18 am, Vinay Sajip wrote:
> Thanks for the detailed report. I tried posting a response a couple of times,
> but Google appears to have swallowed it ... trying again. Sorry if it results
> in
> multiple responses.
Hmm, I too seem to be experiencing this problem...
> The SysLogHandler
On Oct 7, 6:18 am, Vinay Sajip wrote:
> Thanks for the detailed report. I tried posting a response a couple of times,
> but Google appears to have swallowed it ... trying again. Sorry if it results
> in
> multiple responses.
Hmm, I too seem to be experiencing this problem...
> The SysLogHandler
On Oct 7, 6:18 am, Vinay Sajip wrote:
> Thanks for the detailed report. I tried posting a response a couple of times,
> but Google appears to have swallowed it ... trying again. Sorry if it results
> in
> multiple responses.
I tried to respond yesterday, but I also noticed this probelm.
> The S
compatibility with all
syslog daemons. I found a couple of examples[2][3] of people
describing the usage of SysLogHandler, but none of them mention a
problem with formatting.
Any thoughts or suggestions would be appreciated. I will patch my
program to use the latter format string for now, but I would still
done
on implementing such a thing.
--
Dustin Sallings
--
http://mail.python.org/mailman/listinfo/python-list
= ["A",
"B", "C"], so I figured the same would apply to accessing it (which is
why for my list, which I created with parenthesis I assumed I accessed
with parenthesis). Thank you =]
~Dustin
--
http://mail.python.org/mailman/listinfo/python-list
d create. But
since when is weights_array or small_randomizing_int a function? Both
are being declared in the code on their first usage. This one has got
me stumped, maybe you guys can help me out with it?
Thanks,
~Dustin
--
http://mail.python.org/mailman/listinfo/python-list
a decent number of implementations in the wild now
(I have learned of Christopher Stawarz's 'multitask'[5] since last
posting my PEP). With 2.5.1 out, might I suggest this is worth
reconsidering for the 2.6 release?
Dustin
[1]
http://www.python.org/dev/summary/2005-10-01_2005-10-15/
this problem, leading to much phishing abuse.
I don't necessarily think that the objection is strong enough to reject
the idea -- programmers using non-ASCII symbols would be responsible for
the consequences of their character choice.
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
So, if you have a patch, there's a decent chance such a thing would be
adopted.
I'm not sure what your skill level is, but I would suggest studying the
code, starting in on a patch for one or more of these features, and then
corresponding with the module's maintainers to i
> > file.
> >
> > > > Ciao,
> > > > Marc 'BlackJack' Rintsch
> >
> > > How would I go about identifying where it is?
> >
> > A hex editor might be easiest.
> >
> > You could also use Python:
> >
> >
t be easiest.
You could also use Python:
print open("filewithnuls").read().replace("\0", ">>>NUL<<<")
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
ility
enables it to work with just about any underlying language.
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, May 02, 2007 at 07:28:32AM -0700, redcic wrote:
> Well then how can I format a file ?
for row in rows:
print "".join([ "%-6s" % ("%d," % cell) for cell in row ])
The "%-6s" formats each column to be no less than six characters long;
the "%d," formats the number with a comma after it.
g it out.
Thank you for the suggestion of an alternative!
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
(http://www.python.org/peps/pep-0342)
>
> 255, not 355 or 342 again:
> http://www.python.org/dev/peps/pep-0255/
Thanks -- good catch!
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
ing packaged up right now).
- from a technical perspective (efficiency, compatibility, etc.)
- regarding the two unresolved issues in the text
And now, without further ado:
PEP: XXX
Title: Standard Microthreading Pattern
Version: $Revision$
Last-Modified: $Date$
Author: Dustin J. Mitchell <[EMAIL PR
On Tue, May 01, 2007 at 02:06:21PM -0700, [EMAIL PROTECTED] wrote:
> How can I get the ascii code of a charter in python?
It's a builtin:
>>> ord('*')
42
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 25, 9:15 pm, [EMAIL PROTECTED] wrote:
> On Feb 25, 5:12 pm, [EMAIL PROTECTED] wrote:
>
> > consider the following working loop where Packet is a subclass of
> > list, with Packet.insert(index, iterable) inserting each item in
> > iterable into Packet at consecutive indexes starting at index.
consider the following working loop where Packet is a subclass of
list, with Packet.insert(index, iterable) inserting each item in
iterable into Packet at consecutive indexes starting at index.
i=0
while(ihttp://mail.python.org/mailman/listinfo/python-list
>>> from Numeric import zeros
>>> p=zeros(3)
>>> p
array([0,0,0])
>>> p[0]
0
>>> x=p[0]
>>> x=10
>>> p
array([0,0,0]) #actual behavior
#array([10,0,0]) #desired behavior
I want x to be a C++-esque reference to p[0] for convenience in a
vector3 class. i dont want accessor methods. i know python c
en 't = f()' results
in 'funcA' being called, and its resulting being bound to 't'; 'determine'
returns that result, and it's bound to 'n'. Is that not what you wanted?
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
makes the
whole thing work), but this comment makes me hesitant:
# we do not use _safe_read() here because this may be a .will_close
# connection, and the user is reading more bytes than will be provided
# (for example, reading in 1k chunks)
What's going on here? Is this a bug I sh
unspecified. It's based on the details of their internal storage mechanism (a
hash table), and you can't control it at all.
If you need your pairs in a certain order, you'll have to use a list of tuples.
Dustin
--
http://mail.python.org/mailman/listinfo/python-list
I'm wondering if there is a way to get python to show each line as it
is executed, sort of like sh -x does for shell programs. Seems like
this would be a nice debugging aid.
dustin
--
http://mail.python.org/mailman/listinfo/python-list
33 matches
Mail list logo