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 37 online users.
» 1 Member(s) | 28 Guest(s)
Bing, Google, Mojeek, Facebook Dev, AOL, snippsat

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 94
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 60
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 60
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 316
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: 73
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 266
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 143
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 239
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 423

 
  Close IDLE display window?
Posted by: Emerogork - Jan-02-2018, 07:36 PM - Forum: General Coding Help - Replies (14)

(Forgive improper terminology if any) When I run a .py program in IDLE, it opens a display window to see the output of the program. The problem is wha..... More

Print this item

  Need to replace (remove) Unicode characters in text
Posted by: ineuw - Jan-02-2018, 07:12 PM - Forum: General Coding Help - Replies (1)

Before posting here I resarched the subject of unicode replace, but got nowhere. I am using Python 3 version of Autokey, with which I want to run a sc..... More

Print this item

  Interpretation of a code
Posted by: Alberto - Jan-02-2018, 06:30 PM - Forum: General Coding Help - Replies (1)

Dear Python Users,

Please, help me to interpret the following line of a code (I have two df - futures_data and options_data):
[python]
for option..... More

Print this item

  pyBluez question
Posted by: DPaul - Jan-02-2018, 02:36 PM - Forum: General Coding Help - No Replies

Hi,

I am attempting to connect various devices with my Pi 3 / python 3, via bluetooth.
Installed pyBluez etc... but upon running a simple detectio..... More

Print this item

  Is there another way to do a bunch of methods calls ?
Posted by: Windspar - Jan-02-2018, 02:25 PM - Forum: General Coding Help - Replies (7)

[python]class Test:
def __init__(self):
self.a = 1

def one(self):
self.a += 1
return self

def two(self):
self.a += 2
retu..... More

Print this item

  Python Books bundle on HumbleBundle
Posted by: j.crater - Jan-02-2018, 01:38 PM - Forum: News and Discussions - No Replies

Interesting Python books bundles on HumbleBundle now, available for 2 weeks.

https://www.humblebundle.com/books/pytho...ook-bundle

Print this item

  bs4 : output html content into a txt file
Posted by: smallabc - Jan-02-2018, 01:19 PM - Forum: Web Scraping & Web Development - Replies (2)

Self-learning python. The following code returns UnicodeEncodeError. How should I fix it? Thanks.

[python]import bs4, requests
#------------------..... More

Print this item

  very simple dataframe question
Posted by: really_this_dumb - Jan-02-2018, 11:30 AM - Forum: Data Science - No Replies

Hi all,

New to python but am coding a project to become more familiar.

My dilemma is this: how do I access data within a given slice of a dataframe,..... More

Print this item

  UDP forwarding
Posted by: Skaperen - Jan-02-2018, 06:37 AM - Forum: News and Discussions - No Replies

i have a use case to do UDP forwarding, in a manner much like port forwarding. i am wondering if it is reasonable to do this in Python instead of C. ..... More

Print this item

  recursive file scan
Posted by: Skaperen - Jan-02-2018, 03:17 AM - Forum: Bar - Replies (8)

has anyone ever written a recursive file scanner based on os.scandir() that can recurse a file tree ? what about a scanner that can scan 2 or more fi..... More

Print this item

  Installing/configuring Tkinter on Linux Mint 18?
Posted by: mpd - Jan-02-2018, 12:21 AM - Forum: GUI - Replies (4)

I'm having trouble getting TKinter working.

[python]
Python 3.6.3 (default, Dec 13 2017, 17:56:50)
[GCC 5.4.0 20160609] on linux
Type "help", "..... More

Print this item

  Updating a package published on PyPI
Posted by: marqrdt - Jan-02-2018, 12:08 AM - Forum: General Coding Help - Replies (1)

Hi,
I'd like to contribute to this package on PyPI: https://pypi.python.org/pypi/pcsets
This package implements a common set of pitch operations ..... More

