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,263
» Latest member: aanthonymaaleyo3938
» Forum threads: 38,787
» Forum posts: 175,849

Full Statistics

Online Users
There are currently 31 online users.
» 1 Member(s) | 26 Guest(s)
Google, AOL, Mojeek, nathanael

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 89
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 58
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 59
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 314
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 45
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 71
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 262
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 141
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 237
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 421

 
  telnet stuck when get Press any key to continue
Posted by: anna - Dec-30-2017, 09:33 AM - Forum: General Coding Help - Replies (2)

telnet stuck when command output get " Press any key to continue, 'e' to exit, 'n' for nopause"


[python]#!/usr/bin/python
import paramiko
im..... More

Print this item

  if else return
Posted by: gujugolf - Dec-30-2017, 05:05 AM - Forum: General Coding Help - Replies (3)

I am new to Python. I am trying to have the following function change the values of certain lines depending on if the lines are populated or not. Pl..... More

Print this item

  AttributeError: 'float' object has no attribute 'decode'
Posted by: anna - Dec-30-2017, 04:43 AM - Forum: General Coding Help - Replies (1)

Hi there,

telenet to multiple device, taking host details (ip, username and password) from excel file. this excel file contains
ip usern..... More

Print this item

  Backwards strings
Posted by: Wolfpack2605 - Dec-30-2017, 12:05 AM - Forum: General Coding Help - Replies (2)

I need help on how to make a string backwards.
eg. hello into olleh

Print this item

  Problem with replace
Posted by: hello_its_me - Dec-29-2017, 10:05 PM - Forum: General Coding Help - Replies (5)

Hi everyone,
I am working on a filter and I want to replace some words with nothing and I found the methode with .replace("word", ""). I have tried i..... More

Print this item

  Function call
Posted by: Antonio_Gallardo - Dec-29-2017, 09:56 PM - Forum: Homework - Replies (3)

I have a very simple question. I need a function that calls two functions. I have been trying with "add (function1 , function2)" but it doesn't..... More

Print this item

  Coverting to Epoll
Posted by: Mradr - Dec-29-2017, 08:52 PM - Forum: Networking - No Replies

Hello I am running into a issue where select.select is hitting file limits with the number of sockets we're running over. To fix this, a move from sel..... More

Print this item

  a simple calculator
Posted by: Solstice - Dec-29-2017, 08:04 PM - Forum: Code sharing - Replies (17)

A simple calculator, for simple calculations.
[python]
print("simple calculator by Solstice")
print("I-----I")
print("I00000I")
print("I-----I")..... More

Print this item

  Web crawler not returning links
Posted by: snakeyes22 - Dec-29-2017, 07:50 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello, I am new to coding and have tried to make a web crawler to try to retrieve the urls off a web page of my choosing. However, when I run the prog..... More

Print this item

  Simple modular Programm
Posted by: Solstice - Dec-29-2017, 07:35 PM - Forum: Code sharing - Replies (4)

A simple programm that can be expanded.

Just follow the examle of the included programms, and make 
this thing into a giant collection!
please po..... More

Print this item

  Writing a floating point aifc file
Posted by: jandyman - Dec-29-2017, 05:13 PM - Forum: Data Science - Replies (1)

I'm an audio developer and would like to read and write 32 bit floating point audio files for test purposes. After hours of farting around, I've manag..... More

Print this item

  Pygame global problem
Posted by: Hyperimus - Dec-29-2017, 02:47 PM - Forum: Homework - Replies (8)

Greetings, I'm new here as I only now started developing in python due to a college class, and for this one as a end semester group work I need to dev..... More

Print this item

  General advice web application - flask - database - cms
Posted by: bashage - Dec-29-2017, 02:18 PM - Forum: Web Scraping & Web Development - Replies (6)

Hello reader,

I've decided to retrain myself as a software engineer, since my educational background
greatly limits my intellectual scope as well ..... More

Print this item

  Lists
Posted by: zowhair - Dec-29-2017, 02:08 PM - Forum: General Coding Help - Replies (2)

Dear friends can you please help me???

vec = [[1,2,3],[4,5,6],[7,8,9,0]]
print([num for elem in vec for num in elem]) **huh** 
w..... More

Print this item

  convert text file data to HTML table in python
Posted by: Tirumal - Dec-29-2017, 11:41 AM - Forum: General Coding Help - Replies (5)

Hi All,


i am using python 2.7.

i want convert  the text data to  HTML  table.

Below is my data ,please can you help me to convert the  belo..... More

Print this item

  Unable to set up PATH
Posted by: Ummusabbar - Dec-29-2017, 10:40 AM - Forum: General Coding Help - Replies (6)

Hello all,
I currently installed Python 3.6 and  set up my PATH as C:\ users\ Amina\ Downloads  i.e the location of the .exe file. But whenever I typ..... More

Print this item

  StopIteration error
Posted by: Rakesh - Dec-29-2017, 09:59 AM - Forum: General Coding Help - Replies (2)

Hi,

When i execute the below code getting "StopIteration" error:

[python]

import csv
import datetime
from pprint import pprint

def print..... More

Print this item

  coding request
Posted by: Marxon - Dec-29-2017, 09:08 AM - Forum: Jobs - Replies (3)

Hi all,

is there some bored python coder out there who would code me a small tool?
It should load fileA and fileB
Replace the 1st byte of fileA w..... More

Print this item

  Multilingual Website
Posted by: sonic911 - Dec-29-2017, 08:44 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello!
I need to create multilingual website using django. I know, I can do it on front-end side.
My question is: Is it possible to translate websit..... More

Print this item

  starting a process every 10 seconds
Posted by: Skaperen - Dec-29-2017, 07:52 AM - Forum: General Coding Help - Replies (7)

i want to start a command every 10 seconds and capture its stdout output as it is produced. each command could be done in as short a time as 9 second..... More

Print this item

  Experimenting with Django
Posted by: Drone4four - Dec-29-2017, 04:03 AM - Forum: Web Scraping & Web Development - Replies (1)

I’m working on an introductory Django course on Udemy called, "The Ultimate Beginner's Guide to Django".

I’ve followed the instructor closely. The ..... More

Print this item

  Need Help with Error #503
Posted by: HiImNew - Dec-29-2017, 12:55 AM - Forum: Web Scraping & Web Development - Replies (5)

This is my completed Python script so far. It basically just parses a news website and organizes the companies' news into a google sheet file. The new..... More

Print this item

  Queue.Queue() would not reduce capacity after get()
Posted by: yuan8421 - Dec-28-2017, 11:16 PM - Forum: General Coding Help - Replies (9)

Hi Community,

I need your help about Queue memory.
1) I choose Queue as my data structure because I have one thread to feed data to the queue and ano..... More

Print this item

  Setting GPIO on Raspberry PI using a function
Posted by: jmjasper1 - Dec-28-2017, 10:08 PM - Forum: General Coding Help - Replies (6)

Hello all,

I am new to Python, hardware guy trying to learn something new and help cross the gap. I decided to make a cable checker that tests 156 ..... More

Print this item

  Use this integer and string encrypter and decrypter module in your projects
Posted by: Unlimiter - Dec-28-2017, 08:43 PM - Forum: Code sharing - Replies (4)

[python]""" This module lets you encrypt and decrypt integers and strings, in four functions. Please name it crypt.py"""
# 1 -- Setting the needs
im..... More

Print this item

  Downloading and using pyperclip
Posted by: PMPythonlearner - Dec-28-2017, 08:38 PM - Forum: General Coding Help - Replies (2)

I'm using Python 3.6.4 and Windows 10. 

I'm having trouble downloading Pyperclip. When trying to download it once I've accidentally clicked to open..... More

Print this item

  mass rename files in folders
Posted by: kerzol81 - Dec-28-2017, 08:28 PM - Forum: General Coding Help - Replies (5)

hi all,

I got this code:

[python]
import os

def renamer(folder):
dirname = folder
files = os.listdir(folder)
os.chdir(folder)..... More

Print this item

  Help with "simple" laser + printscreen command.
Posted by: joohanz - Dec-28-2017, 07:24 PM - Forum: General Coding Help - Replies (3)

Hi!
I am currently working on a Project to able to train firearms at home with lasers.

What i need to be able to finish my projekt is a code that ..... More

Print this item

  List of List into List
Posted by: mp3909 - Dec-28-2017, 05:16 PM - Forum: General Coding Help - Replies (5)

How do you make this list ['Tokyo','London',['Paris','Madrid']] into this list ['Tokyo','London','Paris','Madrid']?

Print this item

  IDLE vs PyCharm as editors?
Posted by: Emerogork - Dec-28-2017, 05:02 PM - Forum: Bar - Replies (7)

I may be biased because I started with IDLE but want to get beyond that.

I am almost a 1 week Pythoner and managed to get through a 5 hour tutori..... More

Print this item

  Need small help on dynamic database connections
Posted by: Tirumal - Dec-28-2017, 03:39 PM - Forum: General Coding Help - Replies (4)

Hi All,

I am new to python coding .

I am using oracle 11g db in my environment .

I want to connect different users in database and fetch th..... More

Print this item

  working code, suggestion required for improvement
Posted by: anna - Dec-28-2017, 11:39 AM - Forum: General Coding Help - Replies (18)

[python]#!/usr/bin/python
from easysnmp import Session
community = 'public'
with open('zyxeldslam.txt') as ipfile:
   for sr_no, line in enumerate..... More

Print this item

  pandas filter not working
Posted by: issac_n - Dec-28-2017, 11:20 AM - Forum: Data Science - Replies (10)

I am trying to filter some info eg Name from a table and print it, but seems like my code is not working.
followed eg in  ..... More

Print this item

  Too many problems with windows 10(64 bits)
Posted by: sylas - Dec-28-2017, 09:55 AM - Forum: Bar - Replies (4)

Hi all. May I have the link for a windows 10, american speaking, forum. Thanks

Print this item

  Selenium related queries
Posted by: Prince_Bhatia - Dec-28-2017, 08:14 AM - Forum: Web Scraping & Web Development - Replies (1)

HI,

i am trying to fill the form using CSV file.

In this i have two queries , first i have to select radio button but it should match text from ..... More


Attached Files

.csv   phase.csv (Size: 81 bytes / Downloads: 699)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 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...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 579002
  Tutorial Requ... 510753
  Web Scraping ... 442013
  Newbie with P... 386050
  New Users Int... 377361
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 8195
snippsat 7388
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aanthonymaaleyo3938 Today
chuhlowe Yesterday
SledgeNE Yesterday
nathanael 11-14
JamesFalkner 11-14

User Panel Messages

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