Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Error handling not working
Post: RE: Error handling not working

Yes, noticed that soon as i hit "post" :) been watching too much code, stupid mistakes
desudesu General Coding Help 2 3,481 Jun-14-2017, 02:12 PM
    Thread: Error handling not working
Post: Error handling not working

Hi, i made a program that reads a URL from textfile and checks if that websites status is <=400, if it is, it will return "website is running" and saves that to a list and checks the next address i...
desudesu General Coding Help 2 3,481 Jun-14-2017, 12:44 PM
    Thread: ssh + mysql connection python 3.4.3
Post: RE: ssh + mysql connection python 3.4.3

import mysql.connector from mysql.connector import Error class dbcon:   """ Connect to MySQL database """    hostlist = []    ip = 0    port = 0   try:       print('Trying to establish connection to ...
desudesu General Coding Help 9 13,068 May-25-2017, 03:19 PM
    Thread: ssh + mysql connection python 3.4.3
Post: RE: ssh + mysql connection python 3.4.3

What im getting now is just this: Trying to establish connection to database... Connection Successful!!! ('domain.name.com', '22') ('test1', '22') Connection to database closed! Process finished wit...
desudesu General Coding Help 9 13,068 May-25-2017, 01:23 PM
    Thread: ssh + mysql connection python 3.4.3
Post: RE: ssh + mysql connection python 3.4.3

OK, so i have made some progress, i have managed to get access to my db remotely and i can get values from it, but now i need to assign values from the db to specific values and i cant figure out how ...
desudesu General Coding Help 9 13,068 May-25-2017, 09:18 AM
    Thread: ssh + mysql connection python 3.4.3
Post: RE: ssh + mysql connection python 3.4.3

I have a virtual server on local machine and im trying to connect to database located on the virtual server, read some guides and they tell to ssh to remote server and connect to db as local. If there...
desudesu General Coding Help 9 13,068 May-20-2017, 06:42 AM
    Thread: ssh + mysql connection python 3.4.3
Post: ssh + mysql connection python 3.4.3

Hello, im having a problem connecting to remote mysql database. i am able to manually ssh to the server and connect to mysql using same authentication (username/pass) as im using in code, but im not a...
desudesu General Coding Help 9 13,068 May-19-2017, 11:24 AM
    Thread: Getting remote addresses from database
Post: RE: Getting remote addresses from database

Hi, read up on ansible a little, bit, it seems its mainly used in running simple tasks on servers, not sure if it can do the complex things i would need it to do. What i have is a empty server, what ...
desudesu General Coding Help 3 3,944 May-12-2017, 08:45 AM
    Thread: Getting remote addresses from database
Post: Getting remote addresses from database

Hi, im looking to make a program that connects to 20+ remote machines and runs some commands on them and also downloads some files from them. Because the number of remote hosts is high and will incre...
desudesu General Coding Help 3 3,944 May-11-2017, 05:02 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020