Print this item

  hierarchical MultIndex Python
Posted by: newpyguy - Jan-01-2018, 09:59 PM - Forum: Data Science - No Replies

Hi guys, I am new to python and hopefully could add my code here right. I try to do the following:
I want to read multiple txt files and later conca..... More

Print this item

  SymPy - SolveSet Values
Posted by: Plant_Boy - Jan-01-2018, 09:20 PM - Forum: General Coding Help - No Replies

I'm looking to create a program that finds modes using Sympy. It solves where two equations meet.

What is found is a non-solution and two real sol..... More

Print this item

  Code Review Help
Posted by: dmcquay - Jan-01-2018, 08:26 PM - Forum: Code sharing - Replies (4)

Hi there,

So I have some code that I wrote to assist me in deploying headless pi's. I am a complete Python newb but I wrote this up and have some q..... More

Print this item

  I cant find the location of my csv file
Posted by: Ummusabbar - Jan-01-2018, 02:56 PM - Forum: General Coding Help - Replies (3)

Hello all, I wrote and saved a program using tweepy to stream the twitter api,I used csv file in saving but cant find the location anywhere on my comp..... More

Print this item

  matplotlib plot to time
Posted by: kiyoshi7 - Jan-01-2018, 02:49 PM - Forum: General Coding Help - Replies (1)

hi, I'm plotting a lot of data with python, but I'd like to set the x axis to plot using the time and date that my data was gathered and I haven't bee..... More

Print this item

  TypeError when reading from FIFO
Posted by: ralf - Jan-01-2018, 11:24 AM - Forum: General Coding Help - Replies (1)

Hi,

I have a strange problem when reading from a named pipe.
When I write into the pipe using the echo command of my shell (zsh) everything wo..... More

Print this item

  no vowels function
Posted by: alex_bgtv - Jan-01-2018, 08:16 AM - Forum: General Coding Help - Replies (6)

Hi,
using codecademy for Python learning.
In one of the exercises, were asked to write a function deleting all vowels from a string (upper and lower..... More

Print this item

  telnetlib.Telnet timeout issue.. taking much time
Posted by: anna - Jan-01-2018, 05:26 AM - Forum: Networking - Replies (1)

[python]#!/usr/bin/python
import paramiko
import sys
import os
import xlrd
import unidecode
import telnetlib
import time

def telNetConnecti..... More

Print this item

  Check if string is uppercase or lowercase and eliminate
Posted by: Wolfpack2605 - Jan-01-2018, 03:44 AM - Forum: Homework - Replies (1)

In the war against Skynet, humans are trying to pass messages to each other without the computers realising what's happening.

To do this, they are ..... More

Print this item

  Love the emblem updates
Posted by: metulburr - Dec-31-2017, 11:52 PM - Forum: Board - Replies (9)

Not sure who is doing that, but I love the emblem updates for keeping up with current events.

Print this item

  for loop
Posted by: Wolfpack2605 - Dec-31-2017, 11:37 PM - Forum: General Coding Help - Replies (2)

I am not quite sure why for loops work this way. Why do you write for colour in colours and then print colour. It is confusing me.
[python]colours = ..... More

Print this item

  CSV Integers
Posted by: BadCoder9 - Dec-31-2017, 04:03 PM - Forum: General Coding Help - Replies (3)

I'm having some troubles with CSV files. I am making a quiz and cannot get the score or percentage to save to the CSV file as it doesn't accept intege..... More

Print this item

  How do I tell Pycharm "run this project"
Posted by: sylas - Dec-31-2017, 05:11 AM - Forum: General Coding Help - Replies (2)

Hi all! Of course among the files is the "main" file. Am I obliged to configure this "run", at first ?
But really my question is double. I address my..... More

Print this item

  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

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... 579005
  Tutorial Requ... 510784
  Web Scraping ... 442018
  Newbie with P... 386056
  New Users Int... 377380
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