Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
5 Endorsements
Ranked #347
Ranked #1K
~35.9K People Reached
About Me

i'm 20 years old and i'm studying computer science in college.

Interests
poetry, python, c++, games, gaming
PC Specs
BTO gaming grade laptop
Favorite Tags
Member Avatar for adam291086

I have a file that contains a class, its called test.py. How can i call on that class within another file called xml.py?

Member Avatar for chethan_2
0
14K
Member Avatar for James19142

How do the numbers in a matrix relate to coordinates in 3D space. I've looked at a ton of tutorials for an answer but I still haven't come to an answer. They explain mainly the math which I try to use to answer my question, but I can't come to …

Member Avatar for James19142
0
268
Member Avatar for iamthwee

So I just got a new laptop, it was originally running 64bit windows 8 so i had to get rid of it. Daft question, but I put a 32bit linux os (Elementary OS) on my system and it is running hideously slow. I'm hoping it is just that I've put …

Member Avatar for iamthwee
0
274
Member Avatar for dsushmareddy

Gtk-CRITICAL **: IA__gtk_range_set_range: assertion `min < max' failed I am getting this error when running my code wriiten using wxpython. Can anyone please explain what this error is.

Member Avatar for vegaseat
0
358
Member Avatar for itsnauman

Hey, I have previously programmed in C, PHP & Javascript and I have recently started out with Python but the syntax of the functions is quite different and confusing? Like if we call `len(abc)` we enter the param inside the function unlike the function `abc.upper()` where we use enter the …

Member Avatar for snippsat
0
384
Member Avatar for java786

Write a program that simluates a game of dice. In this game, players take alternate turns rolling two dice. On each turn, they record the sum of the two dice and add this to their total. If a player rolls a doublet (both dice have the same value), then the …

Member Avatar for mathijs
0
3K
Member Avatar for nhrnjic6

Can somebody please tell me what is wrong in here or what does this error message means : " error : reguest for member 'name' in 'person',which is of non-class type 'Person[2]' " struct Person{ int days; string name; }; const int size = 2; bool way_to_Sort(const Person &a, const …

Member Avatar for mathijs
0
183
Member Avatar for RikTelner

Is software hackable no matter how perfect it is written? Let's say I will create simple OS, I will spend like 30 years on encrypting every single variable, every code string and insert quadrillions of hacking preventions. Let's say, that there are absolutely no leakings in code, variables, passwords. Is …

Member Avatar for Coloradojaguar
0
352
Member Avatar for srao1

I am trying to read in a large tab-delimited file which has 16 columns and about five lac rows. The first column is a date string. TThe second contains integers and so on. However I am not able to get the arrays correctly. Also how can one ignore three header …

Member Avatar for Ancient Dragon
0
6K
Member Avatar for mathijs

Hello, For a hobby project i'm working on i'd like to be able to generate some text based on some random inputs. Now i'd like this text to seem like it was writting by a human. I realise this is pretty hard but i was wondering if anyone could point …

Member Avatar for mathijs
0
119
Member Avatar for karlicek

Hi everybody, I would need and advice. I work with binary tree in language C and I wanna to save data from binary tree to file. I try to make similar way to C++, but proposed code notice failure. How I modify it to put it into operation. that's the …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for andreas.petrou.967

I have this program,how to find reverse numbers? #include<iostream> #include<fstream> #include<string> using namespace std; const int array_size = 10; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //function to enter the number choise1/// to "&" dieuthinsi noumerou void get_numbers(int num_arr[array_size], int& numbers){ int count; cout << "How many numbers do you want to enter? "<<endl; cin >> …

Member Avatar for kplcjl
0
355
Member Avatar for Qazi_1

Hi guys, Tomorrow is my theory paper exam of C++ OOP and Data Strucutre. Paper will be based on 50% theory Q/A and 50% on coding implentaion. Can you give me some hints to prepare for this coming exam? PS. I have gone throw all lectures slides and course material, …

Member Avatar for mathijs
0
251
Member Avatar for nkwaga

Write a program to compute and print the number of miles a car has travelled during 2013 and compute the average litre comsumption per mile. the program shouls ask for daily number of miles, also give its output the total amount spent on petrol for the year.

Member Avatar for Paul.Esson
0
122
Member Avatar for 26bm

Hi, I am wondering if there is any easy way to up the frame rate of a pygame program. For example locking the frame rate? I don't know. Thanks in advance! 26BM

Member Avatar for 26bm
0
244
Member Avatar for bryann

I am trying to create a Caesar Cipher in Python. I have managed to put together my program with the help of some other websites but have hit a bit of a wall. My code allows me to encrypt a single character and will then ouput this and write it …

Member Avatar for mathijs
0
248
Member Avatar for becraxie

Hi, I really need help with my c++ assignments. Thank's to everyone who can help! Create a grading program that reads a file exam grades and computes the Average grade and the letter grade for each of 5 students. Each student has 4 exam grades. Letter grade: A => 90 …

Member Avatar for mathijs
0
526
Member Avatar for mathijs

Hi, i'm running a server in my basement. ubuntu running xampp. And i was wondering if anyone can point me to some good uses of python to use on my server. i'm a bit low on inspiration. I know there's Django and also mod_python. But it doesn't have to be …

0
80
Member Avatar for mathijs

Hey I've got an old server in my basement and i want to host a forum on it. I know there are also online free forum hosting but i want to learn what i'm doing. I want to use this thread to ask for advice. Right now my plan is …

Member Avatar for mathijs
0
127
Member Avatar for tlaloc58

Greetings, I've just got 2 python books that are a few years old, they talk about python 2.3. My question is if they would still be useful to learn python? Or if python 2.3 is really that different from 2.6 are they worthless? Thank you.

Member Avatar for vegaseat
0
99
Member Avatar for mathijs

the cursus i'm taking on python (free on internet). said i know enough and that i should try creating some simple games like oxo. the problem is that i don't know how the create a framework for such a game any help is welcome. mathijs p.s. my english may not …

Member Avatar for mathijs
0
131
Member Avatar for scripter_tmrage

Hi! As you can see from the title I´d like to know where i should start if i´d like to become a game "programmer". Which skills are requiered, and where to find them, and if there are any free "tutorials", on the web. Thanks P.S. this is my first post …

Member Avatar for wildgoose
0
216
Member Avatar for sravan953

Hey guys, I use Python 2.6.2, and have made a program; here's the code: [CODE]import subprocess import time def open_program(): time.sleep(s) print 'Opening the program...' subprocess.call(c) h=input("Time: ") c=raw_input("Enter the full location of the program you want to open after the desired time: ") s=(h*60*60) open_program()[/CODE] I also have some …

Member Avatar for Stefano Mtangoo
0
220
Member Avatar for Nidhi G

Hi I wish to write a program that will perform some action on a key press event but if there is no key press in a certain period of time say 10 seconds, it should display an error message and exit. I am working on windows and am using the …

Member Avatar for Hummdis
0
303
Member Avatar for sciguy77

Hi, I'm trying to build a web server in Python, and here is what I have so far: [CODE] Code: from http.server import HTTPServer, BaseHTTPRequestHandler class RequestHandler(BaseHTTPRequestHandler): def _writeheaders(self): self.send_response(200) self.send_header('Content-type', 'text/html') self.end_headers() def do_HEAD(self): self._writeheaders() def do_GET(self): self._writeheaders() self.wfile.write("""<HTML> <HEAD><TITLE>Sample title</TITLE></HEAD> <BODY>sample text</BODY> </HTML>""") serveraddr = ('', 8080) srvr …

Member Avatar for sciguy77
0
154
Member Avatar for ProgrammersTalk
Member Avatar for Ezzaral
0
591
Member Avatar for Kezoor

Hello everyone, I have been through the Starting Python thread, and I have archived lots of stuff for further learning ! But there is one little thing for which there is no specific explanation, and looking at Google doesn't help me much. Why do the classes of many scripts are …

Member Avatar for Kezoor
0
124
Member Avatar for tutti

i already have a "def show hand" section, which shows winning hands. but i need it to do wht i have written below here is a black jack code, i want it basicialyy show score for each game detailing the users total, the computers total and the winner and When …

Member Avatar for Murtan
0
170
Member Avatar for sumzilla

Hi everyone! I am a beginner python user and have a final project due for the class. I am doing blackjack since it's my favorite card game. I am terrible at python but busted out code for the game itself. I was thinking of making it into a GUI, but …

Member Avatar for Stefano Mtangoo
0
353
Member Avatar for NekoGráfico

Would be really fun if we could maybe have some game programming challenges posted here on a weekly basis. This could help adventuring programmers solve their problems by reading past challenges or even expanding their knowledge by solving these challenges. But we first need to set up a structure. In …

Member Avatar for MosaicFuneral
0
160