14,952 Topics

Member Avatar for
Member Avatar for ariel.goldstien

I have problem loading fonts in PIL. it seem that _imagingft is missing. how can I install it? thanks

Member Avatar for Tech B
0
56
Member Avatar for rixxir

[B]Hi. I need some help. I need my python program to get information from the .txt file.(text file). I have managed to get this:[/B] [CODE]import string months = [] temperatures = [] fm = open("weather.txt","r") count = int(fm.readline()) # Number of the moths are read from the .txt file for …

Member Avatar for vegaseat
0
150
Member Avatar for cnuzzo

I am working on a small program that uses classes to generate a weekly menu of daily food logs. I am still new to python and would like some help with what I view to be the next step. I want to be able to load the program and have …

Member Avatar for Gribouillis
0
146
Member Avatar for realmayo

Basically I want to do something like this; give a URL. And find the part of the webpage that has the main content. e.g. a main page of a blog should return the div that contains the posts and nothing more. a post article of a blog should return the …

Member Avatar for Gribouillis
0
56
Member Avatar for MichelleCrews

Hey i been workn on this code for a few days now and im stuck!! i gotta make sum nested circles ... but the code i have here draws a bunch of circles but they are connected :'( and i tryed everythin T.up, T.forward, T.goto ... all of that .... …

Member Avatar for vegaseat
0
170
Member Avatar for Stefano Mtangoo

Hello guys I want to make little application to convert png files to xpm I wonder what is the easiest approach! Load the image in DC and save as xpm? or what? Thanks!

Member Avatar for Stefano Mtangoo
0
73
Member Avatar for Tech B

Everything works great. But sometimes I get an Error message saying something about ip/port bindings. I don't have the traceback but this could cause problems down the road. Any suggestions? [code] #Backdoor Server #Version 0.3.0 #Every now and the I get an Error dealing with the ip/port bindings # seems …

Member Avatar for snippsat
0
2K
Member Avatar for vamsicoolman

I am having a service which run using a batch file in command prompt, I want to read the whole information running in the console and want to write it to an another file but I am able to write it only when the service is closed completely. So I …

Member Avatar for Stefano Mtangoo
0
94
Member Avatar for funfullson

I have a code that plays fast _it's order is log(n)_.I have to meter it's play's elapsed time.I used from time.time() and time.clock() but they returned 0.I need a timer witch meter nano second. How can I do it?

Member Avatar for vegaseat
0
90
Member Avatar for forbushshooter

I have a project on creating a program that asks for the propertys actual value. Then it showes the assessed value (which is 60% of the actual value). Then it shows the property tax (which is $.64 for every $100 of assessed value). I have gotten a TypeError: unsupported operand …

Member Avatar for vegaseat
0
88
Member Avatar for web_test

Hi, I am very new to python. Please , Can some one tell me how to post the data to a form. I need to test the user login page by entering username , password values. There is a also login button next to these fields.

Member Avatar for web_test
0
259
Member Avatar for ajakuk

Can anybody suggest a solution? I am not able to display any plots, graphs or pictures using Python. e.g. when using the matplotlib.pyplot.imshow, I get the following answer: <matplotlib.image.AxesImage object at 0x01C77850> Nothing else is displayed nor any picture pops up. It seems to me the picture is created as …

Member Avatar for ajakuk
0
138
Member Avatar for rrvamsi

Hi, I am new user of python and now i am struck with a problem. Please help me in solving this. I am trying to create a logfile for every action by using a standard template available. My code is able to create & rename a log file by using …

Member Avatar for ronir
0
179
Member Avatar for PixelHead777

... I find it interesting that these are projects for the[I] beginners[/I]. Of course, these projects I've found often result in constant research and use of extremely confusing modules. If a module is confusing and is required for a project? It immediately bumps up to intermediate difficulty in my book. …

Member Avatar for Ene Uran
0
154
Member Avatar for G33KKitty

hey guys i have a very basic program but unfortunatly it does not recognise how many bombs are near it it just displays ok if there is no bomb. and if there is a bomb a message pops up saying bomb would you like to retry, If i press no …

Member Avatar for JasonHippy
0
1K
Member Avatar for Begjinner

