15,181 Topics

Member Avatar for
Member Avatar for rjmiller

Alright, So I am rather new to programming and Python and I had a couple of questions that maybe you guys could help me with... I currently have a .txt that when read in Python is a list, now i want to be able to split it up into seperate …

Member Avatar for rjmiller
0
186
Member Avatar for grahhh

I'm new to Python, and need a bit of help. I have a large data set that is tab delimited but annoyingly also has some extra spaces in it and I can't seem to get it in a nice array to perform computations on it. This is a simplification of …

Member Avatar for paddy3118
0
183
Member Avatar for StrikerX11

Hi, How can i create a ref to a string ? it doesn't work like lists :S List : (IDs are the same!) [CODE] >>> li=[1, 2, 3, 4, 5] >>> li_ref=li >>> id(li) 13545800 >>> id(li_ref) 13545800 >>> li.pop() 5 >>> li [1, 2, 3, 4] >>> id(li) 13545800 …

Member Avatar for jrcagle
0
110
Member Avatar for Gumster

Well, the title pretty much explains it, I want to read a CSV file and print the file into a GUI Text area. Or other suitable Widget, while im at it is there any widget that can display csv Files in a excel sort of syle, in the sense of …

Member Avatar for paddy3118
0
107
Member Avatar for ian14

hi,there i am at debue with python,can anyone help me finding any link,or some guide to start with

Member Avatar for woooee
0
91
Member Avatar for jrcagle

So today was the first day of class, and I started it as I did last year: by logging in all students as admin temporarily, then having them drag over the installer from the network and running it, then logging off. It's slightly insecure, but the class is for beginners, …

Member Avatar for vegaseat
0
121
Member Avatar for coolmo

Consider the following extended BNF grammar for a subset of the Python programming language, called MicroPython. program ::= import list f funcdef g funcdef ::= def func-identi er ( [ identi er f , identi er g ] ) : suite return add-expr suite ::= statement f statement g statement …

Member Avatar for jrcagle
0
159
Member Avatar for davidjhay

I am working with PyScripter and WxPython. When I mess up a part of the WxPython code it will run and stop to tell me the error but the debug session will continue. I have to restart PyScripter each time. What am I doing wrong? (apart from not putting the …

Member Avatar for davidjhay
0
138
Member Avatar for ufwt

depython [[url]http://www.depython.net[/url] depython online service] could decompile python bytecodes. Depython online service supports Python versions from 2.4 up to 2.5.You can freely test its function online.

Member Avatar for vegaseat
0
175
Member Avatar for gratefulluke

I am at a real loss for what to do. My boss wants me to devise a way to extract user data from a Plone installation and I don't know how to do it. The best option I've found so far is the following piece of Python code. Below it …

Member Avatar for sharma_vivek82
0
604
Member Avatar for bsdixon21222

Hello all, I have a unique situation. I am currently trying to save a complete web page that requires you to login with a user name and password. To be more specific, here is the web page I want. [url]www.eventid.net[/url] This site requires you to have a subscription in order …

Member Avatar for jrcagle
0
93
Member Avatar for kaze139

Hi all. am trying to get a library which doesnt come default with scipy, so form the scipy webisite it says to rebuild or install sicpy after modifying a specified file(which i've done) but i've got no idea of how to rebuild scipy. Am using sidux btw.. Thanks.. many cheers

0
41
Member Avatar for kaze139
Member Avatar for jrcagle
0
134
Member Avatar for mbassa

hello I am new in python.I would like to know how to play a sine vector using the sound card through python . I would really appreciate your help thanks

Member Avatar for stymiee
0
70
Member Avatar for mbassa

hello I am new in python.Can anyone show me away to play sine wave through sound card usind python? please give me some help thanks

Member Avatar for Lardmeister
0
73
Member Avatar for Lardmeister

Right now I have a mixed list of different types of elements: [code=python]mixed_list = [1, 0.5, 0, 3, 'a', 'z'] print max(mixed_list) # shows z, but would like it to be 3 [/code]How can I find the maximum numeric element of the list?

Member Avatar for Lardmeister
0
91
Member Avatar for Lardmeister
Member Avatar for Lardmeister
0
112
Member Avatar for fonzali

hi guys , I am interested in writing a code to do the soduko ( or sudoku ) , I found this code on the internet which is supposed to be the shortest soduko solver but it is so short that I can not undrestand it . can any one …

Member Avatar for fonzali
0
1K
Member Avatar for CelestialDog

Hi all, hopefully someone may be able to help me out here. Is there anyway I can take a sequence of numbers and add them together? For example say i have this sequence [1,0,2], what i want to do is basically add each number so in this case the final …

Member Avatar for ffao
0
133
Member Avatar for CelestialDog

I'm trying to write a class containing some code i want to reuse in other projects, but I just cant seem to get it right. I'm hoping someone out there can offer a helping hand. Here is the original code: [code] def Numero(name): 'A function which converts a string to …

Member Avatar for CelestialDog
0
213
Member Avatar for php111

Hello gang, I was actually really my old topic on this forum. I heard that Python and Ruby would be for me to start with. Does that sound right instead of jumping right in to C and C++? What is required in Python? Is there free tutorials on that language? …

Member Avatar for vegaseat
0
179
Member Avatar for kaze139

Hi can anyone help me with using the interp2d class in scipy? thx

0
58
Member Avatar for galbi

Hi friends: First of all, thanks for your time. I was wondering if it´s possible to develop (using Python, of course) some kind of application which can interact whith an internet page to which I'am a registered user (it´s not a matter of hacking) and to work whith the results …

Member Avatar for N317V
0
105
Member Avatar for bergy_nj

hi.. can anybody help me to have more efficient code.. i tried to do some simple regex to split an URL i tried to do this on my own many times but i couldnt seem to get it right i havent master regex yet..(im learning - but the learning curve …

Member Avatar for bergy_nj
0
113
Member Avatar for xiyann

hi there, i'm trying to connect a python server to vb.net using xmlrpc. i've read all the xmlrpc.net materials in [url]http://www.xml-rpc.net/[/url] but i dun reli understand how xmlrpc.net works (i'm a noob in programming :) ) i'm given this xmlrpc server code in python and i wish to connect it …

0
53
Member Avatar for bergy_nj

Hi.. im currently writing a program in python to parse a log file.. this log file is expected to be very big - (70MB - 250MB ) in size.. in the file there's this whole bunch lines of internet activity.. i supposed to parse each line and extract some information.. …

Member Avatar for jrcagle
0
342
Member Avatar for CelestialDog

Hi there i'm hoping someone can help me with this little problem. I'm pretty sure its a scope issue but since I'm new to python I cant say for sure. Basically i'm trying to get the counter2 variables final result. Below is the function as it stands right now, I've …

Member Avatar for CelestialDog
0
103
Member Avatar for shadwickman

I was wondering if it is possible in Python to send a job to the user's printer. I have a string, and I wanted to be able to print it out on a piece of paper. I have wxPython installed and imported into the app if that makes any sort …

Member Avatar for shadwickman
0
177
Member Avatar for BillBrown

A friend of mine has suggested that I look into Turbogears when I get around to creating the Web site that I'm thinking about. Does anyone have any experience with this application or just thoughts, whether they be good or bad? Thanks, Bill

Member Avatar for rredburn
0
87
Member Avatar for shadwickman

I was making a simple application with a GUI built with wxPython. I have created and layed out the main menu, and when the user clicks a button, it is *supposed* to make a different set of controls appear, getting rid of/hiding the main menu. I was wondering how to …

Member Avatar for shadwickman
0
107

The End.