Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Create selection box to pass string value based on uniques in Excel column
Post: RE: Create selection box to pass string value base...

You can do something like this, add it at the end of the code. If you run python and type d,g,h etc. and enter the select values will be print def menu(): choice = input("""What variable do you w...
Stefanovietch Data Science 1 2,511 Nov-18-2018, 07:29 PM
    Thread: Running another python file from code
Post: Running another python file from code

import turtle as tl import os home = tl.Screen() home.bgcolor("black") home.title("Home Screen") lastlevel = 1 start = tl.Turtle() start.color("green") start.shape("square") def startlevel(x,y): ...
Stefanovietch General Coding Help 1 1,958 Nov-18-2018, 06:46 PM
    Thread: Can i make this work in any way?
Post: RE: Can i make this work in any way?

(Nov-17-2018, 12:04 PM)stullis Wrote: Ah! Sorry, I didn't look carefully enough. Your function takes name as an argument and isn't actually using it. Instead, you're resetting immediately to tl.Turt...
Stefanovietch General Coding Help 4 3,182 Nov-17-2018, 10:46 PM
    Thread: Can i make this work in any way?
Post: RE: Can i make this work in any way?

(Nov-16-2018, 10:45 PM)stullis Wrote: The interpreter is reading that as a variable, however it needs to be a string. makeOrb("orb0",3,2,2) I tried that but got this erre: TypeError: 'str' object i...
Stefanovietch General Coding Help 4 3,182 Nov-17-2018, 11:10 AM
    Thread: Can i make this work in any way?
Post: Can i make this work in any way?

import turtle as tl orbs = [] #Screen home = tl.Screen() home.bgcolor("black") home.title("Home Screen") #Orbs def makeOrb(name,life,x,y): global orbs name = tl.Turtle orbs....
Stefanovietch General Coding Help 4 3,182 Nov-16-2018, 05:59 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020