Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~4K People Reached
Favorite Tags
Member Avatar for Dekudude

Hi there! I have been working on an AI program for a while now, and in creating knowledge bases (what does x mean, etc) this small snippet of code has done very well. (just repaste and change variable names / file name) However, I am attempting to modify it to …

0
73
Member Avatar for Dekudude

Hi there! First off, let me say I HAVE Googled the subject, but all provided functions... didn't work. Simply put, I want a function that closes my Python script, and then reopens it. I tried making my own, which would open the same file, sleep 2 seconds, and then close, …

Member Avatar for mathijs
0
3K
Member Avatar for csm_tC

I have searched the forums and could not find a direct answer to my question, it's probably too simple and i'm over looking something. It's my first day with Python, I'm in the process of developing a program that converts a given float integer into a variety of different things. …

Member Avatar for Shadow14l
0
157
Member Avatar for Kavitha Butchi

Hello all, I am all set to launch a website on which i have been working from months but now am afraid how safe it might be once it gets attention of hackers . As most of the code in website is in PHP,html,mysql i am posting this in this …

Member Avatar for Kavitha Butchi
0
373
Member Avatar for Dekudude

Hi there! I'm having a very annoying problem... simply put, I have a .pyw file, and it works great! However, whenever the script runs the os.system() function, I get a brief CMD Prompt window, which immediately disappears. It's quite annoying! Is it possible to run os.system() commands without having the …

Member Avatar for Gribouillis
0
172
Member Avatar for Dekudude

Hi there! My application is going very well... however, I have a couple questions... mainly, graphical stuff. [LIST] [*]How do I make it so the application runs in full screen? (I know I can do it by changing the preferences in the command line, but that's the ghetto way...) [*]How …

Member Avatar for Dekudude
0
130
Member Avatar for Dekudude

Hi there! Let me start by saying this-- I have no experience with regular expressions. Simply put, I want a function that turns an array [eg: func(array)] into... an array, but add ONE space on both values. Meaning: [code=Python] array = ['red','blue'] #returns ['red','blue'] array = func(array) # returns [' …

Member Avatar for Dekudude
0
124
Member Avatar for schwarznavy

Hi, I'm not too good with CSS but I managed to create a menu list that I like. It works exactly how I want with IE 6.0, but overlaps with Netscape and FF. Can anyone help me figure out why? Here is the CSS: [code] #left-menu { background-color: #181C3A; border-bottom-width: …

Member Avatar for MidiMagic
0
92
Member Avatar for Dekudude

[code=Python] def checkIt(arr,inp): bool = 0 for i in arr: if i in inp: bool = 1 break return bool array = ['hi','hey','hello'] string = "Hi there!" if checkIt(array,string) print "Yay!"; [/code] That's my code. It returns, "Yay!". Now... I like what it does-- it searches the string for a …

Member Avatar for shadwickman
0
118
Member Avatar for Dekudude

Hi there! For starters, let me say I am something of a Python newbie at the moment, but I'm learning more every day! Unfortunately, my script is at a standstill, and I can't figure out how to continue. I don't have an error, per se, but rather the inability to …

Member Avatar for Dekudude
0
216