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,964
» Latest member: Edzed4431
» Forum threads: 38,729
» Forum posts: 175,541

Full Statistics

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

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
3 hours ago
» Replies: 4
» Views: 1,973
My First App
Forum: Code Review
Last Post: carlbidwell
11 hours ago
» Replies: 8
» Views: 8,552
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 449
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 905
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 937
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,206
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,821
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,858
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 445
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 735

 
  Tuple out of range
Posted by: Scottx125 - Nov-09-2018, 05:47 PM - Forum: General Coding Help - Replies (2)

Hey, so I've looked around to try and identify why this apparent return value is causing a tuple out of range error, I've yet to come up with a soluti..... More

Print this item

  Threading a Tkinter GUI
Posted by: Victor95 - Nov-09-2018, 04:07 PM - Forum: GUI - Replies (7)

Hi all! I'm working on a GUI to control pulses of alternating current. I've seen many posts that talk about Tkinter being bad in the thread and I've b..... More

Print this item

  If + Count
Posted by: Itay - Nov-09-2018, 03:18 PM - Forum: Homework - Replies (5)

Hello , I'm a python beginner and I need help with For + Count.

I need to create a program that inputs a text , and then it count how many times t..... More

Print this item

  Bot to get info from one page and save to db
Posted by: sena - Nov-09-2018, 02:43 PM - Forum: General Coding Help - No Replies

Good afternoon, sir. I'm new to the forum and new to python, I'd like to ask a question

I want to make sweeps via whatsapp, to participate the pers..... More

Print this item

  installing pip
Posted by: brecht83 - Nov-09-2018, 02:18 PM - Forum: General Coding Help - Replies (1)

I have a computer with python 3.7 and pip working.
Today I installed python 2.7 and it runs.
Now I'm trying to install pip for python 2.7 and I Alwa..... More

Print this item

  Making turtle draw a sine wave recursively
Posted by: rootVIII - Nov-09-2018, 01:59 PM - Forum: Code sharing - Replies (2)

Definitely worth running once Rolleyes

[python]
#! /usr/bin/python3
# Recursively drawing a sine wave
from turtle import *
import time
i..... More

Print this item

  Parsing file and get a specific text
Posted by: dds69 - Nov-09-2018, 10:28 AM - Forum: General Coding Help - Replies (4)

Hi everyone,

I'm new in scripting with python (in general too). I need some help to get a block text in a file.

This is my code :
[python]stop ..... More

Print this item

  Please help me error "AttributeError: 'module' object has no attribute 'ElementTree'"
Posted by: mattroi261192 - Nov-09-2018, 10:08 AM - Forum: General Coding Help - Replies (4)

Hi everyone,
I have trouble when I code python as below.
I have a simple code:
[python]import xlrd
file_location = "D:\Training\Python\Email\aa.xl..... More

Print this item

  Assist with calculation
Posted by: bbm8 - Nov-09-2018, 09:25 AM - Forum: Homework - Replies (2)

I am writing a short program to count the number of times a digit appears in a large number but I can’t think of what math I would use to do this. I h..... More

Print this item

  Print data in rows and columns
Posted by: rlinux57 - Nov-09-2018, 06:22 AM - Forum: General Coding Help - Replies (5)

I have make a script in python having below output.

