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.

~7K People Reached
Favorite Tags
Member Avatar for PythonNewbie2

Hi guys, I want to create a relatively simple web application. For now, let's just say there's one user of this app. He gets assigned an email address of [email]user1@mydomain.com[/email]. The idea is that the user can send an email to that email address with either text or a picture …

Member Avatar for tajendra
0
148
Member Avatar for PythonNewbie2

Let's say I have a text file with these contents: [CODE] color1 = yellow.$199 * 100 color2 = red.$1 * 22 myNextColor = green.$3 whatsNext = blue.$$ oneMore = orange.$ [/CODE] I need to be able to get an array like this: [CODE]colorsInFile = ["yellow","red","green","blue","orange"][/CODE] In python, the regex for …

Member Avatar for AhmedGhazey
0
161
Member Avatar for PythonNewbie2

Is there an easy way to go through an entire directory recursively to find all CSV files? In python, there's os.walk and I see that Java has FileVisitor, but I have no idea how to use it correctly ([url]http://download.oracle.com/javase/tutorial/essential/io/walk.html[/url]). What I want to do is something like this (pseudocode): [CODE] …

Member Avatar for peter_budo
0
206
Member Avatar for PythonNewbie2

Hello, I'm exploring some technologies and JSP with JSF 2.0 and Primefaces seems really cool. I'm new to all of these, but I'm a fast learner. I wondering if I can create the web app I want withh JSP/JSF/Primefaces? Here's a basic description of the app: 1. Users log in …

Member Avatar for ~s.o.s~
0
86
Member Avatar for PythonNewbie2

Hey guys, thanks a lot for the help. Here's the code I have for going through each file in a directory I specify: [CODE] for root, dirs, files in os.walk('%s'%(DOSEnvironVar)): for this_file in files: if this_file.find('.csv')>-1: filepath = os.path.join(root, this_file) currentfile=open(filepath,'r') filelines = currentfile.readlines() [/CODE] I would like to add …

Member Avatar for Reverend Jim
0
282
Member Avatar for PythonNewbie2

Hey guys, I posted earlier about py2exe not working in general. Now I got it to actually run, but the .exe produced does not work... Any help would be appreciated. Thanks. Info: I've tried various things to solve this issue, but no luck. When I run my setup.bat file, which …

Member Avatar for D33wakar
0
3K
Member Avatar for PythonNewbie2

Can any one help me solve this? I've been struggling for days trying to make a working .exe file from one of my python scripts... All of the problems have been with Tkinter. It works perfectly fine when I use it in my script, but when I use py2exe or …

Member Avatar for vegaseat
0
229
Member Avatar for PythonNewbie2

[url]http://www.actionmachinepro.com/[/url] It has a nice UI and uses simple timers and classes for creating tasks (or so it seems) What do you think it was coded in? And how long do you think it would take to make something similar to it?

Member Avatar for gusano79
0
112
Member Avatar for PythonNewbie2

I've been googling for almost two hours now trying to find a solution, but I haven't come across anything that works yet. I followed this guide EXACTLY: [code]http://bytes.com/topic/python/insights/580045-simple-guide-using-py2exe[/code] but no results. When I run my setup.bat, a window comes up and disappears quickly. No new directories are created but I …

Member Avatar for Beat_Slayer
0
132
Member Avatar for PythonNewbie2

Hey guys, I'm parsing some XML using minidom and whenever a comment has a "--" within it, I get an ExpatError. For example, a file may be like this: [CODE] <Label> Hello!</Label> <!-- The above label says Hello. -- It is clear, no? Let's try spicing it up a bit. …

Member Avatar for snippsat
0
2K
Member Avatar for PythonNewbie2

Can you tell me what this site was coded in? [url=http://cna-training.info/]CNA Training[/url]: [url]http://cna-training.info/[/url] I feel like it's not pure HTML...but WP sites are usually a lot better looking... Any ideas?

Member Avatar for macgurl70
0
85
Member Avatar for PythonNewbie2

Hi guys, I want to add a custom footer to all of my word documents like "This document was written by PythonNewbie". Let's say all of the reports are in a single directory. Here's some code that I have which can do through and find files... Now I need a …

Member Avatar for Beat_Slayer
0
95
Member Avatar for PythonNewbie2

Let's say I have my own installer for a product that uses a lot of other components. One piece of my product is a python script. However, most of my end-users don't have python installed already. Is there any way I can include the python installer as part of my …

Member Avatar for Beat_Slayer
0
186
Member Avatar for PythonNewbie2

I've read lots of definitions of it, but I don't quite understand it. Let's say that I create new software that uses my own code and modified code from open source code that is licensed under the MIT License. When I sell my software, do I need to provide all …

Member Avatar for gusano79
0
189
Member Avatar for PythonNewbie2

Hey guys, I really appreciate your help so far! :) This one is a tough beast... I don't even know how to approach it. Let me give you a summary version and a detailed version. Summary version: There are all sorts of these XML files scattered within a bunch of …

Member Avatar for Beat_Slayer
0
183
Member Avatar for PythonNewbie2

I need a function which can take in a variety of time formats like "05/26/1999" and "02/14/2010 12:44" and convert them into this format: May-26 or Feb-14. I've tried to do this, but without success. Here's the code I tried (with some prints included for debugging purposes): [CODE] #Function for …

Member Avatar for snippsat
0
170
Member Avatar for PythonNewbie2

I need to do CSV parsing and I was wondering if this is possible with python and where I should go to learn how to code this script or get help. Let's say I have a CSV file with 20 rows and 4 columns. I need to: -Strip out the …

Member Avatar for PythonNewbie2
0
135