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,422
» Latest member: Josephbar
» Forum threads: 38,829
» Forum posts: 176,077

Full Statistics

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

Latest Threads
Life advice
Forum: Bar
Last Post: Josephbar
1 hour ago
» Replies: 3
» Views: 3,582
Exponential Number Conver...
Forum: General Coding Help
Last Post: Jessicaadams
8 hours ago
» Replies: 5
» Views: 492
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
Today, 03:21 AM
» Replies: 5
» Views: 152
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 757
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 546
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 836
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,792
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 748
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,050
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,636

 
  Collatz in Python...pls help
Posted by: mepyyeti - Dec-31-2017, 04:43 AM - Forum: General Coding Help - Replies (3)

Ok so I wrote this up quickly and it SHOULD work but doesn't. Can someone possibly run ME through this. I admit I am struggling a bit with the conce..... More

Print this item

  Unable to install pyperclip
Posted by: mepyyeti - Dec-31-2017, 02:38 AM - Forum: GUI - Replies (15)

Currently running ubuntu 17.10 and mainly use python3 (python2 is part of the os) . So both versions of python are in my sys. pip->python2 pip3-> py..... More


Attached Files

Thumbnail(s)
           
Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Life advice 1 hour ago jamesaarr Josephbar Bar
  Exponential Number Conver... 8 hours ago Tuurbo46 Jessicaadams General Codin...
  If I open a file write or... Today, 03:21 Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
Most views
  The best Prog... 580763
  Tutorial Requ... 522423
  Web Scraping ... 442925
  New Users Int... 388238
  Newbie with P... 387148
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Josephbar Today
zaasheytop3010 Today
Avigma Today
alexfox Yesterday
zalexisshulzeo8879 Yesterday

User Panel Messages

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