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,279
» Latest member: Santoro
» Forum threads: 38,791
» Forum posts: 175,868

Full Statistics

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

Latest Threads
How Can Solo Indie Game D...
Forum: Game Development
Last Post: OtiliaBecker
1 hour ago
» Replies: 0
» Views: 10
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 86
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 29
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 5,979
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,282
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 294
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 141
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 207
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,110
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 253

 
  Unexpected syntax error
Posted by: djwilson0495 - Jul-18-2020, 02:00 PM - Forum: General Coding Help - Replies (5)

Error:
for row in file: ^ SyntaxError: invalid syntax
I keep getting this error on my code I've used this line of code on ..... More

Print this item

  listdir on IP Adress
Posted by: OEMS1 - Jul-18-2020, 01:29 PM - Forum: General Coding Help - Replies (3)

Hallo Guys,

I need to get content of a windows "networkshare".
It is and will not be added as networkdrive with a letter.

In Windows Explorer ..... More

Print this item

  Complex word search multiple files
Posted by: Kristenl2784 - Jul-18-2020, 01:15 PM - Forum: General Coding Help - No Replies

Hello,

This is probably going to be the hardest thing I've had to explain haha. This is what I need to be able to do:



Start with word inside..... More

Print this item

  an algorithm for this?
Posted by: rudihammad - Jul-18-2020, 10:42 AM - Forum: General Coding Help - Replies (5)

Hello,
I have this list