Hi, I got two question. :) First there is this annoying problem with running my script from IDLE that for the character é (the ' and e) I got after using ord() the value 233. When I run the script from cmd.exe I get the value 130. Why the difference …

Member Avatar for vegaseat
0
258
Member Avatar for liamchou

How can I use from Sample--A convert to Sample--B or Sample--C? If there have more radom sample in one file how can i filter it? I mean, I have to open one file and the file included more ROWS in Sample--A CHIP FRAME_4X, $ (1, 4HTFRR2-0A-00, AD=0.005, SF=0.5) ROWS 38500/76200 …

Member Avatar for liamchou
-2
84
Member Avatar for twistedphrame

Hello all, I'm having an issue with getting the ip address of a client accessing an xmlrpcserver, some of the time the code will work and then when I go to transfer the classes/methods (copy and paste) into my other file neither work and both have the same error: Server: …

Member Avatar for Gribouillis
0
226
Member Avatar for hondros

Okay, Im using Python 2.6, and the latest version of pygame. In my game, I have circles moving away from you, you have to catch them, and if you catch them, they disappear. The amount of circles can vary, and that is the issue I am having. As of now, …

Member Avatar for ronir
-1
251
Member Avatar for BirdaoGwra

Hi, Could someone kindly tell me how to stop maximizing a dialog box with cursor? Like, when we create a toplevel window, it is possible to maximize that window with mouse, holding its border. I want to fix the size of the window? How? Thanks in advance Regards

Member Avatar for BirdaoGwra
0
134
Member Avatar for vegaseat

Wallpaper or tile images are small images that can be spread across a background repetitively. A common practice on web pages. The surface created with wx.PaintDC() can be used for this effect and still allows other widgets to be put on top of the wallpaper. The small tile image is …

Member Avatar for vegaseat
1
971
Member Avatar for Lolalola

hi, how run standard zope cms? I download from this: [url]http://www.zope.org/Products/CMF/[/url] CMF-2.1.1.zip (1.42 M) and CMFDefault extract and put in Zope\lib\python\Products, then restart Zope. But i don't see cms site in add field or control panel

0
168
Member Avatar for trips.dude

Hi All, I am new to the programming world. I was just writing this code to generate N prime numbers. User should input the value for N which is the total number of prime numbers to print out. I have written this code but it doesnt throw the desired output. …

Member Avatar for samvinogar
0
17K
Member Avatar for punter999

hello seniors, i want to serialize a matrix of any dimension to be serialized and stored in the hard.i will be thankful if you guide me about this.how can i perform this work..? your response and help will appreciated Regards Punter

Member Avatar for punter999
0
143
Member Avatar for dnamgyel

[TEX] Input1: [འབྲུག་གི་རང་ལུགས་འཆམ་།] [དུས་རབས་བརྒྱད་པའི་ནང་] [གཏེར་འཆམ་དང་] [པད་གླིང་གིང་གསུམ་] [ལ་སོགས་པའི་འཆམ་གྱི་རིགས་ཚུ་ད་ལྟོ་བར་ན་ཡང་] [ཡོངས་གྲགས་སྦེ་] [རྐྱབ་སྲོལ་ཡོདཔ་ཨིན་།] ->actual file (requiring special font support so I have modified the Inputs) [AB'C'DEF'GH'I'] [JKL'MN'O'|] and so on ..........[ ......|] Input2: འབྲུག་ གི་ རང་ལུགས་ འཆམ་ ། གཏེར་འཆམ་ དང་ པད་གླིང་གིང་ གསུམ་ ལ་སོགས་ པའི་ འཆམ་ གྱི་ རིགས་ ཚུ་ ད་ལྟོ་ བར་ན་ ཡང་ ཡོངས་གྲགས་ སྦེ་ རྐྱབ་སྲོལ་ …

Member Avatar for dnamgyel
0
124
Member Avatar for Sauronevileye

I have a filtered excelfile, im using XLRD to loop through rows and read values from it. The problem is that i do not want the values that is hidden/filtered. I cant for my life found how to do that. Maybe some guy here can help me.

0
51
Member Avatar for ariel.goldstien

It seem that PIL was built without FreeType support. how do I Install the FreeType dev files and rebuild PIL again.

0
103
Member Avatar for mahela007

How can I make a program wait for a few seconds before proceeding? An example of where this would come in handy is when the program allows the user 5 seconds before it proceeds with some default option... can I do this using python?

Member Avatar for mahela007
0
280
Member Avatar for pankti

I want to reset the ComboBoxEntry when the arrow symbol on it is clicked, but could not find any method that is called when arrow symbol on dropdown list is clicked. None of the signals button_press_event, key_press_event or focus_in_event works. This all are called when the text area on dropdown …

Member Avatar for pankti
0
109
Member Avatar for shadwickman

Hello, I was wondering how to go about having a redirect of stdout with Python take effect in a C extension. My python script redirects sys.stdout into a file handle created with [i]open(...)[/i], but within the function in my compiled C-extension, any output ([i]printf[/i], [i]puts[/i], etc) is still given to …

Member Avatar for Gribouillis
0
593

The End.