Output:
[output]('User ID' 'Hits', {'1982641': 10, '105350': 9, '1008313': 7, '2073270': 11, '207..... More

Print this item

  If conditions with time limit
Posted by: unknowntothem - Nov-09-2018, 05:58 AM - Forum: General Coding Help - Replies (4)

Hello All,

I have a question, this seems like it should be very straight forward but I have not been able to get this right yet.

I have a raspb..... More

Print this item

  How to customize x axis in matplotlib.pyplot for a scatter plot?
Posted by: wlsa - Nov-09-2018, 04:25 AM - Forum: Homework - Replies (9)

I have a list of 8698 temperatures which I want to plot on a scatter plot. How do I set the x-axis ticks labeled to a list of years? The list of years..... More

Print this item

  scraping with multiple iframe
Posted by: jansky - Nov-09-2018, 03:21 AM - Forum: Web Scraping & Web Development - Replies (1)

HI All

Im a php developer and switching to python,

Basically I was able to get some scraping from one website with basic login and session using..... More

Print this item

  Extracting Reoccuring Row Titles
Posted by: Hier0phant - Nov-09-2018, 03:00 AM - Forum: General Coding Help - Replies (1)

Good Evening!

I've got basic python education but am working on my capabilities.

I'm attempting to parse out multiple data entries for a single ..... More

Print this item

  WatchedFileHandler.reopenIfNeeded() usage
Posted by: buntu - Nov-09-2018, 02:56 AM - Forum: General Coding Help - Replies (2)

Hi -- I'm trying to figure out the right way to call WatchedFileHandler.reopenIfNeeded() to help reopen a new file if the file was rotated by logrotat..... More

Print this item

  Program ending unexpectedly without output
Posted by: test - Nov-09-2018, 02:35 AM - Forum: GUI - Replies (2)

Hello!
I just started learning to use kivy. I copied an example from the docs into nano, but it doesn't show any output and terminates on its own.
..... More

Print this item

  Flatiron school
Posted by: TrueStudentOfPython - Nov-09-2018, 02:24 AM - Forum: News and Discussions - No Replies

Hi all,

I was just wondering if anyone has heard about Flatiron school , which is a coding boot camp.

curious if anyone had any thoughts or expe..... More

Print this item

  Adding adjacent parts of a list
Posted by: TrueStudentOfPython - Nov-09-2018, 02:16 AM - Forum: General Coding Help - Replies (1)

Hey all!

So I am trying to get a program that adds adjacent list values together and then finds the greatest amongst them...
--list_one = [ 3, 6, ..... More

Print this item

  CWD (Current working directory)
Posted by: pcsailor - Nov-09-2018, 01:33 AM - Forum: General Coding Help - Replies (5)

Hi,

At the moment a project I am working on requires me to manually go into the first script and change the CWD to whatever the directory is of the..... More

Print this item

  a85encode vs b85encode (in module base64)
Posted by: Skaperen - Nov-08-2018, 10:01 PM - Forum: News and Discussions - No Replies

the base64 module has 2 ways to encoding in base 85 where the compactness is 4 bytes to 5 characters. which do/would you use, a85encode or b85encode,..... More

Print this item

  Getting wanted data from the 'top' command (Linux)
Posted by: rootVIII - Nov-08-2018, 09:56 PM - Forum: Code sharing - Replies (7)

This script gets system data from Linux top command: load averages, number of users, and top processes' PID, USER, CPU%, and Command Path. url is also..... More

Print this item

  Help change from a while loop to a for loop
Posted by: captwiggum - Nov-08-2018, 09:23 PM - Forum: Homework - Replies (10)

Hi,
I'm a total beginner and for class I have to change this while loop to a for loop and I just can't figure it out, help would be much appreciated...... More

Print this item

  Python/Labjack T7
Posted by: ekq378 - Nov-08-2018, 07:57 PM - Forum: General Coding Help - Replies (1)

Looking for a simple way to read and differentiate analog inputs and plotting them on a amplitude vs time live data streaming. Having a hard time find..... More

Print this item

  PyPDF2 Hanging When Trying to Open Corrupted PDF
Posted by: bmccollum - Nov-08-2018, 07:00 PM - Forum: General Coding Help - Replies (6)

I'm using the PyPDF2 library to cycle through several thousand PDFs each day, search for specific text that's present in the top-most part of the PDF ..... More

Print this item

  what am I doing wrong?
Posted by: imamy - Nov-08-2018, 05:40 PM - Forum: Homework - Replies (10)

I have this assignment for my second class where I have to write a code that would rotate a matrix by 90* clockwise. I came up with the idea to iterat..... More

Print this item

  [split]Instal MySQL client
Posted by: mbanol - Nov-08-2018, 05:21 PM - Forum: General Coding Help - Replies (1)

:17] <mbanol> Hie there
[19:18] <mbanol> i am trying to install mysqlclient using pip install mysqlclient but i am getting the following error
[19:1..... More

Print this item

  problem web.py session
Posted by: Youssef - Nov-08-2018, 02:02 PM - Forum: Web Scraping & Web Development - Replies (1)

Im working with web.py I set value into session variable but tried to print it into screen the value is null
Im using ubntu as os and firefox as my d..... More

Print this item

  ImportError: No module named jaraco.itertools in Python
Posted by: manhnt - Nov-08-2018, 11:41 AM - Forum: General Coding Help - No Replies

I'm converting a .py file to a .exe file. It is on the 'dist' folder(using py2exe). It complies and runs normally in Python shell. But in an executabl..... More

Print this item

  edit text files/ add lines if missing (regex)
Posted by: wardancer84 - Nov-08-2018, 09:57 AM - Forum: General Coding Help - Replies (3)

i am trying to layout some code to edit aix stanza files. basically i want to add/remove/edit special formated config values from various text files. ..... More

Print this item

  Responsibility in MVP Pattern
Posted by: CanadaGuy - Nov-08-2018, 12:48 AM - Forum: GUI - Replies (10)

I'm new to the concept of enforcing some kind of design pattern in the application (using wxPython) I'm trying to write according to MVP (model-view-p..... More

Print this item

  BeautifulSoup n levels of nested xml elements
Posted by: fatwalletguy - Nov-07-2018, 10:43 PM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to read a xml file and create a dictionary object
this is my xml 4 levels of elements
[output]<?xml version="1.0" encoding="UTF-8" stan..... More

Print this item

  Drop a row if it contains a certain value in pandas
Posted by: deltanov - Nov-07-2018, 09:54 PM - Forum: Data Science - Replies (4)

I have this text file:

LEU,LEID,PPP,YYY,LEO
'1','2','3','4','5'
'2','1','2','3','4'
'2','AA','','',''

I want to delete the rows where for LEI..... More

Print this item

  Rank word frequent in a list
Posted by: standenman - Nov-07-2018, 09:11 PM - Forum: General Coding Help - Replies (1)

I'm a non-coder type, so sorry if I don't have a clue on how to do this. I have Column in an excel spreadsheet with hospital names. I want to basic..... More

Print this item

  Mid-to-senior Remote Django Developer Role / Flexible (Australian-based dev studio)
Posted by: mitchcreatio - Nov-07-2018, 07:48 PM - Forum: Jobs - Replies (1)

Hi Everyone :wave:,
We are an Australian-based Django shop and we're looking for a *remote* mid-to-senior Django developer to join our team.
The jo..... More

Print this item

  async question on raspberry pi
Posted by: baukeplugge - Nov-07-2018, 07:16 PM - Forum: General Coding Help - Replies (2)

Hi All,

I want to create a python script that does a couple of things:

i want to read the USB port for new USB sticks. if there is I want to rea..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 3 hours ago arbiel Gribouillis General Codin...
  My First App 11 hours ago BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Today, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577188
  Tutorial Requ... 500112
  Web Scraping ... 440890
  Newbie with P... 384902
  New Users Int... 369135
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Today
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday

User Panel Messages

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