[Tutor] import tkinter as tk

2018-04-03 Thread Rex via Tutor
At the Python command prompt, I write:

import tkinter as tk
top = Tk()

Traceback (most recent call last):
File “”, line 1, in module
NameError: name ‘Tk’ is not defined

I see under my Python36 directories for both the Lib and libs directories both 
of which have a directory or file referencing tkinter.  

Why is a blank window not loaded?

Sent from my iPhone
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] help

2018-02-07 Thread Rex via Tutor
I think you need to convert the input value to an integer with 
int(variable_name)



Sent from my iPhone

> On Feb 7, 2018, at 4:34 PM, Frank Dominguez  wrote:
> 
> greetings,
> this is my first time using python and i just cannot figure out what I am
> doing wrong im sure the answer is very simple but sadly i do not know what
> it is
> thanks for the help!
> 
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] IDLE

2017-12-29 Thread Rex via Tutor
I am a beginner and am using PyCharm as my editor.  It’s great and free.  It 
also provides some very nice courses that work within the editor.  Google 
PyCharm.edu

Sent from my iPhone

> On Dec 29, 2017, at 3:53 PM, Mats Wichmann  wrote:
> 
>> On 12/29/2017 11:28 AM, Alan Gauld via Tutor wrote:
>>> On 29/12/17 16:43, Jay Kelman wrote:
>>> I downloaded Python and when I look at IDLE it tells me to update TCL. 
>> 
>> Are you using a Mac by any chance? I seem to recall this used to
>> be  a common issue with MacOS. If you google for "IDLE MacOS
>> Tcl" you should find several links telling you how to fix it.
>> 
>> If not a Mac then I'm stumped it should all work fine.
>> 
> 
> This Mac issue is definitely still current - yes there is information to
> solve it, but people are having constant problems getting it to not
> complain, we get an orgoing stream of these over at the python.org
> webmaster alias, which isn't even supposed to be for Python problems. It
> seems what is on the web about this isn't simple enough, complete
> enough, or whatever.
> 
> 
> Just a note: it's not certain that you will ever hit the problems, and
> if you do, you certainly don't have to use IDLE to be happy and
> productive with Python. IDLE != Python.  There are many many other
> editors/development environments that can be used.  A bunch are listed
> on the Python wiki:
> 
> https://wiki.python.org/moin/IntegratedDevelopmentEnvironments
> https://wiki.python.org/moin/PythonEditors
> 
> 
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] When do you know you're ready to start applying for jobs?

2017-12-12 Thread Rex via Tutor
Hi Matthew,

I am 61 years old and started to learn Python last winter to both exercise my 
mind and get a better handle on what this world of technology has become.  I’ve 
got a degree in biochemistry which I’ve never used professionally and the only 
programming experience I ever had was in college with Fortran which did not 
agree with me.  On the other hand I have done some CNC programming the old 
fashioned way in the 1970’s by typing on a teletype to a paper punch tape the 
x, y, i, j, and m codes that controlled machine tools.

My experience with Python has opened my eyes to a whole new world and I think 
you under estimated yourself when you chose a minimum wage job over seeking 
employment in coding.  From everything I have learned and read about, you have 
a valuable asset with what you have already learned.  In my opinion, it will 
not be too difficult to get back on the horse and in fact you will probably be 
an even better programmer due to the reinforcement learning that will occur as 
you re-learn Python.

Remember, in this life, you must take risks to succeed and have confidence in 
yourself.  Genius is 1% inspiration and 99% perspiration.

Go for it.

Sent from my iPhone

> On Dec 12, 2017, at 2:43 PM, Matthew Ngaha  wrote:
> 
> Hi all. I took 2-3 years off in 2012 to teach myself programming. I
> learnt basic Javascript & Python with some Django. I don't have a
> Computer Science (CS) degree so I never applied for a job because I
> always thought I still had lots to learn and most jobs say a CS degree
> is required. In 2015 I had to stop my learning to find a real minimum
> wage job as I needed to support myself. I will never know now if I
> would have got a python job had I applied. It's now december 2017, so
> I haven't touched programming in 2 years. I've forgotten most of what
> I learnt now. :( I'm now financially secure to give programming
> another go but I don't know how I feel about relearning everything I
> forgot. Is it's worth it? What are your thoughts?
> 
> Can I get a junior programming job without a CS degree?
> When do you know you're ready to start applying for jobs? How can a
> self learner ever know?
> should I have applied for some jobs back in 2015 when I was still studying?
> What are your opinions on my situation? Is learning Python all over
> again worth it without a CS degree? would I be wasting my time?
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor