No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
...
- Interests
- photography
- PC Specs
- core i7
32 Posted Topics
Hello All I am having a shared hard disk on my terminal server. I would like to view what IP's / Hostnames are connecting to it, if possible a history of what remote machines accessed this hard drive. Is there a way to find this information? tool? script? anything? Any … | |
okay.... I have been trying this stuff for a couple days and I think I have completely lost my way. I am trying to read data from an excel and import it into a MySQL DB. When I fetch the data from the cell, this is what I get.. >>> … | |
Hello All I am having an odd issue with mysqldb connection from python to a database. The issue is, when I run the query directly or via a sql client like navicat or toad, I get the required value, but this does not happen via python/mysqldb combo. This is the … | |
Hi I am planning to build an email server. My first one actually. I have used linux for apache / db / middleware ... so I think am capable of installing a mail server with some proper documentation. I have narrowed the email server to be postfix... but now here … | |
Re: There is a python tool called IEC which you can download and use it in your script. | |
hi I have a problem with the following code ... [B][COLOR="Blue"]>>> j = win32pipe.popen('c:\\disk\\plink jnitin@10.94.101.178 -pw mat123 df -g','r') >>> for i in j: print i >>>[/COLOR][/B] As you can see the file object 'j' does not have anything in it... But if I type [COLOR="Purple"]'c:\disk\plink jnitin@10.94.101.178 -pw ibm123 df … | |
Hi I have Windows 2003 server at home. I want to access this machine from the internet. Instead of opening port 3389 to the internet, I would like to have it accessed via the RDP web connection. So I installed IIS... created a self signed SSL. Withing the network at … | |
Hi Is there a way to hide the python source code from being copied or hacked? I am planning to write and distribute some python code to my team, but I would prefer not to reveal the code. Is it possible in Linux? In windows I wud probably create an … | |
Hello All, I have a problem, for which I need some guidance..... Here is the scenario. Internet --> Router --> [my required s/w ?!?!] --> 3 web servers. the router which I have has limited capabilities. It can jus forward incoming requests only IP based, and not even to to … | |
Re: OK...U have Windows XP. More than one computers are connected in ur network. Other computers connect, but this one does not. Which means, u do not have any problems in the router. Your computer is getting 169.x.x.x series of IP address, which could probably mean that, the router is not … | |
Re: Did u create a certificate file and key file? Did u add them to ur httpd.conf, and mark the https port directive to this certificate?? | |
Re: My first question would be how did u install cx_freeze? That is for converting a python script to a windows executable... u r trying to get an exe file in Linux?? I wonder why u would do that. From the cx_freeze download site, it gives me a windows installer, so … | |
Re: Page Breeze HTML Editor!!!! [url]http://pagebreeze-html-editor.software.informer.com/1.0/[/url] | |
Re: To put it very crudely, my code would like... f = open("c:\\path to file\\violate.dat",'r') chk = 0 for i in f.readlines(): if chk == 1: val1 = i.split()[0] print val chk = 0 if i.find("Rating PTDF IntBase FnlBase") >= 0: chk = 1 f.close() [CODE][/CODE] Is this what u r … | |
Re: what is the value of COGXR?? Can u give [CODE]print COGXR [/CODE] before the Z_Actual thing and see what the output is? | |
Hi I am new to the Web Development side of Daniweb. I usually wander in the Python and Unix forums. It has been my loooong desire to create a website of my own.., but for some reason, I have never fully able to understand web programming!!:-O... I have finally managed … | |
Re: Well ... you have to give us something!!! the error message u get for a start.... Does ur scheduler start the script in the first place?? I had a similar problem once. I didn't include the Run as username in the scheduler...:$ So jus let us know what u get... | |
Re: For windows look for WMI scripting queries that would fetch you the required info. You can use the same in the python. The Microsoft site has plenty of details on that. For Ubuntu, you will have to look for the file which stores that info. It could be in /proc. … | |
Re: I am not sure whether you can change the entire sheet color to yellow. But you can change the colors of individual cells to any color u want. [QUOTE]worksheet.Cells(row,column).interior.colorindex = 6[/QUOTE] here 6 is for yellow. [URL="http://www.geocities.com/davemcritchie/excel/colors.htm"]http://www.geocities.com/davemcritchie/excel/colors.htm[/URL] you can use the above URL for other color indexes. | |
Re: Hmmm... did u try using the default Apache settings. For example Redhat recommends Maxclients not to exceed 256. KeepAlive setting is ON, but the number of MaxKeepAliveRequests is 0??? I would recommend you to try the default settings first and then tune the parameters later for optimizing performance. Good Luck.... | |
Re: I have never used a Python web server...So I wudnt know whether this works or not... I will have to check this code in my home.... Are you able to access the page on the same box? [url]http://127.0.0.1:8080/[/url] or [url]http://localhost:8080/[/url] Does it work?? If it does, then could be something … | |
Re: [QUOTE=pupspark;891264][CODE]print "INSERT QUIZ INTRO" choices1(); def choices1(): print "The SNES Star Fox games ran off of/was used to advertise what advancement?" print "1: 32 Bit color" print "2: Argonaut's Super FX Chip" print "3: Voice-like sound effects" print "4: Higher Frame rates" 001();[/CODE] There's code past this but I imagine … | |
Re: After [QUOTE]a = c.execute(query) print c.fetchall() [/QUOTE] should give u the output... | |
Hi I am not sure whether this is the right forum to post, sorry if this the wrong form.... I am trying to create a jboss cluster of 2 nodes. Here is the setup required. 1. NodeA is on server1 on VLAN1 2. NodeB is on server2 on VLAN2. 3. … | |
Hi friends I am trying to connect to a Linux machine from a Windows PC. I used to do it thru TELNET, but now I want to use SSH for better security. I tried with PYSSH, but I am going nowhere with it... Parmaiko is not working in Windows... Is … | |
Re: May be u can try this snipet.... [code]from win32com.client import Dispatch ie = Dispatch("InternetExplorer.Application") ie.Visible = 1 ie.Navigate('http://www.google.co.in/search?q=python+%2B+automate+%2B+href+link&hl=en&start=20&sa=N') if ie.Busy: sleep(2) hrefs = [] for link in ie.Document.links: print link.href ie.Quit()[/code] So just figure out the required link, and use it. | |
Hi I am trying to view the security certificate of a secured web page. ex: [url]https://somesite.com[/url] I need to do this via a python script to collect some data from the certificate, like the CN, OU, Street etc values. It can be done with win32com, but not sure about the … | |
Hai friends I have a some trouble in running a 3rd party program. This 3rd party program actually takes one file as input & does some processing on it and creates an output in a different folder with the same name, but with different file extention. I do it manually … | |
Re: Hi Well, if u r having windows then its quite simple. once u have opened the IDLE prompt, click on [B]File --> New Window.[/B] U will get a new window named 'Untitled' ... This is where u write ur codes... And dont forget to save the file with .py extension... … | |
Re: Well jchang, I am not exacly sure where the problem is ,but can u check on the following syntax in your code... Hope it helps In the main code where u call this function [B]isExists(fxfcustid) [/B] is actually supposed to be [B]"IsExists(fxfcustid)"[/B] functions are case sensitive...But if you are not … | |
Hai friends I have a small problem with my code... I want to copy an existing file (its a model MS Excel file) to a new file & name it with the current date... First I tried to create the model Excel file, but when I opened it, it had … | |
Hai Friends This is my first post to this forum. I am new to Python but I find its quite interesting. I have a problem with the folowing code... ########################## import telnetlib import sys HOST = "192.168.10.5" USER = "somename" PASSWORD = "somepassword" telnet = telnetlib.Telnet(HOST) telnet.read_until("login: ") telnet.write(USER + … |
The End.