On 02/24/2013 06:04 PM, Steven D'Aprano wrote:
> Variables do not have types in Python.
>
> Reset your thinking. Python is a dynamic language with name bindings and
> strongly-typed objects, not a static language with strongly-typed
> variables. If you don't understand the difference, ask. But s
On 25 February 2013 01:24, Chris Angelico wrote:
> On Mon, Feb 25, 2013 at 11:45 AM, Oscar Benjamin
> wrote:
>> On 25 February 2013 00:08, wrote:
>> Chris Angelico wrote:
For example (I believe it's already been mentioned) "declaring" intX with
some integer value does *nothing* to ma
On 02/24/2013 03:43 PM, piterrr.dolin...@gmail.com wrote:
> I wanted Python to register what type of variable I'm after. So I
> init my vars accordingly, int might be 0, float 0.0 and string with
> null, err... None.
As several people on the list have pointed out, there are no variables
in Python.
On Mon, Feb 25, 2013 at 12:44 PM, Oscar Benjamin
wrote:
> On 25 February 2013 01:24, Chris Angelico wrote:
>> Once again, Ethan gets the short end of the citations stick...
>> 'twarn't me wrote that, he did. Not that it's at all contrary to my
>> views, and I might well have said it if he hadn't,
On 21/02/2013 19:40, piterrr.dolin...@gmail.com wrote:
I am nervous about using variables "out of the blue", without having
to declare them. For example, when I write "i = 0" it is perfectly OK
to Python without 'i' being declared earlier. How do I know that I
haven't used this variable earlie
In article ,
"J.R." wrote:
> PS.: JavaScript is a trademark, and the actual language name is
> specified as ECMAScript.
The decision whether to call it JavaScript or ECMAScript really comes
down to, "Do you want to be correct, or do you want people to know what
you're talking about?"
--
htt
On 2013-02-25 01:53, Chris Angelico wrote:
On Mon, Feb 25, 2013 at 12:44 PM, Oscar Benjamin
wrote:
On 25 February 2013 01:24, Chris Angelico wrote:
Once again, Ethan gets the short end of the citations stick...
'twarn't me wrote that, he did. Not that it's at all contrary to my
views, and I m
On Sunday, February 24, 2013 3:51:09 PM UTC-8, Demian Brecht wrote:
> For the record, I completely misread and misunderstood the question. I
>
> should stop posting that late at night :P
>
>
>
> On Sun, Feb 24, 2013 at 1:25 AM, Demian Brecht wrote:
>
> > Rather than using a relative path, try
On Mon, Feb 25, 2013 at 1:03 PM, Roy Smith wrote:
> In article ,
> "J.R." wrote:
>
>> PS.: JavaScript is a trademark, and the actual language name is
>> specified as ECMAScript.
>
> The decision whether to call it JavaScript or ECMAScript really comes
> down to, "Do you want to be correct, or do
On 24/02/2013 23:03, Roy Smith wrote:
In article ,
"J.R." wrote:
PS.: JavaScript is a trademark, and the actual language name is
specified as ECMAScript.
The decision whether to call it JavaScript or ECMAScript really comes
down to, "Do you want to be correct, or do you want people to know
On 25 February 2013 02:08, Dennis Lee Bieber wrote:
> On Sun, 24 Feb 2013 21:58:36 +, Joshua Landau
> declaimed the following in
> gmane.comp.python.general:
>
>
> >
> > condition1 = long_condition_expression_1
> > condition2 = long_condition_expression_2
> > condition3 = long_condition_expr
On 02/24/2013 05:53 PM, Chris Angelico wrote:
On Mon, Feb 25, 2013 at 12:44 PM, Oscar Benjamin
wrote:
On 25 February 2013 01:24, Chris Angelico wrote:
Once again, Ethan gets the short end of the citations stick...
'twarn't me wrote that, he did. Not that it's at all contrary to my
views, and
Well, we can mark this one as solved.
Simple enough, actually -- thanks to Chris and Demian for leading me to water.
The following code works on both Linux and Windows 7:
def OnDocs(self, event):
"""Opens the User's Guide in the default web browser"""
fullpath = os.path.abspath('
On Saturday, February 23, 2013 4:50:43 PM UTC-6, Rex Macey wrote:
> Here is one general and one specific question about
> creating GUIs using tkinter from a newbie. I have created
> a class in which to hold some data. I want to create a
> GUI to get the data from the user and store it in the
> ob
On Friday, February 22, 2013 12:03:30 PM UTC-6, Xx7 wrote:
> Hi, could somebody possibly provide a basic listview example? thanks!
Depends on your definition of a "listview".
We NOW know you want examples of GUI widgets; but /which/ GUI library do you
plan on using? If you are not sure which l
Hi
I have a script which calls getLogger to set up a logging service.
The standard logger description used both the consoleHandler and the
syslogHandler.
It seems that if syslogd is shut down, getLogger fails, and the script
won't be able to log at all.
is there a way to make it immune against t
On 2/24/2013 4:35 AM, Chris Rebert wrote:
Sounds like this might be your problem:
http://bugs.python.org/issue8936
I just closed that issue an invalid. Here is most of what I wrote.
'''
After reading the doc and the code, I am convinced that current behavior
is close to the implied wanted beh
On 2/24/2013 3:28 PM, llanitedave wrote:
http://bugs.python.org/issue8936
Holy Toledo! That's a two-year-old bug spanning two versions of the language!
We need more volunteers who will do the kind of careful review of
report, doc, and code I just did. Feel free to help.
--
Terry Jan Ree
On 24/02/2013 16:58, Chris Angelico wrote:
[...]
MySQL has a philosophical structure of "user logs in to app,
but app logs in to database as superuser regardless of user login".
Out of curiosity, is there anything wrong with that approach?
The project I am developing is a business/accountin
On Sunday, February 24, 2013 9:35:17 PM UTC-8, Terry Reedy wrote:
> On 2/24/2013 4:35 AM, Chris Rebert wrote:
>
>
>
> > Sounds like this might be your problem:
>
> > http://bugs.python.org/issue8936
>
>
>
> I just closed that issue an invalid. Here is most of what I wrote.
>
> '''
>
> Afte
On Mon, Feb 25, 2013 at 5:14 PM, Frank Millman wrote:
> On 24/02/2013 16:58, Chris Angelico wrote:
>> MySQL has a philosophical structure of "user logs in to app,
>> but app logs in to database as superuser regardless of user login".
>
> Out of curiosity, is there anything wrong with that approach
On Mon, Feb 25, 2013 at 5:26 PM, llanitedave wrote:
> On the other hand, it *is* a bit frustrating that Linux recognizes an
> html-style relative path, while Windows insists on the entire absolute path.
> Maybe we can call it a Windows bug, but a workaround would be nice to have.
That is, unfo
101 - 122 of 122 matches
Mail list logo