Guys, all of these suggestions require me to have try / except clauses in a lot of areas...
My program "starts" this way:
def run():
app = wx.PySimpleApp()
frame =...
Type: Posts; User: Pyro.699; Keyword(s):
Guys, all of these suggestions require me to have try / except clauses in a lot of areas...
My program "starts" this way:
def run():
app = wx.PySimpleApp()
frame =...
That is slightly too obvious of a solution xD In program that spans thousands of line of code with over 100 files... having a single function that would have to be entered into EVERY try / except...
Basically what i am trying to do is when an exception is raised (from any thread that is currently running) i would like to catch that current exception and send important information from it to a...
Could you link me to one that might solve my problem xD Im prety open to any solution; i might be able to find a second hand card somewhere...
Think you could explain this a bit more xD I failed...
Alright, so as it stands right now im getting a bit of feedback from a particular setup. I have done quite a bit to try and figure out exactly what is causing it and have come up empty.
The end...
Yeah, i knew that. That's why using it wouldn't work directly.
Im trying to get compile working...
import base64
def import_b64(path):
f = open(path, 'r')
PythonData =...
Hello,
What is the best way to import a python file that is encoded in another format (for this example im gonna use base64 since it is very common).
encoded.py
def func():
return...
Hey,
So every now and then i run into a scenario where i have to handle datetime objects across many timezones and things start to become confusing for me. I have a bit of code that is pythonicly...
I just ran it on my work computer "nmap -v -sP 169.254.0.0/16"
... 5 minutes later ...
The output goes by too quickly and i cant read it... ill have to run it again and put the output into a...
Im not at work, and the building is empty xD Otherwise id just restart it by hand >.>
Hey,
So theres a story behind this and i don't really wanna explain it xD Needless to say, i have a laptop at work, the user got logged out and now im unable to access it directly.
I have a...
I have taken a look at each image; and they are all the exact same size.
How-ever remember that this renders perfectly fine on a windows computer.
I have tried that. I even disabled all of the styles that were associated with the images; still got the borders...
But something else that is interesting, is how the lines ONLY appear on images...
Well, everything works right now. And on a windows pc it looks fine. So i think its something much deeper than the html code that it is being displayed with.
It cant be a border because i...
I need to have the x,y coordinates documented. Every minute jquery sends the current data to the server, and the server only sends back squares that need to be updated, thus increasing image update...
Sure thing :)
Its written using django... so here is the template that generates the table data.
<table border="0" align="center" cellpadding="0" cellspacing="0">
{% for y in 15|get_range...
Interesting development. The site looks fine if i view it from a windows computer. Both using firefox.
Same result, nice try though.
Hey...
A picture is worth 1000 words :)
http://forums.allblizz.com/pyro/Messy%20Image.png
I have used border: none. I even tried setting border-color: #FFF in the hopes that id know it was a...
Ive always just used sftp.
run: sudo apt-get install openssh-server
type: ssh -v localhost (to ensure its running properly)
then open your ftp client:
host: sftp://192.168.0.4 (or what ever)...
Hey,
So im currently working on 2 django websites right now and have been able to properly get one of the instalations working with apache. Before i go further ill post my /etc/apache2/httpd.conf...
I have also tried adding in localhost:0, localhost:0.0 and just :0 all return errors. Could it be that user www-data does not have access to the x display?
Thanks
~Cody
Not sure if this is what you meant by media module... but it should help.
http://wiki.videolan.org/Python_bindings
Hey,
Im trying to create a web-app that will allow me to view snapshots of my desktop from a remote location. For example i could go to http://MyComp/screen.php and it would display the site. Id...
I had thought of that idea. but id like to avoid that if at all possible. Especially when these values will be written to files and then read from files...