Mark Tolonen wrote:
"Samir aluko...@work" wrote in message
news:ab6475d0-133c-478d-8f08-eafea0733...@j39g2000yqh.googlegroups.com...
I am making a simple program in Croatian. In the beginning I set "# -
*- coding: cp1250 -*-" code and when i run it in Python shell it come
Mark Tolonen wrote:
"Samir aluko...@work" wrote in message
news:ab6475d0-133c-478d-8f08-eafea0733...@j39g2000yqh.googlegroups.com...
I am making a simple program in Croatian. In the beginning I set "# -
*- coding: cp1250 -*-" code and when i run it in Python shell it come
I am making a simple program in Croatian. In the beginning I set "# -
*- coding: cp1250 -*-" code and when i run it in Python shell it comes
out fine, but when i compile it with py2exe he doesn't print out
croatian letters but he prints out tottaly other letters. I checked
the CMD and it supports c
look towards all of your
> continued support and contributions.
>
> Thank you.
>
> Cheers
> Maurice Ling
> Co-Editor-in-Chief, The Python Papers Anthology
Good to see that the newest edition of the journal is out. Also, I
believe the correct URL should either be:
http://ojs.pythonpapers.org/
or
http://ojs.pythonpapers.org/index.php/tpp
Thanks for providing this great resource.
Samir
--
http://mail.python.org/mailman/listinfo/python-list
com/thinkpython/thinkCSpy/html/index.html
Incidentally, you can find documentatio for Python v3.0 at the
official Python site here:
http://docs.python.org/dev/3.0/
I hope that helps. Good luck!
Samir
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 23, 9:14 pm, mzdude <[EMAIL PROTECTED]> wrote:
> On Jul 23, 6:30 pm, Samir <[EMAIL PROTECTED]> wrote:
>
> > Hi Everyone,
>
> > def findSumOfDivisor(n):
>
> > return sum(divisor) # fine using function sum()
>
> >
llable
Even after cluttering the code with print statements every other line,
I am completely lost. Does anyone know why I get this error?
Thanks in advance.
Samir
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik, Marc, Larry -- Thank you all for your very fast and
informative replies. I had not come across "itertools" in my search.
This group is a great resource.
Samir
--
http://mail.python.org/mailman/listinfo/python-list
without having to resort
to an "if" or "while" statement?
(My question concerns the more general use of lists and tuples, not
necessarily determining days of the week. I know about using "import
datetime" and "from calendar import weekday" but thought that using
the days of the week would best illustrate my problem.)
As always, thanks in advance.
Samir
--
http://mail.python.org/mailman/listinfo/python-list
de come up with another way. Thank you.
@ptn -- Thanks for the explanation between "append" and "extend". I
guess I've gotten lazy and have always used "append", apparently even
in situations where it may not be appropriate.
Thanks again, everyone!
Samir
--
h
On Jul 21, 6:15 pm, Andrew Freeman <[EMAIL PROTECTED]> wrote:
> Samir wrote:
> > On Jul 21, 3:20 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
>
> >> Samir wrote:
>
> >>> Hi Everyone,
>
> >>> I am relatively new to Python so please forgiv
On Jul 21, 4:44 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> Samir wrote:
> > On Jul 21, 3:20 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
>
> >> Samir wrote:
>
> >>> Hi Everyone,
>
> >>> I am relatively new to Python so please forgiv
On Jul 21, 3:20 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> Samir wrote:
> > Hi Everyone,
>
> > I am relatively new to Python so please forgive me for what seems like
> > a basic question.
>
> > Assume that I have a list, a, composed of nested lists with
n.append([int(v) for v in k])
print n
Does anyone know what I am doing wrong?
Thanks in advance.
Samir
--
http://mail.python.org/mailman/listinfo/python-list
folks,
I am trying put some user input fields into a scrollable (QScrollView)
window. So,
I placed a QLabel at 0,0 and QLineEdit at 0,1, next to QLabel.
Somehow, results are not what I am expecting.It is placing QLineEdit
below QLabel.
I am not using designer for this. Please, notice that I con
Saluton!
Tempo wrote:
> I am having a little trouble extracting text from a string. The
> string that I am dealing with is pasted below, and I want to
> extract the prices that are contained in the string below.
This string is absolutely an XML chunk.
Just use xmllib.
Adia
Sun workstation in your home
network like that ;) and need a realtime custom check function or when
you're using your computer as a "desk scientific calculator" you'd like
to have a flexible, powerfull and light-weight-syntax interpretted
programming language.
That language wo
Alex Martelli wrote:
> What a mess it would be to disambiguate statements such as
>
> x = foo bar baz bat
>
> is it x = (foo, bar, baz, bat)
> or x = foo(bar, baz, bat)
> or x = foo(bar(baz), bat)
> or x = foo(bar, baz(bat))
> or x = foo(bar(baz, bat))
It will be x=foo(bar,baz,bat). The parenthes
1- If the function doesn't have any parameters, it will be called with
the empty parentheses (just like usual!);
2- to indicate that this is a function call, we would be adding a $ at
the end of the statement.
Gxis la reskribo
Samir
--
http://mail.python.org/mailman/listinfo/python-list
le ligne function call or when it is inside an
"if" statement. So i thought that ommiting the parentheses and, why
not, the commas in such cases will be a sort of beautiful/easier :)
Adiaux
Samir
--
http://mail.python.org/mailman/listinfo/python-list
optional too when executing such
instructions:
>>> UShell.echo number result
Instead of
>>> UShell.echo number,result
And finally, why not making the string parameter "-less when it is the
only parameter:
>>> UShell.ls M*
Instead of
>>> UShell.ls "M*"
Adiaux
Samir
--
http://mail.python.org/mailman/listinfo/python-list
21 matches
Mail list logo