Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Python Programming


Book Progression!!  

Hello everyone,I just went out and bought my first Python books. What do you think about this book progression from a learning stand point of new programmer. Learning Python Second Edition by Lutz then Programming Python Third Edition by Lutz and then... Continue Reading
Views : 78
Friday 28th of December 2012

Coding this function  

Quote: Originally Posted by... Continue Reading
Views : 72
Friday 28th of December 2012

Perfect Python  

Judging from the number of questions asked at this Python forum, Python must be so perfect of a computer language, that it simply does not lead to any questions.Looking at questions asked in other languages like C and C++ I have to say, that most of these... Continue Reading
Views : 58
Friday 28th of December 2012

Different Colors In Console Output  

Quote: Originally Posted by... Continue Reading
Views : 43
Friday 28th of December 2012

Python's Best Web Development Framework's Book Is Now Available!  

The first book for CherryPy, the best web development framework for Python, is now available for discounted pre-order.http://www.packtpub.com/CherryPy/bookCherryPy's one of my... Continue Reading
Views : 79
Friday 28th of December 2012

How would I do this in Python  

I've written this program both in Java and in C++, so now I'm trying to do it in Python. All the program does is use a loop from 1 to 5 and output each number followed by that number squared. It outputs the numbers in columns, so it needs to look like this: Continue Reading
Views : 55
Friday 28th of December 2012

PHP to Python  

Is there anyone that is able to convert this small php snippet (Toggle Plain Text) fputs($sock,"\\status\\");... Continue Reading
Views : 47
Friday 28th of December 2012

Forum backend in python - Can I please have the backend for a forum  

@hollystyles: I told him that already but I'm not so sure he gets it.@titaniumdecoy: good idea, mine doesn't have a license it's just grab it and use it.Therefore, GrimBB. However,... Continue Reading
Views : 61
Friday 28th of December 2012

Bluefish  

Hi,I'm having loads of problems installing bluefish on my Windows machine. I've downloaded GTK and pcre so far but don't have a clue to where to start with either of them.Although I'd quite like to get it working as a challenge, could anyone... Continue Reading
Views : 41
Friday 28th of December 2012

Few questions about python/programming.  

Hey,I'm new to the whole programming scene and have been interested in doing this for a while. I started doing an online tutorial for python, I have a few questions.1. How do I apply my python language to "real" programs, I only seem to be... Continue Reading
Views : 78
Friday 28th of December 2012

Python on unix  

