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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,570

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 5
» Views: 150
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,032
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 445
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,078
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,141
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 813
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,098
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,544
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,133
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,591

 
  How to run a program with python
Posted by: Rafael - Jun-12-2019, 08:34 PM - Forum: General Coding Help - Replies (4)

Hello Members,

I have a need to write a python program which calls a specific program that require some parameters while and after calling. The pro..... More

Print this item

  python shell
Posted by: teelado - Jun-12-2019, 08:27 PM - Forum: General Coding Help - Replies (1)

if i want to use the python shell to access objects in my local db.sqlite3, how can i do a simple query or show all the objects in the db from the pyt..... More

Print this item

  list comprehension invalid syntax
Posted by: mcgrim - Jun-12-2019, 08:04 PM - Forum: Data Science - Replies (1)

the list comprehension in this code (see last line)

[python]
import datetime
from datetime import timezone
from datetime import timedelta
from..... More

Print this item

  form.populate_obj problem "object has no attribute translate"
Posted by: pascale - Jun-12-2019, 07:30 PM - Forum: Web Scraping & Web Development - No Replies

Hi I am creating a flask app using flask-wtf, I am using sqlachemy and mysql data base. I have an add function (which adds data to the data base) and ..... More

Print this item

  help with sons homework
Posted by: shadow - Jun-12-2019, 07:21 PM - Forum: General Coding Help - Replies (1)

He has the following code but he is getting the following error nboundLocalError: local variable 'grade' referenced before assignment, can anyone help..... More

Print this item

Exclamation A function that takes a word and a string of forbidden letters
Posted by: pooyan89 - Jun-12-2019, 07:04 PM - Forum: Homework - Replies (5)

Hi I have a question:
[b]Write a function named avoids that takes a word and a string of forbidden letters, and that returns True if the word doesn’t ..... More

Print this item

  Please help, my Label does not show up on my gui ?
Posted by: robertinoc - Jun-12-2019, 04:52 PM - Forum: GUI - Replies (2)

Hi!
I am a total beginner in Tkinter!
I wrote this simple code:
[python]
import tkinter as tk
from tkinter import ttk
win = tk.Tk() # Create..... More

Print this item

  [pandas] Find the first element that is -1
Posted by: dervast - Jun-12-2019, 04:15 PM - Forum: Data Science - Replies (3)

Hi all
I have a dataset where the -1 means the point where I need to stop reading.
For example the dataset looks like that:
[python]
..... More

Print this item

  Letters with Accents Not Inputting
Posted by: Phylus - Jun-12-2019, 04:05 PM - Forum: General Coding Help - No Replies

LETTERS WITH ACCENTS NOT INPUTTING

How do I let the user input at the (Mac) Terminal words with letters with accents?

(As in the related thread ..... More

Print this item

  a contact book - a class made to store data
Posted by: apollo - Jun-12-2019, 03:40 PM - Forum: General Coding Help - Replies (2)

hello dear Community, 


a class for storing contact data - Here is the code of a simple custom class which stores information about a person:

[..... More

Print this item

  How to plot vertically stacked plot with same x-axis and
Posted by: SriMekala - Jun-12-2019, 03:31 PM - Forum: General Coding Help - No Replies

Hi,

I have below data:

Inputdata.csv:

[python]Name Date y1 y2 y3
VAB 20190601 1 0 0
VAB 20190603 1 1 0
VLKA 20190604 ..... More

Print this item

  Protein interaction chains
Posted by: Amniote - Jun-12-2019, 02:34 PM - Forum: Data Science - Replies (2)

Hello,

I need to create an algorithm that can generate all possible protein interaction chains of size x (x proteins in the chain).

I have a tes..... More

Print this item

  logging messages ahead of print messages
Posted by: vindo - Jun-12-2019, 02:23 PM - Forum: General Coding Help - Replies (6)

Hi All,

I was trying to play with logging and understand.
One thing i noticed got my attention and would like to understand the reason for that. Can ..... More

Print this item

  'Exception Has occured: UnBoundLocalError'
Posted by: caston - Jun-12-2019, 02:15 PM - Forum: General Coding Help - Replies (1)

Im fairly new to coding, but im having an issue with this program. The main function of the program is the read data from an external .csv file which ..... More

Print this item

  Stop Watch star/stop problem
Posted by: macellan85 - Jun-12-2019, 01:06 PM - Forum: GUI - Replies (1)

Hello

I' m having problem with my stop watch code on a GUI window. Well the problem one is I have to press start button two times and If I continue..... More

Print this item

  Subtract value from random dictionary key:value
Posted by: Tolein - Jun-12-2019, 01:01 PM - Forum: General Coding Help - Replies (1)

Hello, I am having trouble getting my code to work. I am attempting to lookup a random key:value and then later in the code I would like to subtract a..... More

Print this item

  Score each word from list variable
Posted by: pythonias2019 - Jun-12-2019, 11:50 AM - Forum: General Coding Help - Replies (6)

Hi, I have a list comprised of a tweet and score.
I'd like to split the tweet into words and assign the total score of the tweet to each word.
Any..... More

Print this item

  How generate a exe file from py
Posted by: thonpy2019 - Jun-12-2019, 09:53 AM - Forum: General Coding Help - Replies (1)

Hello all,
I need help from you about creating a exe file by using pyinstaller because I am blocked on two weeks now.
The thing is : I developed a ..... More

Print this item

  Web development using Flask and Python
Posted by: kirito85 - Jun-12-2019, 09:40 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi, I am doing web development using Flask and Python. However when i try to integrate the backend to the Flask, I am stuck at this def index(): retur..... More

Print this item

  webscrapping links and then enter those links to scrape data
Posted by: kirito85 - Jun-12-2019, 08:29 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi, I am having difficulty trying to scrap webscrapping links and then enter those links to scrape data.

The webscrapping links is done but to ente..... More

Print this item

  Matplotlib contour no data coordinates
Posted by: b4rtt - Jun-12-2019, 07:32 AM - Forum: General Coding Help - Replies (1)

I have problem with Matplotlib contour graph. I have graph size (100x100). All "importance" values of CSV which are >0 should be red. Every value <0 s..... More

Print this item

  How to save and load data from files using pickle
Posted by: SheeppOSU - Jun-12-2019, 03:03 AM - Forum: Tutorial Requests and Submissions - Replies (2)

Pickle is a great way to save and load files because it encode the data before storing it. Especially numbers. Before we use pickle we need a way to g..... More

Print this item

  portable way to get current directory
Posted by: Skaperen - Jun-12-2019, 02:18 AM - Forum: General Coding Help - Replies (5)

does Python have a portable way to get the path of the current (working) directory?

Print this item

  a new kind of cut command
Posted by: Skaperen - Jun-12-2019, 12:22 AM - Forum: News and Discussions - No Replies

i have run across the need many times to cut an input file that has a mix of delimiters (or is layered) or i need to columns in a different order, or ..... More

Print this item

  List Overlap
Posted by: Josh_Python890 - Jun-12-2019, 12:00 AM - Forum: Homework - Replies (4)

I'm doing online problems to get me back into python after not touching it for a couple of years.

Problem comes from http://www.practicepython.org/..... More

Print this item

  Find today's RSS entries with feedparser
Posted by: Biks - Jun-11-2019, 11:40 PM - Forum: Web Scraping & Web Development - Replies (5)

I'm trying to create the worlds most basic RSS reader - I just want to know the number (len) of entries that were only created TODAY. I don't care if ..... More

Print this item

  Need help reducing some code around a subprocess
Posted by: anistorian - Jun-11-2019, 09:42 PM - Forum: General Coding Help - Replies (4)

Hi y'all!

I am trying to make a little script to help me practice some basic stuff, one of the things is that I wan't to be able to use my username..... More

Print this item

  How to reference QTreeView QHeaderView setResizeMode
Posted by: Denni - Jun-11-2019, 08:34 PM - Forum: GUI - Replies (1)

The QTreeView documentation states that it contains a QHeaderView object called "header"
https://het.as.utexas.edu/HET/Software/P...eview.html
..... More

Print this item

  password problem
Posted by: Skaperen - Jun-11-2019, 08:14 PM - Forum: Board - Replies (5)

i am trying to move my login here to a new browser. i have to login on the new one to do that. but it is not letting me do that. it says it is an i..... More

Print this item

  Creating Dynamic Objects
Posted by: MacFie - Jun-11-2019, 06:17 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

Rather new to python and have had no luck in researching this, so assuming the answer is no, but here is what I am trying to see if is..... More

Print this item

  pygame.draw.rect function stretches across the screen instead of moving
Posted by: BubblesTheGiraffe - Jun-11-2019, 06:16 PM - Forum: Game Development - Replies (2)

The title basically says it all, I'm currently getting started with pygame and whenever I use the draw rect function and try to move the rectangle it ..... More

Print this item

  How to schedule Jupyter Notebooks with Papermill
Posted by: wendysling - Jun-11-2019, 05:53 PM - Forum: General Coding Help - No Replies

Hello,

Does anyone know a good source with examples of how to schedule Jupyter Notebooks with Papermill using Anaconda?

Thank you,
Wendy

Print this item

  class constructor with dataframe
Posted by: UGuntupalli - Jun-11-2019, 05:32 PM - Forum: General Coding Help - Replies (2)

All,
I have a very simple example of a class definition. Can someone kindly provide an example of how I can instantiate multiple objects at once ..... More

Print this item

  Letters with Accents Not Displaying
Posted by: Phylus - Jun-11-2019, 05:03 PM - Forum: General Coding Help - Replies (5)

My Python 2.7.10 code (in MacOS 10.14.5) replaces letters with accents such as á with strings such as \xc3\xa1. Letters display with accents in both m..... More

Print this item

  Accessing other tables in template
Posted by: iFunKtion - Jun-11-2019, 04:53 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi there,
I'm really stuck. I have a site for tracking projects and while accessing the project model is simple enough, I can't figure out how to ac..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 7 hours ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577451
  Tutorial Requ... 501105
  Web Scraping ... 441079
  Newbie with P... 385153
  New Users Int... 369766
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday
silversimon2 09-30

User Panel Messages

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