On 3/8/2018 7:07 PM, 노연수 wrote:
If you type print (" hello\ rpython ") into the python 3.7.0.b2, only the
python is printed and i learned it's a crystal.
'\r' is a control character than means 'return to the beginning of the
line'. When you execute "print('hello\rpython')" in Python running
On 9 March 2018 at 01:07, 노연수 wrote:
> If you type print (" hello\ rpython ") into the python 3.7.0.b2, only the
> python is printed and i learned it's a crystal. However, if you type print ("
> hello\ rpython ") in the python 3.7.0.b2 idle, it is output as hellopython. I
> wonder why it prints
On Sat, Mar 10, 2018 at 5:10 AM, Paul Moore wrote:
> On 9 March 2018 at 17:46, Rob Gaddi wrote:
>> On 03/08/2018 07:57 PM, Steven D'Aprano wrote:
>>>
>>> [snip]
>>>
>>> But it is possible that due to differences between platforms, the
>>> OP's version of IDLE doesn't display a carriage return as
On 9 March 2018 at 17:46, Rob Gaddi wrote:
> On 03/08/2018 07:57 PM, Steven D'Aprano wrote:
>>
>> [snip]
>>
>> But it is possible that due to differences between platforms, the
>> OP's version of IDLE doesn't display a carriage return as \r but
>> rather as an invisible zero-width space.
>>
>
> Ju
On 03/08/2018 07:57 PM, Steven D'Aprano wrote:
[snip]
But it is possible that due to differences between platforms, the
OP's version of IDLE doesn't display a carriage return as \r but
rather as an invisible zero-width space.
Just to derail this conversation a bit, does anyone have a use case
MRAB writes:
> I think the line was actually […]
> (I also think that "crystal" is […]
Let's not get into the warrens of responding to what the OP *didn't*
write. we're in no hurry. I'd like to wait for clarification from the
original poster, and not guess what they meant.
--
\ “The Vat
On 2018-03-09 03:57, Steven D'Aprano wrote:
[snip]
In IDLE 3.5 on Linux, I get this:
print('hello\rpython')
hello\rpython
Curiously, that's not a backslash r, it's actually a carriage return:
when I copy and paste it in this text, the editor treated it as a new
line character:
# direct copy
On 2018-03-09 01:59, Ben Finney wrote:
Welcome, and congratulations on beginning with Python.
노연수 writes:
If you type print (" hello\ rpython ") into the python 3.7.0.b2
I am not using Python 3.7 (it isn't released yet); I recommend staying
with the latest Python release. Today, that is vers
I'm afraid the original post by 노연수 has not come
through to me, so I will have to reply to Ben's reply.
On Fri, 09 Mar 2018 12:59:52 +1100, Ben Finney wrote:
> I am not using Python 3.7 (it isn't released yet); I recommend staying
> with the latest Python release. Today, that is version 3.6.
3
Welcome, and congratulations on beginning with Python.
노연수 writes:
> If you type print (" hello\ rpython ") into the python 3.7.0.b2
I am not using Python 3.7 (it isn't released yet); I recommend staying
with the latest Python release. Today, that is version 3.6.
That difference in version shou
If you type print (" hello\ rpython ") into the python 3.7.0.b2, only the
python is printed and i learned it's a crystal. However, if you type print ("
hello\ rpython ") in the python 3.7.0.b2 idle, it is output as hellopython. I
wonder why it prints like this. I would appreciate your answer.
i run win7 home premium.
during the installation of python 3.4.2 i have seen the tcl/tk
option activated!
Then python -m tkinter in Command Prompt should bring up a tk windows
with a bit a text and two buttons, one for exit. First try to find
Python 3.4 on the Start menu and start
Adding python-list back into the CC list. I know nothing about Windows.
Perhaps someone else here can help. (Sorry about the top post all you
bottom post mavens. It seemed warranted in this case...)
Skip
On Tue, Oct 14, 2014 at 2:10 PM, wrote:
> hi,
>
> thank you so much for the quick reply
On Tue, Oct 14, 2014 at 1:13 PM, wrote:
> it doesnt seem to be present and doesnt react to the "python -m tkinter"
> -module not present
>
I don't know how it's spelled in 3.4.x, but in 2.7 it's spelled "Tkinter".
Give that a try. (Sorry, no 3.4 install handy or I'd verify it myself.)
The other
hello guys,
for half an hour now i am searching for something simple...
not IRC, not Fakebook, not Twitter...
simply an email where i can ask a question to a problem i have in python
3.4.2 and the tkinter (it doesnt seem to be present and doesnt react to the
"python -m tkinter" -module not prese
On 9/6/2011 7:48 PM, Chris Angelico wrote:
On Wed, Sep 7, 2011 at 12:43 PM, W. eWatson wrote:
CA, Did you respond to my off-NG msg about FORTRAN? Perhaps it's caught in
my spam on the net.
No, I didn't; as someone else pointed out, you'll get better results
asking on a dedicated Fortran list.
On Wed, Sep 7, 2011 at 12:43 PM, W. eWatson wrote:
> CA, Did you respond to my off-NG msg about FORTRAN? Perhaps it's caught in
> my spam on the net.
No, I didn't; as someone else pointed out, you'll get better results
asking on a dedicated Fortran list.
ChrisA
--
http://mail.python.org/mailman
CA, Did you respond to my off-NG msg about FORTRAN? Perhaps it's caught
in my spam on the net.
--
http://mail.python.org/mailman/listinfo/python-list
Thank you for so amazing debugging tutorial :).
I owe you a beer.
I found source of problem: then unhandled in python code
exception occurs frame_dealloc() (Objects/frameobject.c:422)
not called. Even if I call PyErr_Print().
But! If I call PyErr_Clear() then all okay!
Docs says that both this f
> Why this happenning and who makes Py_INCREF(self)?
There are multiple possible explanations, but I think you
have ruled out most of them:
1. on_recv might be returning self. So py_result would be
the same as self, and hence be an additional reference.
However, you said that on_recv raised
Hello everybody!
I'm in trouble. This code shows that ob_refcnt increased by python
if "on_recv" method throws exception. This occurs only if base C-class
subclassed
in python code.
==
my_old_refcnt = Py_REFCNT(self);
py_result = PyObject_CallMethod(self, "on_recv", "(y#)", recvbuf, result
On May 29, 2:24 pm, alex23 <[EMAIL PROTECTED]> wrote:
> On May 29, 11:09 pm, TYR <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm doing some data normalisation, which involves data from a Web site
> > being extracted with BeautifulSoup, cleaned up with a regex, then
> > having the current year as returned
On May 29, 2:23 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> TYR wrote:
> > I'm doing some data normalisation, which involves data from a Web site
> > being extracted with BeautifulSoup, cleaned up with a regex, then
> > having the current year as returned by time()'s tm_year attribute
> > i
On May 29, 11:09 pm, TYR <[EMAIL PROTECTED]> wrote:
> I'm doing some data normalisation, which involves data from a Web site
> being extracted with BeautifulSoup, cleaned up with a regex, then
> having the current year as returned by time()'s tm_year attribute
> inserted, before the data is concate
TYR wrote:
> I'm doing some data normalisation, which involves data from a Web site
> being extracted with BeautifulSoup, cleaned up with a regex, then
> having the current year as returned by time()'s tm_year attribute
> inserted, before the data is concatenated with string.join() and fed
> to ti
I'm doing some data normalisation, which involves data from a Web site
being extracted with BeautifulSoup, cleaned up with a regex, then
having the current year as returned by time()'s tm_year attribute
inserted, before the data is concatenated with string.join() and fed
to time.strptime().
Here's
26 matches
Mail list logo