On 29/01/2014 06:26, mick verdu wrote:
I am using Pydev 2.8 on Eclipse IDE. It is printing some values that haven't
been printed with print command. How to deal with this problem?
There are some very smart people on this list, but unless you give them
details of what you've tried and precise
[Please help spread the word by forwarding to other relevant mailing lists,
user groups, etc. world-wide; thanks :-)]
ANNOUNCING
Python Events Calendars - Now with Twitter feed
maintained by the Pytho
Ned Batchelder writes:
> On 1/28/14 2:19 AM, wxjmfa...@gmail.com wrote:
>> Different, but a little bit related. The work
>> which is done actually on the possibility (not
>> implemented but alreay realized) to colorize (style")
>> the different graphemes of a glyph is very interesting.
>>
>> Pyth
On Tue, 28 Jan 2014 22:26:56 -0800, mick verdu wrote:
> I am using Pydev 2.8 on Eclipse IDE. It is printing some values that
> haven't been printed with print command. How to deal with this problem?
There's no print statement in the code you included to demonstrate the
problem, which is probably
On Tue, 28 Jan 2014 21:25:54 -0800, Ayushi Dalmia wrote:
> Hello,
>
> I am trying to implement IBM Model 1. In that I need to create a matrix
> of 5*5 with double values. Currently I am using dict of dict but
> it is unable to support such high dimensions and hence gives memory
> error. A
Would you to accept fixes for http://bugs.python.org/issue20434 and
http://bugs.python.org/issue20437 before 3.3.4 final?
On Mon, Jan 27, 2014 at 9:36 AM, Georg Brandl wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On behalf of the Python development team, I'm reasonably happy to an
According ato the pytz doc (http://pytz.sourceforge.net/):
"‘UTC’ is Universal Time, also known as Greenwich Mean Time or GMT in
the United Kingdom."
If they are equal, why don't timezone objects created from those two
strings compare equal?
>>> pytz.timezone("UTC") == pytz.timezone("GMT")
False
- Original Message -
> Hello there.
>
> I am currently working on a project involving the use of Pyro4.
>
> I have a scenario.
>
> We have the pc named A, and a pc named B.
>
> On pc B lies a python script, that includes pyro, and a method for
> reading files.
>
> On pc A, we create an
On Thu, Jan 30, 2014 at 4:29 AM, Skip Montanaro wrote:
> According ato the pytz doc (http://pytz.sourceforge.net/):
>
> "‘UTC’ is Universal Time, also known as Greenwich Mean Time or GMT in
> the United Kingdom."
>
> If they are equal, why don't timezone objects created from those two
> strings co
Skip Montanaro writes:
> According ato the pytz doc (http://pytz.sourceforge.net/):
>
> "‘UTC’ is Universal Time, also known as Greenwich Mean Time or GMT in
> the United Kingdom."
This is inaccurate, and I'd like to see it corrected in the
documentation. UTC is neither UT nor GMT.
GMT is not p
On 2014-01-29, Skip Montanaro wrote:
> According ato the pytz doc (http://pytz.sourceforge.net/):
>
> "UTC is Universal Time, also known as Greenwich Mean Time or GMT in
> the United Kingdom."
>
> If they are equal,
The question is _are_ they equal?
There is an exact defintion for what "UTC" is,
29.01.14 18:55, Andrew Svetlov написав(ла):
Would you to accept fixes for http://bugs.python.org/issue20434 and
http://bugs.python.org/issue20437 before 3.3.4 final?
And http://bugs.python.org/issue20440.
--
https://mail.python.org/mailman/listinfo/python-list
Thanks for reply.
I am running file via ctrl+F11 and seeing output on pyDev Console. My code has
got nested dictionaries, lists and tuples. What you want to see?
--
https://mail.python.org/mailman/listinfo/python-list
On 29/01/2014 20:23, mick verdu wrote:
Thanks for reply.
I am running file via ctrl+F11 and seeing output on pyDev Console. My code has
got nested dictionaries, lists and tuples. What you want to see?
Two things, code and context. See here for how to go about this
http://sscce.org/
--
My
Following up on my earlier note about UTC v. GMT, I am having some
trouble grokking attempts to convert a datetime into UTC. Consider
these three values:
>>> import pytz
>>> UTC = pytz.timezone("UTC")
>>> UTC
>>> LOCAL_TZ = pytz.timezone("America/Chicago")
>>> LOCAL_TZ
>>> now = datetime.datetim
On 01/29/2014 01:52 PM, Skip Montanaro wrote:
Following up on my earlier note about UTC v. GMT, I am having some
trouble grokking attempts to convert a datetime into UTC.
Okay, let's see what GMT does for us:
GMT = pytz.timezone("GMT")
u = GMT.normalize(s)
u
datetime.datetime(2014, 1, 29, 21,
Skip Montanaro writes:
> Following up on my earlier note about UTC v. GMT, I am having some
> trouble grokking attempts to convert a datetime into UTC.
For what it's worth, you're not alone. Time zones are a hairy beast to
manage, made all the more difficult because national politicians
continua
On Wed, Jan 29, 2014 at 1:52 PM, Skip Montanaro wrote:
> Following up on my earlier note about UTC v. GMT, I am having some
> trouble grokking attempts to convert a datetime into UTC. Consider
> these three values:
>
import pytz
UTC = pytz.timezone("UTC")
LOCAL_TZ = pytz.timezone("A
I am on Windows 8, Python 3.3.4 and 3.3.3 and all previous versions exhibit the
same problem on my Windows 8 PC. This problem occurred out of nowhere
overnight. It was working fine for months until today.
> I tried to open a file and nothing happened. If I tried to open a .py file
> (any .py fi
On Thu, Jan 30, 2014 at 11:17 AM, Dennis Lee Bieber
wrote:
> On Wed, 29 Jan 2014 19:02:53 + (UTC), Grant Edwards
> declaimed the following:
>
>
>>to be smacked across the knuckes with a 12-inch platinum-iridium ruler
>
> Under what temperature/pressure conditions is that ruler?
STP,
On 2014-01-30 01:50, Dennis Lee Bieber wrote:
On Thu, 30 Jan 2014 11:28:16 +1100, Chris Angelico
declaimed the following:
On Thu, Jan 30, 2014 at 11:17 AM, Dennis Lee Bieber
wrote:
On Wed, 29 Jan 2014 19:02:53 + (UTC), Grant Edwards
declaimed the following:
to be smacked across the k
On Thu, Jan 30, 2014 at 1:40 PM, MRAB wrote:
>> How cruel... I suspect the smack at 0degC is much more painful
>> than one
>> at room temperature
>>
> It's the 21st century; you should be making use of Unicode: 0°C.
I started to read that and thought you were going to advocate the use of
On 1/29/2014 6:26 PM, shangonich...@sbcglobal.net wrote:
I am on Windows 8, Python 3.3.4 and 3.3.3 and all previous versions
exhibit the same problem on my Windows 8 PC. This problem occurred out
of nowhere overnight. It was working fine for months until today.
Try the following, which I believ
Terry Reedy writes:
> On 1/29/2014 6:26 PM, shangonich...@sbcglobal.net wrote:
> > > If I launch the Python GUI it opens a Python Shell fine. But as
> > > soon as I try to open a file (including a "new" file), it closes
> > > the Shell.
>
> This I do not. What is 'Python GUI'? What is 'Python
Steven D'Aprano wrote:
On Mon, 27 Jan 2014 12:22:22 -0800, Rick Johnson wrote:
Why do we even need an "input" function anyway if all it is going to do
is read from stdin?
That's not all it does.
For example, it handles backspacing, so that typing H E L O O BACKSPACE
BACKSPACE L O gives "HE
In <583ab407-7831-45d7-b15d-46b30a6cc...@googlegroups.com> mick verdu
writes:
> Thanks for reply.
> I am running file via ctrl+F11 and seeing output on pyDev Console.
> My code has got nested dictionaries, lists and tuples. What you want to see?
One thing you could try is to track down exactly
I found something like this in a StackOverflow discussion.
>>> def paradox():
... try:
... raise Exception("Exception raised during try")
... except:
... print "Except after try"
... return True
... finally:
... print "Finally"
...
On Jan 29, 2014 11:01 PM, "Jessica Ross" wrote:
>
> I found something like this in a StackOverflow discussion.
> >>> def paradox():
> ... try:
> ... raise Exception("Exception raised during try")
> ... except:
> ... print "Except after try"
> ... return
On 2014.01.29 23:56, Jessica Ross wrote:
> I found something like this in a StackOverflow discussion.
def paradox():
> ... try:
> ... raise Exception("Exception raised during try")
> ... except:
> ... print "Except after try"
> ... return True
> ...
Grant Edwards wrote:
smacked across the knuckes with a 12-inch platinum-iridium ruler
Imperial or Scottish inches?
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
Le jeudi 30 janvier 2014 06:56:16 UTC+1, Jessica Ross a écrit :
> I found something like this in a StackOverflow discussion.
>
> >>> def paradox():
>
> ... try:
>
> ... raise Exception("Exception raised during try")
>
> ... except:
>
> ... print "Except after tr
31 matches
Mail list logo