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,280
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,869

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 43 Guest(s)
Bing, Google, AOL, Applebot, Facebook Dev, Axel_Erfurt

Latest Threads
How to put my game loop i...
Forum: Game Development
Last Post: Santoro
1 hour ago
» Replies: 12
» Views: 5,994
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
2 hours ago
» Replies: 4
» Views: 1,443
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 91
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 32
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,283
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 299
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 146
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 211
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,116
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 257

 
  'charmap' codec
Posted by: louis216 - Jun-30-2020, 03:37 AM - Forum: General Coding Help - Replies (4)

file_name = (r'C:\Users\user\Desktop\ehmatthes-pcc_2e-9e7977b\chapter_10\alice.txt')

with open(file_name) as f_obj:
contents = f_obj.read()
..... More

Print this item

  EOF while scanning triple-quoted string literal
Posted by: louis216 - Jun-30-2020, 03:31 AM - Forum: General Coding Help - Replies (1)

file_name = (r'C:\Users\user\Desktop\ehmatthes-pcc_2e-9e7977b\chapter_10\alice.txt')

with open(file_name) as f_obj:
contents = f_obj.read()
..... More

Print this item

  merging data frames
Posted by: sportcardinal - Jun-30-2020, 12:21 AM - Forum: General Coding Help - No Replies

I am relatively new to python.
If I have a dataframe where the first column is an index with DateTime values, and the second column is price, and the..... More

Print this item

  install taichi python package
Posted by: CatherineKan - Jun-29-2020, 08:48 PM - Forum: News and Discussions - Replies (4)

Hello everyone,

I am recently trying to install a python package called taichi, this is where I found it: https://github.com/taichi-dev/taichi.
..... More

Print this item

  Question re: running code in Editor (i.e. Atom) vs Python interpreter
Posted by: rok - Jun-29-2020, 07:50 PM - Forum: General Coding Help - Replies (3)

Python3

New coder

Prompt:

Write a program which prompts the user for a Celsius temperature, convert the temperature to Fahrenheit, and print ..... More

Print this item

  Partial Word Search
Posted by: Kristenl2784 - Jun-29-2020, 07:46 PM - Forum: General Coding Help - Replies (2)

Hello,

I have an excel file that doesn't have header names, and the data doesn't start till row 8. I can't add data to rows 1 -7.

I want to d..... More

Print this item

  how to get around recursive method call
Posted by: Skaperen - Jun-29-2020, 07:35 PM - Forum: General Coding Help - Replies (10)

i did this:

...
def __getattr__(self,*args):
    print(f'attribute {args[0]!r}')
    return getattr(self,*args)
...
and got..... More

Print this item

  Convert combobox user input in to date with tkinter
Posted by: Ame - Jun-29-2020, 07:25 PM - Forum: GUI - Replies (8)

Hi!
I'm having a little bit of difficulty with a couple of things with my script:

[python]
from datetime import datetime
from tkinter.ttk import..... More

Print this item

  Importing data from a text file into an SQLite database with Python
Posted by: macieju1974 - Jun-29-2020, 06:24 PM - Forum: General Coding Help - Replies (7)

Hi,

I have the following text file:
... here's a fragment

[output]2020-05-22##18:00:00###RANGE ###RANGE ###RANGE ##201828##190182##96136##2 ##..... More

Print this item

  how to make a keyword arg w/o a default value?
Posted by: Skaperen - Jun-29-2020, 06:13 PM - Forum: General Coding Help - Replies (10)

how can i define a function to have a keyword argument without a default value? think of the open() function with name= for the file name.

Print this item

  Looking for people for a Python/Data Science study group (beginner level)
Posted by: fredj32 - Jun-29-2020, 05:25 PM - Forum: News and Discussions - Replies (3)

"Hey there!
I hope this is fine to post here.

Three weeks ago I've started a Python study group (with 5 people) and it works super well. We are d..... More

Print this item

  I am trying to send an email with python
Posted by: nick235 - Jun-29-2020, 02:04 PM - Forum: General Coding Help - Replies (9)

so i was following a tutorial on YouTube and this is what i ended up with
short and simple code to send a simple email.
[python]
import smtplib

..... More

Print this item

  updating tkinter chart from within function
Posted by: mikisDW - Jun-29-2020, 01:26 PM - Forum: GUI - Replies (1)

Hello,

I got a tkinter application with a "chart page".
My user has to click a button to point me to the location of an SPSS file, after which a c..... More

Print this item

  issue in email slicer
Posted by: spalisetty06 - Jun-29-2020, 12:52 PM - Forum: General Coding Help - Replies (2)

Hello,
I am beginner and I am practicing on how to create a program for email slicer. I have created until the domain name is extracted and for the s..... More

Print this item

  Question about classes
Posted by: radoo - Jun-29-2020, 10:41 AM - Forum: News and Discussions - Replies (2)

Hi,

I am learning Python as my first programming language and I love it - I follow a course on Coursera and two others on Edx, plus tons of YT chan..... More

Print this item

  Import a file and show file name on qcombobox
Posted by: GMCobraz - Jun-29-2020, 10:01 AM - Forum: GUI - Replies (1)

Dear all,

May I get some hints on how to show the filename in qcombobox after import?

The problem that I faced now is, it is imported successful..... More

Print this item

  Port my python program to Raspberry pi seamlessly
Posted by: Hassibayub - Jun-29-2020, 09:14 AM - Forum: General Coding Help - Replies (1)

I'm working on the IRIS recognition system and it is almost complete now.
Now the pain is to port this program from my laptop (working in conda ..... More

Print this item

  How to extract MSS (maximum size segment) from a pcap file ?
Posted by: salwa17 - Jun-29-2020, 09:06 AM - Forum: General Coding Help - No Replies

I want to extract the MSS (Maximum Size Segment)from a pcap file but I got only 0 while I have Not NULL values in this field:

[python]
def is_tcp_..... More

Print this item

  Need logic on how to scrap 100K URLs
Posted by: goodmind - Jun-29-2020, 08:21 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi,
I request you to explain to me the logic of how to proceed with the requirement.

My requirement is-

I have a website say www.example.com an..... More

Print this item

  Why the result of "extended iterable unpacking" with set() is unpredictable?
Posted by: zohanlin - Jun-29-2020, 08:08 AM - Forum: General Coding Help - Replies (2)

Hello everyone,
I want to test "extended iterable unpacking" with set, but the result is unpredictable.

[python]d1, *d2, d3 = {1, 2, 3, "a", "acc"..... More

Print this item

  Loading multiple JSON files to create a csv
Posted by: 0LI5A3A - Jun-28-2020, 10:33 PM - Forum: Data Science - No Replies

Hello,

I need some advice about what I need to do to be able to load multiple files in JSON format to create one big file in CSV.

This is the ty..... More

Print this item

  Need advice on pushing data to a server API
Posted by: msoultan - Jun-28-2020, 06:33 PM - Forum: General Coding Help - No Replies

Hi,

I'm working on a project where I need to upload data from about 600 clients to a centralized server API, and I'm trying to figure out the best ..... More

Print this item

  Jinja2 HTML <a> tags not rendering properly
Posted by: ChaitanyaPy - Jun-28-2020, 05:40 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello guys.
I am using Flask for the web interface
I am having trouble rendering the template properly.
This is my code:
[python]
@app.route('/an..... More

Print this item

  Rename labels of a bar chart Matplotlib
Posted by: smalatray - Jun-28-2020, 03:54 PM - Forum: Data Science - Replies (1)

Hi,

I have started Python programming classes last month to become a data analyst.
I have been blocked for a while with the following issue: how d..... More

Print this item

  Add % on bar chart Matplotlib
Posted by: smalatray - Jun-28-2020, 03:28 PM - Forum: General Coding Help - No Replies

Hi,

I have started learning Python a month ago and need some help to complete my bar chart with Matplotlib.
I was able to display the bar chart wi..... More

Print this item

  Unresoved import
Posted by: macfanpl - Jun-28-2020, 03:26 PM - Forum: General Coding Help - Replies (1)

How to resolve unresolved import message upon compilation?
Anyone?

Print this item

  Question about Website Performance
Posted by: nolabpuckett - Jun-28-2020, 03:05 PM - Forum: Web Scraping & Web Development - No Replies

what is the best plugin or any development to enhancement this website https://www.certifixlivescan.com c..... More

Print this item

  Single Responsibilty Principle
Posted by: menator01 - Jun-28-2020, 01:55 PM - Forum: News and Discussions - Replies (2)

I got to thinking about what ndc85430 said in one of my ..... More

Print this item

  Unindent does not match any outer intendation level -error
Posted by: MaartenRo - Jun-28-2020, 10:34 AM - Forum: General Coding Help - Replies (3)

Hi, I just started with learning Python. I got stuck on an error message which i can't get rid of: Unindent does not match any outer intendation level..... More

Print this item

  Weird SQLAchemy connection string error
Posted by: pawpaw - Jun-28-2020, 10:11 AM - Forum: General Coding Help - No Replies

Hi all,

I have a piece of python code running flask with the following connection string and using SQLAchemy to connect to a MySQL DB running in Az..... More

Print this item

  Another Rock, Paper, Scissors
Posted by: Yoriz - Jun-28-2020, 09:25 AM - Forum: Code sharing - Replies (4)

[python]
import random


class GameItem:

def __eq__(self, other):
return type(other) == type(self)


class Rock(GameItem):
..... More

Print this item

  A GUI executable works unproperly on another PC
Posted by: Omer - Jun-28-2020, 07:45 AM - Forum: GUI - Replies (1)

Hello everyone,
I wrote a script of digital input MOdbus TCP/IP readings from a PLC using pyModbus module.
When i make executable out of my python G..... More

Print this item

  ModuleNotFoundError: No module named 'pandas_schema'
Posted by: Somee - Jun-28-2020, 03:37 AM - Forum: General Coding Help - Replies (2)

I am new in using Python, when I tried to import pandas_schema, I get the error [b][color=#E74C3C]ModuleNotFoundError: No module named 'pandas_schema'..... More

Print this item

  Uniform Function Call Syntax (UFCS) in Python?
Posted by: thegrapevine - Jun-28-2020, 02:05 AM - Forum: News and Discussions - Replies (1)

Is possible some day imprement Uniform Function Call Syntax (UFCS) in Python like Dlang?
Example: https://tour.dlang.org/tour/en/gems/uniform-function..... More

Print this item

  How to reduce the following code to run in sequence?
Posted by: Giggel - Jun-28-2020, 12:26 AM - Forum: General Coding Help - Replies (4)

Hello all,
I would like to reduce the following python code.
I have one list:

a=[one, two, three, four]
And the following stateme..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to put my game loop i... 1 hour ago temlotresid6 Santoro Game Developm...
  My goal to be hired worki... 2 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
Most views
  The best Prog... 579186
  Tutorial Requ... 511909
  Web Scraping ... 442140
  Newbie with P... 386222
  New Users Int... 379127
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ndx101 Today
Santoro Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday

User Panel Messages

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