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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 43 Guest(s)
Bing, Google, AOL, snippsat

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
32 minutes ago
» Replies: 11
» Views: 3,900
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 432
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,428
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 789
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,257
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,134
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,353
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,341
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,463
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,023

 
  Can Python do that
Posted by: hello_its_me - Dec-30-2017, 06:38 PM - Forum: General Coding Help - Replies (6)

Hi everyone,
I am writing a program that should start a timer but while the timer isn't finished there should still be the possibility to input thing..... More

Print this item

  Filedescriptor out of range in select
Posted by: Mradr - Dec-30-2017, 06:07 PM - Forum: General Coding Help - No Replies

Hi, I am working with another open source project from here: https://github.com/mitmproxy/mitmproxy

When I get too many concurrent connections the ..... More

Print this item

  Blog series about Python Properties and Descriptors
Posted by: chnlior - Dec-30-2017, 03:46 PM - Forum: Tutorial Requests and Submissions - Replies (1)

Attached are links to, recent blog series about property, descriptors and their usage.

  1. ..... More

Print this item

  How to get a module's code as string
Posted by: koorkevani - Dec-30-2017, 01:43 PM - Forum: General Coding Help - Replies (1)

Hi everyone,
I'm coding to the cloud, so I'm stuck in a situation in which I want to know what is written inside a module, but I dont have the permis..... More

Print this item

  But why? Because of the for loop?
Posted by: hello_its_me - Dec-30-2017, 12:47 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
I am working on a program that decides if the content gets googled or if it searches for images. I filter the words and remove words tha..... More

Print this item

  Scraping data from a web page where same class name applied multiple times
Posted by: sumandas89 - Dec-30-2017, 10:24 AM - Forum: Web Scraping & Web Development - Replies (1)

I am retrieving data from a webpage using beautifulsoup. There I observed in the code that same class name is applied multiple times from where I want..... More

Print this item

  read file assistance
Posted by: flatman123 - Dec-30-2017, 10:24 AM - Forum: General Coding Help - Replies (2)

Hello

i'm trying to read multiple lines in a file and it doesn't seem to work when I assigned my readline() method to a variable( it keeps printin..... More

Print this item

  How to update pymqi version from conda ?
Posted by: tracy786 - Dec-30-2017, 09:49 AM - Forum: General Coding Help - Replies (2)

Hi,
I installed pymqi using conda, but it's an old version (1.3), how to update it to the newest pymqi1.5 ?
thanks.

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 32 minutes ago CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576330
  Tutorial Requ... 498059
  Web Scraping ... 440243
  Newbie with P... 384094
  New Users Int... 366951
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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