Dima Kulik wrote:
> I want to make a for loop with a huge numbers.
> for example:
>
> for i in range (0,90):
some_code()
> but range and xrange cant operate with such big numbers.
> Can some on help me?
If you are just beginning with Python and do not require any libraries that
are
On Mon, Aug 3, 2015 at 8:50 PM, Steven D'Aprano wrote:
> If you have a 64-bit operating system, you can use a 64-bit version of
> Python, and the limit will be something like 2**63 - 1 or so. I can't
> test this myself, as I have a 32-bit system like you.
A notable exception to the above claim is
On Mon, Aug 03, 2015 at 09:15:45PM +0300, Dima Kulik wrote:
> Hi to all.
> Can you help me plz.
> I want to make a for loop with a huge numbers.
> for example:
>
> for i in range (0,90):
> make_some_code
>
> but range and xrange cant operate with such big numbers.
In Python 2, range(
Hi,
I am new in python, so just curios if there are any good and appreciated python
certification programs/courses ?
Cheers,
Andrei
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/l
> Hi to all.
> Can you help me plz.
> I want to make a for loop with a huge numbers.
> for example:
>
> for i in range (0,90):
> make_some_code
Can you say more why you are trying to do this, by the way?
Without context, this request seems strange, as we often want to make
our programs
Greetings Dima,
Can you help me plz.
I want to make a for loop with a huge numbers.
for example:
for i in range (0,90):
make_some_code
but range and xrange cant operate with such big numbers.
Can some on help me?
Ah, range and xrange. It would help us to know which Python version
On 03/08/15 13:22, Ali Moradi wrote:
hi, this is my code (
http://paste.pound-python.org/show/3DZoev97e1UkWFcATKYF/)
OK I had a look at the code this time. Several points:
You never set your listbox in the GUI - there is no call to grid().
Your button has no command attached to it so it does
On 03/08/2015 19:15, Dima Kulik wrote:
Hi to all.
Can you help me plz.
I want to make a for loop with a huge numbers.
for example:
for i in range (0,90):
make_some_code
but range and xrange cant operate with such big numbers.
Can some on help me?
Thanks.
You cannot do anything ab
On 03/08/15 19:15, Dima Kulik wrote:
I want to make a for loop with a huge numbers.
for example:
for i in range (0,90):
make_some_code
but range and xrange cant operate with such big numbers.
What makes you think so? Did you try? What error did you get?
And what version of python w
On 03/08/15 13:22, Ali Moradi wrote:
how can i show the two fields name "esperanto" and "english" in a listbox
positioned under the entry widget? i want the two fields to be beside
eachother like (abak/o abacus)
You need to do two things:
1) set the font of the listbox to be monospaced so
On 03/08/2015 13:22, Ali Moradi wrote:
hi, this is my code (
http://paste.pound-python.org/show/3DZoev97e1UkWFcATKYF/)
Please post your code inline so we can see it and it is retained for
posterity.
how can i show the two fields name "esperanto" and "english" in a listbox
positioned under
I'm trying to tell it to print everything under that particular name. I would
have to def info, correct? But set it equal to what to make it work?
Stephanie Quiles
Sent from my iPhone
> On Aug 3, 2015, at 3:12 AM, Alan Gauld wrote:
>
>> On 03/08/15 04:04, Quiles, Stephanie wrote:
>>
>> def m
Hi to all.
Can you help me plz.
I want to make a for loop with a huge numbers.
for example:
for i in range (0,90):
make_some_code
but range and xrange cant operate with such big numbers.
Can some on help me?
Thanks.
--
Dima Kulik
___
Tutor
hi, this is my code (
http://paste.pound-python.org/show/3DZoev97e1UkWFcATKYF/)
how can i show the two fields name "esperanto" and "english" in a listbox
positioned under the entry widget? i want the two fields to be beside
eachother like (abak/o abacus)
and i want to make them searchable via
On 08/03/2015 02:38 AM, matej taferner wrote:
Or maybe should I go with the tkinter?
As a final product of this decision tree "app" I need a clickable buttons
ready to be embedded into the website which will guide customer(s) to
desired answer(s).
The two aren't exactly compatible. Tkinter
Or maybe should I go with the tkinter?
2015-08-03 10:36 GMT+01:00 matej taferner :
> thanks for the reply. I'll definitely check the book.
>
> The back end solution of the problem is more or less clear to me. What I
> find difficult is the grasp the idea of o called front end dev. or better
> to
thanks for the reply. I'll definitely check the book.
The back end solution of the problem is more or less clear to me. What I
find difficult is the grasp the idea of o called front end dev. or better
to say what should I use to make buttons should I dig into django framework
or something else?
On Sun, Aug 2, 2015 at 9:14 PM, Clayton Kirkwood wrote:
> get into the innards much. I ran into a problem in my program, which we have
> been discussing, which is windows-caused. I originally set my directory in
> my code to /users/Clayton/Pictures by memory that that was the name of the
> direct
In a message of Mon, 03 Aug 2015 18:22:32 +1000, Cameron Simpson writes:
>That depends. This is the tutor list; we're helping Clayton debug his code as
>an aid to learning. While it's good to know about the facilities in the
>standard library, pointing him directly at fnmatch (which I'd entirely
In a message of Mon, 03 Aug 2015 08:58:43 +0100, matej taferner writes:
>hi guys,
>
>I am wondering if there is a python solution for the problem I am currently
>dealing with.
>I need to build a decision tree based questionnaire which helps users to
>find the right answer.
>
>As a final product of
On 03Aug2015 08:12, Laura Creighton wrote:
I think people are giving you sub-optimal advice.
Python has a module in the standard library for doing exactly what
you want to do -- match files with certain extensions.
See: https://docs.python.org/2/library/fnmatch.html
It's unix style file match
hi guys,
I am wondering if there is a python solution for the problem I am currently
dealing with.
I need to build a decision tree based questionnaire which helps users to
find the right answer.
As a final product of this decision tree "app" I need a clickable buttons
ready to be embedded into th
Hi Anish.
I wanted to let you know something I found out last week.
Even when you select plain text email, gmail will mangle
any lines of text starting with one or more '>' marks.
So when you write:
>>> import string
>>> string.uppercase
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
>>> string.digits
On 03/08/15 04:02, Quiles, Stephanie wrote:
ok so i made a few corrections based on what you stated and moved the name
variable out of the loop. however, now its doing the same thing with alternate
email.
So you need a while loop for every element you want to validate.
while True: # overa
2015-08-03 5:02 GMT+02:00 Quiles, Stephanie <
stephanie.quiles...@albright.edu>:
> ok so i made a few corrections based on what you stated and moved the name
> variable out of the loop. however, now its doing the same thing with
> alternate email. if it is entered incorrectly, it goes back to emai
On 03/08/15 04:04, Quiles, Stephanie wrote:
def main():
...
name_search = input("Enter a name in the file for info: ")
for name in emails:
if name[0] == name_search:
print("This is the info: ", info)
What is info? Is it supposed to be name? or name[1:]?
Its n
ok so i made a few corrections based on what you stated and moved the name
variable out of the loop. however, now its doing the same thing with alternate
email. if it is entered incorrectly, it goes back to email 1 and you have to
re-enter it. i tried the nested loops but they were not working e
27 matches
Mail list logo