Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~5K People Reached
Favorite Tags

20 Posted Topics

Member Avatar for William Hemsworth

[quote]User: Were you born in Germany? Cleverbot: Nah were you? User: Nah were you? Cleverbot: On mars. User: If there is one dog for every two cats, how many dogs are there for every two cats? Cleverbot: Two. [/quote]

Member Avatar for vivosmith
2
424
Member Avatar for max.yevs

i've been trying to make simple programs and downloaded python 3.01. unfortunately i have no programming experience, and am a bit stuck despite searching around the tutorial, library, etc. (please forgive if this question is already answered somewhere) my first attempt at a program is >>>print (hello world) hello world …

Member Avatar for carapace
0
175
Member Avatar for The Dude

nice... i just cross my eyes and try to see where the differences pop out just a bit

Member Avatar for The Dude
0
36
Member Avatar for max.yevs

Ok, so this is kind of a complicated question... but... Ok so I have a python script, you enter some numbers it gives you some numbers back that sort of thing. But of course right now it just looks like a black window with text. kind of like [URL="http://blog.benhall.me.uk/images/InstallingWindows2008EnterpriseCoreServe_F3A1/6Cmd.jpg"]this.[/URL] But …

Member Avatar for vegaseat
0
149
Member Avatar for max.yevs

this is another pretty simple question, but i've been trying to do it, and cant get it basically what i need is pretty simple, its like say you have a list of 5 numbers. now you need to print out all the lists of possible 3 numbers from those 5 …

Member Avatar for max.yevs
0
90
Member Avatar for max.yevs

im sorry this is kind of a silly question i know, but does anyone know any succesful ways to change a .py into a .exe? like so that someone without python installed on their computer can run it? i've seen this topic in a couple places but everything i've tried …

Member Avatar for max.yevs
0
174
Member Avatar for max.yevs

yet another ridiculously simple question, yet i feel compelled to ask because i've been stuck here for like an hour without it working ok so say you have one list, a, and you need the user of the program to input a list of several more numbers, call that list …

Member Avatar for shadwickman
0
173
Member Avatar for max.yevs

quick question i have come across, i can't find a definition for it perhaps i'll have to make a couple lines to define it? anyways for list a, which has only integers, i need to define the average, x... so i'm looking for something quick to do this: [code=python] >>>a …

Member Avatar for max.yevs
0
163
Member Avatar for yemu

maybe this will work? [code]labels=['yes','i dont know','no'] results=[labels[0],labels[1], labels[2]][/code] EDIT: sorry, i misunderstood the question and this is irrelevant... my fault

Member Avatar for vidaj
0
2K
Member Avatar for max.yevs

I'm trying to make a perfect numbers script but having almost no success... Perfect numbers are those whose factors add up to twice the number itself... factors don't have to be prime... So like the first four are 6, 28, 496, 8128... 28: 1,2,4,7,14,28 1 + 2 + 4 + …

Member Avatar for max.yevs
0
207
Member Avatar for max.yevs

say you have a list, b, you don't know how many items are in there, but how could you add up all the items? for example, if your list is [2,4,5,8,10] is it possible to find the sum of all the numbers? so it will give you 29? i've been …

Member Avatar for max.yevs
0
83
Member Avatar for max.yevs

this is kind of a quick question, but just a bit complex: say i want it to find n in range(5), i would do this: [code]for n in range(5): print n[/code] and it would return 0,1,2,3,4.... but what if instead of returning i want it to put it in a …

Member Avatar for max.yevs
0
108
Member Avatar for max.yevs

i'm making a program, i need to know is there a command for "divisible"? as in [code]if m is divisible by n[/code] if not, is there a command like "if its a whole number"? as in [code]if m is a whole number[/code] of course i can work with either command, …

Member Avatar for max.yevs
0
304
Member Avatar for max.yevs

so i was trying to make a very simple counter (although not sure if that's what you call it) [code]import time a = 0 def main(): time.sleep(5) b = a + 1 print (b) del(a) a = b del(b) main() main()[/code] i know this is very unefficient and there is …

Member Avatar for max.yevs
0
136
Member Avatar for max.yevs

i made another extremely simple script, but i've looked through all the random python commands(10.6) and can't figure out how can i write a nonunique random script? as in all the random numbers can be the same? like random.sample? say i have a list [1,2,3,4] and i want to pick …

Member Avatar for max.yevs
0
127
Member Avatar for max.yevs

yet another quick question... I wrote this at the end of a script [code]y = 1 n = 0 i = input("Again? Y/N: ") if i is 0: print ("Good bye!") exit if i is 1: execfile ("program2.py")[/code] now of course if i is 0, they won't be able to …

Member Avatar for adam1122
0
107
Member Avatar for max.yevs

this is a very basic command prompt question (sorry if i posted it in the wrong place) is there a command for cmd to sleep/wait for say 5 seconds? like say i have a .cmd file that says "start www.google.com" but i want it to wait 5 seconds before opening …

Member Avatar for max.yevs
0
88
Member Avatar for max.yevs

so i was trying to make a very simple counter (although not sure if that's what you call it) [code=python]import time a = 0 def main(): time.sleep(5) b = a + 1 print (b) del(a) a = b del(b) main() main()[/code] i know this is very unefficient and there is …

Member Avatar for adam1122
0
146
Member Avatar for max.yevs

alright i know you're tired of explaining simple things to me, but i've looked around and really can't figure how to do this... i'm trying to write a simple python script like when you type in a number for n, and press enter, it finds n+2? i thought it will …

Member Avatar for jlm699
0
115
Member Avatar for max.yevs

I've learned quite a bit since my last post, i.e. it kept disappearing on me just because of syntax, but now I'm interested in something: Is it possible to make it so that when you run the .py as is , that it opens another program or directory? I.e. when …

Member Avatar for max.yevs
0
122

The End.