Is there a way to get a Python script to run from the command line in Unix without the "python" prefix? For example, instead of typing python myscript.py, typing myscript.py (with or without the Continue Reading
Views : 48
Friday 28th of December 2012

Which Flavor: CPython or IronPython and Exec Opts  

At the installation stage in "Learning Python" book, but it has only a paragraph explaining three versions (I won't be using Java so Jython doesn't interest me); and the same goes for execution optimization tools.Should I study with the default CPython, or... Continue Reading
Views : 55
Friday 28th of December 2012

Short circuiting...  

Hey everyone,I was reading through a tutorial for Python on wikibooks and got hung up at a spot about short circuiting. I was wondering if you could help me through the logic the program is using to return the results. Here is the input/output: Continue Reading
Views : 26
Friday 28th of December 2012

python vs ruby  

im having trouble of choosing a language to learn, ruby or python? in what way python is ahead of ruby?, ive been hearing good stuff about python about its clear and readable syntax and ive read that ruby has good and readable syntax too, does anyone of you here... Continue Reading
Views : 55
Friday 28th of December 2012

Help with Input and Output coding  

Hey guys,I've been struggling with an assignment and really need some help here. The questions posed are:1.) Download the Polyline files from the website. -http://cpgis.gmu.edu/courses/08fall/documents/polylinesHw4.txt (this... Continue Reading
Views : 41
Friday 28th of December 2012

why are classes created  

hello ,i am a newbie to programming learning python as my 1st language.1why are classes created.2 Continue Reading
Views : 80
Friday 28th of December 2012

Some problems with import module  

I'm new,The beginning, my program had doneBut when i imported urllib2 module (not setup in my debian-os) into it, had a error "AttributeError: 'module' object has no attribute 'urlopen in urllib2'" when I remove urllib2 module, it had a error... Continue Reading
Views : 79
Friday 28th of December 2012

Is it possible to make an .exe that acts as a shortcut to another .exe  

I want to make an .exe file that shortcuts to (Toggle Plain Text) C:\Program Files\EA GAMES\Battlefield... Continue Reading
Views : 31
Friday 28th of December 2012

I created an interesting hash program  

I was trying to figure out a way to encrypt passwords into text files, so that no one could just look at the code and see "Oh, password is ..."There are probably modules already created for this. Sorry. I just made this now, and i was a tiny bit proud of... Continue Reading
Views : 45
Friday 28th of December 2012

python function for parsing  

hi all,Actually i am new to the python.I want to write a program which sort a particular columns in spreadsheet and then parse it.which gives me an error list then i have to remove duplicates from it and have only the atomic values.how can i do... Continue Reading
Views : 67
Friday 28th of December 2012

PyQt4 Clipboard problem  

Hello everyone, I'm new to GUI programming as well as in using PyQt. I have learned that PyQt4 can place a string or other stuffs in clipboard (and can also get it back) using QApplication.clipboard() method, this works fine for me as long as the script running, but... Continue Reading
Views : 96
Friday 28th of December 2012

Dealing with constants and the win32gui module  

Ok, I've managed to write this script that changes the desktop background (in win xp) using a SystemParametersInfo() call, and so far, everything works fine except that the change isn't permanent, when I restart my PC its back to the same old wall. I figured out that... Continue Reading
Views : 62
Friday 28th of December 2012

Functions  

I've new to programming, and I've been looking at tutorials for python for a while. I feel confident enough to make a game, and I'm fairly far into it. I've got bunches of help files that are just functions that run if you type it in when you get the chance. Continue Reading
Views : 42
Friday 28th of December 2012

WEBSITE/Apahce Setup (don't worry the hard part works... just a hopefully stupid/easy question)  

My setup works in apache - finally had to use psp with mod_python as the handler though. http://pairadice.no-ip.orgjust curious (the stupid question part) - How in the heck do you make a website... Continue Reading
Views : 48
Friday 28th of December 2012

How can we select a record from search results  

Here I am giving one example, 1 to 10 steps, here I want to Click 9th record, any one help me on this.. I need the python code to click the 9th record... Continue Reading
Views : 58
Friday 28th of December 2012

Creating the matrix code effect from the movie!  

im a novice/intermediate user of python but im not too expereinced with pygame.im trying to create pygame window with a 800 x 600 display using a font that is similar to the "matrix" code and have it choose a random number " 0 and 1" and have it cascade... Continue Reading
Views : 35
Friday 28th of December 2012

pickling in python 3  

The book im reading now covers python 2.6.1 and the code it shows here doesnt work in python 3 (Toggle Plain Text) Continue Reading
Views : 25
Friday 28th of December 2012

Problems with the interpreter's exit() function.  

I'm using the code module to add an interactive interpreter to an object. This object has an interact method that when called creates an interactive interpreter with the object's dictionary as the namespace for the interpreter.When done interacting with... Continue Reading
Views : 38
Friday 28th of December 2012

A Bit of Help Please  

Hello, I am attempting to learn Python and come to a small problem. I wanted to print "Hello" WITH the quotation marks. To print something you would go:print("Hello")When you do that it should work so it says: Hello. But I WANT the quotation... Continue Reading
Views : 61
Friday 28th of December 2012

Convert string to list  

Is there an easy way to convert a string that contains a list to a list? For example, '[1,2,3]' would convert to [1,2,3]. Continue Reading
Views : 51
Friday 28th of December 2012