Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, Applebot

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 3
» Views: 161
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 152
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 120
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 165
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 347
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 66
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 111
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 356
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 204
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 313

 
  Router interface status through SNMP - suggestion required for improvement.
Posted by: anna - Feb-27-2018, 11:10 AM - Forum: General Coding Help - No Replies

Hi All,

This script is polling Router/Switch interfaces through SNMP, any suggestion to reduce code line, specially function calling.

[python]#!..... More

Print this item

  Need help for Atom IDE
Posted by: sylas - Feb-27-2018, 08:41 AM - Forum: General Coding Help - Replies (6)

Hi all ! I installed Atom. I created a project. I see all files. But I am unable to edit and then run files. Is there something missing ?? Thanks

Print this item

  Dynamic updating of a nested dictionary in multiprocessing pool
Posted by: Mil_K - Feb-27-2018, 08:03 AM - Forum: Data Science - Replies (1)

I have written a simple code to understand how lack of communication between the child processes leads to a random result when using [inline]multiproc..... More

Print this item

  copy files from one destination to another by reading filename from csv
Posted by: Prince_Bhatia - Feb-27-2018, 07:19 AM - Forum: General Coding Help - Replies (3)

hi,

i want to move several file mentioned in csv to another folder path which is mentioned in code

i have several pdf's mentioned in the attach..... More


Attached Files

.csv   maharera.csv (Size: 11.41 KB / Downloads: 759)
Print this item

  Time Difference in Epoch Microseconds then convert to human readable
Posted by: firesh - Feb-27-2018, 06:39 AM - Forum: General Coding Help - Replies (4)

hi i have 2 epoch microseconds and i would like to know the datetime difference then print out the difference with human readable.

Epoch Microsecond..... More

Print this item

  how to install python on linux
Posted by: manchun - Feb-27-2018, 06:18 AM - Forum: News and Discussions - Replies (5)

I want to learn python. Can you help me.

Print this item

  Linear Fibonacci sequence
Posted by: Tawnwen - Feb-27-2018, 06:05 AM - Forum: Homework - Replies (1)

Currently learning Python recursion and stuck on how to write linear-time fib function:

[python]
def goodfib(k):
if k == 0: return 0, 0, 1
..... More

Print this item

  a script i am thinking about creating
Posted by: Skaperen - Feb-27-2018, 06:03 AM - Forum: News and Discussions - Replies (2)

i am thinking about writing a script that runs a specified command with arguments passed to it while capturing stdout and stderr separately to prefix ..... More

Print this item

  Step -1
Posted by: Upandon - Feb-27-2018, 04:58 AM - Forum: General Coding Help - Replies (2)

I just need help in understanding what to do after I download Python to my computer. My command script won't find Python and help files aren't working..... More

Print this item

  Python installation difficult
Posted by: rajamugavai - Feb-27-2018, 04:55 AM - Forum: General Coding Help - Replies (2)

Hi

I have installed Python 3.6 in Windows 7 32 bit.. After the installation, Python unable to open in my system. The following error is displayed o..... More

Print this item

  Can anyone Please help on fixing this python code to connect and save things on sqlit
Posted by: Roscoes - Feb-27-2018, 04:51 AM - Forum: General Coding Help - Replies (2)

[python]import os, sys
import sqlite3
from enum import Enum

class Listkeeper(object):
def __init__(self):
self.file = str()
..... More

Print this item

  converting array of things to byte stream to send
Posted by: bigjoey - Feb-27-2018, 04:14 AM - Forum: General Coding Help - Replies (2)

Hi all. This may be a stupid question, but I find what I am trying to do quite confusing. Im receiving a GPS sentence from another server, and I woul..... More

Print this item

  joined ranges
Posted by: Skaperen - Feb-27-2018, 02:23 AM - Forum: General Coding Help - Replies (4)

given 4 ints which define 2 ranges, i can do

foo = [x for x in range(a,b)]+[x for x in range(c,d)]
but it would be nice if there was a ..... More

Print this item

  Finding the average of numbers in a txt file
Posted by: piday - Feb-27-2018, 01:24 AM - Forum: Homework - Replies (1)

This is the assignment: Write a program that read numbers from a text file named "data.txt" and store the average in a second file named "average.txt"..... More

Print this item

  BS4 Not Able To Find Text In CSS Comments
Posted by: digitalmatic7 - Feb-26-2018, 11:35 PM - Forum: Web Scraping & Web Development - Replies (4)

Random example:

[python]
import requests
from bs4 import BeautifulSoup
import re

scrape = requests.get('http://www.seacoastonline.com/news/2..... More

Print this item

  extract data inside a table from a .doc file
Posted by: aster - Feb-26-2018, 11:28 PM - Forum: General Coding Help - Replies (12)

i have more then 4000 hatefull Microsoft Office Word .doc files from which i should extract some data (both numbers and words but really in most cases..... More

Print this item

  Dynamic Formatting of String
Posted by: mikera1979 - Feb-26-2018, 11:20 PM - Forum: General Coding Help - Replies (2)

I'm having some issues figuring out a way to transform a random number, that ranges from 2-5 characters in length. I'm trying to format the first 3 ch..... More

Print this item

  Selenium Data Scrubbing - Need Some Help
Posted by: HalPlz - Feb-26-2018, 10:14 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello all,

I'm attempting to populate a spreadsheet with 2 data points from this website: https://activeshare.info/

But I can't seem to get past..... More

Print this item

  Reduce the code for if statements
Posted by: chris0147 - Feb-26-2018, 10:03 PM - Forum: General Coding Help - Replies (8)

Hi,

I need your help with my current code. I am working on the if statements to check on the CurrentRowX value and the CurrentWidth value to see if..... More

Print this item

  serial write can't do it myself
Posted by: ricardons - Feb-26-2018, 05:46 PM - Forum: General Coding Help - Replies (4)

hello I'm having a lot of difficult to connect to serial port

I've a device that communicates by serial (Nextion HMI) with my raspberry pi via UART

..... More

Print this item

  Binary for Decimal Numbers
Posted by: emerger - Feb-26-2018, 05:08 PM - Forum: General Coding Help - Replies (1)

Hello. Am taking a class and we had to convert decimal numbers to binary. While trying to understand the code to do this, I found out that all numbe..... More

Print this item

  How to get CPU and RAM usage using python in windows?
Posted by: psvramaraju - Feb-26-2018, 02:12 PM - Forum: General Coding Help - Replies (1)

I am working to get CPU and RAM usage for windows through python from many days but unable to find proper solution. Can someone help me in getting thr..... More

Print this item

  Panda Dataframe
Posted by: garikhgh0 - Feb-26-2018, 10:58 AM - Forum: GUI - Replies (2)

Hi.

Is there any possibility to add Dataframe(table) of Panda on a GUI.

Print this item

  return dict in tuple
Posted by: bb8 - Feb-26-2018, 07:37 AM - Forum: General Coding Help - Replies (6)

i return something like this from function:

def f():
    d = dict()
    # fill dict
    d["s"]
    return (1, d)
then:
[pyth..... More

Print this item

  Loop issue
Posted by: onenessboy - Feb-26-2018, 06:45 AM - Forum: General Coding Help - Replies (11)

Dear experts,

need some help

I have written following code for retrieving server node status.. However i am facing issue with looping here...
..... More

Print this item

  testing if a character in a string is an intended one
Posted by: Skaperen - Feb-26-2018, 03:21 AM - Forum: General Coding Help - Replies (2)

previously i had asked which was better: word[0] in ('w','x','y','z') vs word[0] in 'wxyz'. but now i have a new va..... More

Print this item

  Working with lists homework
Posted by: Otaku2 - Feb-26-2018, 02:00 AM - Forum: Homework - Replies (7)

Define 2 lists. The first one must contain the integer values 1, 2 and 3 and the second one the string values a, b and c. Iterate through both lists t..... More

Print this item

  Why won't this user created function work?
Posted by: Evyeniarocks - Feb-26-2018, 01:28 AM - Forum: General Coding Help - Replies (5)

This is the code I wrote, but when it prints the message at the end, it prints the original input as if it had not gone through the string function. W..... More

Print this item

  3Blue1Brown high quality Math/Physics contend
Posted by: snippsat - Feb-25-2018, 07:18 PM - Forum: News and Discussions - Replies (4)

His videos is some of the best i have seen explaining Math/Physics related contend.
Take a look at U[url=https://python-forum.io/thread-8557.html]..... More

Print this item

  Exercise 20, Learn Python 3 the Hard Way
Posted by: Dixon - Feb-25-2018, 06:06 PM - Forum: General Coding Help - Replies (6)

This code doesn't work as Zed Shaw says it should in his book. After the rewind the first call to print does it's job, sort of, (random characters b..... More

Print this item

  Working with lists homework (2)
Posted by: codellino - Feb-25-2018, 05:27 PM - Forum: Homework - Replies (7)

Define 2 lists. The first one must contain the integer values 1, 2 and 3 and the second one the string values a, b and c. Iterate through both lists t..... More

Print this item

  Homework (counting iteration issue)
Posted by: Cardinal07 - Feb-25-2018, 05:10 PM - Forum: Homework - Replies (10)

Below is my Homework assignment. I cannot for the life of me figure out why my while loop
doesn't recognize my condition != 'no'. The loop will not ..... More

Print this item

  See content of modules - not just function names
Posted by: glidecode - Feb-25-2018, 04:50 PM - Forum: General Coding Help - Replies (5)

Hi all

I'd like to see the actual content of various modules. With

dir(modulename)
I can check which functions are included in the mo..... More

Print this item

  Python & Windows XP
Posted by: snb - Feb-25-2018, 04:14 PM - Forum: News and Discussions - Replies (12)

Hi all,

Can someone tell me why Pthon 3.5+ can't be run in XP?

Is it the installation procedure or is it the contents of specific libraries ?
..... More

Print this item

  Not working
Posted by: tommytime555 - Feb-25-2018, 04:02 PM - Forum: General Coding Help - Replies (1)

Hi... I am pulling my hair out trying to figure out why this isn't working. The functions are working fine, but then after running through the functi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 5 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579096
  Tutorial Requ... 511238
  Web Scraping ... 442065
  Newbie with P... 386127
  New Users Int... 378410
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday
ViktoriaMetodieva Yesterday

User Panel Messages

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