myList = [0, 1, 2, 3, 4, 3, 4, 1, 2]
And I was wondering how can I convert it in this
[python]myList = [..... More

Print this item

  Dictionary In Python 3 | Learn With Examples
Posted by: CodeItBro - Jul-18-2020, 07:19 AM - Forum: Tutorial Requests and Submissions - Replies (1)

Hi Guys,

Recently I wrote a tutorial on Python 3 dictionaries. Here you will learn all about[url=https://python-forum.io/thread-28416.html]..... More

Print this item

  [PyCharm] Working with virtual environment
Posted by: AndrzejB - Jul-18-2020, 06:49 AM - Forum: General Coding Help - Replies (1)

I want test spaCy: https://spacy.io/
I do:
pip install spacy
python -m spacy download en_core_web_sm
but in PyChar..... More

Print this item

  And and Or Filters on Same Line
Posted by: RookToday - Jul-18-2020, 06:13 AM - Forum: Data Science - Replies (2)

Hello, I am trying to filter two columns in a dataset. One filter is a selection type, the other filter will be to include key words in a description...... More

Print this item

  Loop not working
Posted by: Nonameface - Jul-18-2020, 06:01 AM - Forum: General Coding Help - Replies (8)

[python]while 1:

import webbrowser


chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'

webbrowser.ge..... More

Print this item

  Python program cannot close
Posted by: kwekey - Jul-18-2020, 04:41 AM - Forum: General Coding Help - Replies (2)

Hi, I need some help on this peculiar problem.

I have 2 ubuntu machines running the same python program using 2.7 IDLE.

On machine A, when I clo..... More

Print this item

  Pd read excel()_ errors
Posted by: fat_fingers_squared - Jul-17-2020, 10:38 PM - Forum: General Coding Help - Replies (2)

Hi,

I am trying to run a simple pd.read_excel() function to read an excel file,"weather_data" I saved on my Mac in a python folder using the follow..... More

Print this item

  List Won't Write in Text File
Posted by: IILawrenceII - Jul-17-2020, 08:40 PM - Forum: General Coding Help - Replies (4)

[python]
import time
global list

list = [] #####This is not the final list, but a list where you add everything to be sorted


def add_to_list..... More

Print this item

  I've made browser stickman mmo rpg game in space
Posted by: badderThanThou - Jul-17-2020, 08:36 PM - Forum: Bar - No Replies

Have you ever played a stickman MMORPG? Or a game where you can walk on planets from all, 360 degrees? Most games would just make you fall, but not Wa..... More

Print this item

  Error binding parameter 0 - probably unsupported type.
Posted by: illmattic - Jul-17-2020, 08:23 PM - Forum: Data Science - Replies (7)

Hoping I can get some help on this error:

c.execute("INSERT INTO USMoneySupply (MonetaryBase, M1, M2) VALUES (?, ?, ?)", sqlite3.InterfaceError: ..... More

Print this item

  happy to purchase python tutoring services $$$
Posted by: alexlv - Jul-17-2020, 07:28 PM - Forum: Jobs - Replies (2)

Hi,

I would like to purchase few hours of tutoring services with Python :


Subject of services :

data import from C4C Hybris via python
da..... More

Print this item

  Help with PySimpleGUI INSERT INTO sqlite3 database
Posted by: jrbond - Jul-17-2020, 06:48 PM - Forum: GUI - Replies (5)

Brand new to the forum. I only started using Python this week. I'm trying to make a GUI where our operators can scan a barcode into the GUI (and a few..... More

Print this item

  Convert str to int
Posted by: florian - Jul-17-2020, 06:16 PM - Forum: General Coding Help - Replies (6)

Hello,

I'm kind of feeling Python is making fun of me. I have strings with dates in the format "20200716", stored as the values in a dictionary.
W..... More

Print this item

  Pass integers to datetime.date function
Posted by: florian - Jul-17-2020, 05:43 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm relatively new to the Python world. I'm trying to write a script that checks if a post has been published within the last seven days.
F..... More

Print this item

  Help with for loop and return
Posted by: pythonnewbie138 - Jul-17-2020, 05:40 PM - Forum: General Coding Help - Replies (10)

Hi all,

I've been learning python for a few weeks now and am working on my first, very simple program. To preface this... I've taken inspiration fr..... More

Print this item

  Need Help Getting Request Response From Main URL
Posted by: samlee916 - Jul-17-2020, 04:15 PM - Forum: Web Scraping & Web Development - Replies (3)

[python]
import requests
import argparse
import os
from urllib.request import urlparse, urljoin
from bs4 import BeautifulSoup

internal_links =..... More

Print this item

  Crop Image to Bounding Box Coordinates
Posted by: sallyjc81 - Jul-17-2020, 03:29 PM - Forum: General Coding Help - Replies (2)

Hi!

Still very much a beginner to the world of Python and would be grateful for any help to solve an issue!

I have run a YOLO Object Detector a..... More

Print this item

  periodically plotting
Posted by: grknkilicaslan - Jul-17-2020, 02:56 PM - Forum: General Coding Help - Replies (2)

Hi all,

I want to arrange the limits of axis periodically while plotting. I mean,
I want to set limits as[-pi,pi] but when the curve comes to 3pi/..... More

Print this item

  List of Objects print <__main. Problem
Posted by: Kol789 - Jul-17-2020, 01:51 PM - Forum: Homework - Replies (10)

Hello,

i am starting to learn python. For a better understanding i want to implement a genetic Algorithm. But acutally i am having troubles with my..... More

Print this item

  sports Stats > table output loop problems
Posted by: paulfearn100 - Jul-17-2020, 12:03 PM - Forum: General Coding Help - Replies (3)

would like the code to loop over all profile links and show the table text but will only parse one page and not loop over all profiles, please see bel..... More

Print this item

  TypeError: a bytes-like object is required, not 'str'
Posted by: ozzy69 - Jul-17-2020, 11:48 AM - Forum: General Coding Help - Replies (1)

Hello everyone, i tried to run this code, but appeared this error to me:

[error]TypeError: a bytes-like object is required, not 'str'

Traceback ..... More

Print this item

  counting down in while with refresh
Posted by: andrzej357 - Jul-17-2020, 09:58 AM - Forum: General Coding Help - Replies (1)

Hello,
I want to make a countdown. I have 2 problems:

1)I want every second refresh, I mean after 10 i want see 9, but without 10 etc.
2)Word "St..... More

Print this item

  Datasets
Posted by: lErn1324 - Jul-17-2020, 08:37 AM - Forum: Data Science - Replies (1)

I have some datasets and I would like to compare them and check if, in one dataset has the components of the other, and I want to append that to anoth..... More

Print this item

  Tkinter - unicode
Posted by: DPaul - Jul-17-2020, 07:42 AM - Forum: GUI - Replies (4)

Hi,

I'm writing a program that needs a large Tkinter label, with multiline symbols in it.
Most fonts are 8 x 16 glyphs = rectangular. Visually tha..... More

Print this item

  Profit on Pricing Solver
Posted by: Gamo - Jul-17-2020, 07:30 AM - Forum: Code sharing - No Replies

Finally created this program for the "Pricing Calculations" solver.
This Profit for Pricing solver ask for any two knowns values and program
will solv..... More

Print this item

  image manipulation on a web app
Posted by: jdos - Jul-17-2020, 07:10 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello guys, I want to create an app that has a background (for example a t-shirt), and then to be able to add a logo and some text maybe of choose the..... More

Print this item

  I’m Flat out struggling to understand list indexes
Posted by: gr3yali3n - Jul-17-2020, 06:11 AM - Forum: General Coding Help - Replies (7)

Let’s say

x = [0, 1, [2]] 

x[2][0] = 3

print(x) 
I found this in a book I was scanning through, ok so I’m still trying..... More

Print this item

  Array issues
Posted by: Bmart6969 - Jul-17-2020, 01:46 AM - Forum: Data Science - Replies (1)

Getting a too many indices for array error while trying to make a function repeat. Is there a way to remove Array data or overwrite it maybe?[python]d..... More

Print this item

  could someone explain keywords, marks, and function
Posted by: DrKatherineThuyMiller - Jul-16-2020, 11:39 PM - Forum: General Coding Help - Replies (14)

Dear everyone,

I just started to study Python. I still need to grasp some basic concepts. If someone helps with these, I appreciate:

1- Functio..... More

Print this item

  dictionary merge
Posted by: Skaperen - Jul-16-2020, 11:38 PM - Forum: News and Discussions - Replies (1)

i'd like to see the | operator work for dictionary the same way it works for set.

Print this item

  Started coding yesterday. Please review "Basic Calculator" I made.
Posted by: blueconsole - Jul-16-2020, 11:33 PM - Forum: Code Review - Replies (5)

I started learning to code yesterday and figured I'd use python because of it's relative ease of use. Here is my version of the "Basic Calculator". I ..... More

Print this item

  Partial key lookup in dictionary
Posted by: GaryNR - Jul-16-2020, 06:46 PM - Forum: General Coding Help - Replies (1)

Hi,

Anyone ever needed to do a partial key lookup in a dictionary?
By this for example I mean:

[python]
starting_key = myDict.getLike("Que*")..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Can Solo Indie Game D... 1 hour ago OtiliaBecker OtiliaBecker Game Developm...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  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... 579183
  Tutorial Requ... 511868
  Web Scraping ... 442137
  Newbie with P... 386215
  New Users Int... 379090
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
Santoro Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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