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,286
» Latest member: xdimbah
» Forum threads: 38,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Google, AOL, Apple, lovedeep

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 119
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 50
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,071
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,300
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 369
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 207
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 267

 
  Download an interesting magazine.....
Posted by: louiz7 - Dec-29-2019, 01:14 AM - Forum: Bar - No Replies

I came across the story of an amusing magazine.

https://www.syntaxbomb.com/index.php/top...l#msg30504


The Christmas magazine..... More

Print this item

  iterating a span of a list
Posted by: Skaperen - Dec-29-2019, 12:04 AM - Forum: General Coding Help - Replies (5)

i'm looking for something that can do like this span() function can:
[python]
a = ['foo','bar','boo','far','baz']
for b in span(a,..... More

Print this item

  Calculator: several options, changing the number
Posted by: gus17 - Dec-28-2019, 08:05 PM - Forum: Homework - Replies (4)

Hi, I'm a beginner to Python and have been struggling with this assignment since yesterday: the user gives 2 numbers and then selects an action (1-6)...... More

Print this item

  It does truncatte where i would ...
Posted by: AyUniz - Dec-28-2019, 07:38 PM - Forum: General Coding Help - Replies (3)

Hello !

I tried to do something that truncatte a list of strings but i doesn't truncate where i would to.

[b]I show you what i would ..... More

Print this item

  Extracting url from a csv
Posted by: sdCarr - Dec-28-2019, 11:54 AM - Forum: Web Scraping & Web Development - No Replies

Hello I would like to extract url from a csv, the idea is to iterate the column containing those links and download the content in a folder as .txt fi..... More

Print this item

  Unable to save filepath to config.ini file using filedialog.askopenfilename
Posted by: JackMack118 - Dec-28-2019, 07:17 AM - Forum: GUI - Replies (10)

Hello everyone, hope you are all well these holidays.

I'm having problems updating and writing to a config.ini file using filedialog.askopenfilenam..... More

Print this item

  get docstring to work with another block of text at the top
Posted by: Skaperen - Dec-28-2019, 04:57 AM - Forum: General Coding Help - Replies (4)

i want to assign the text of the license for my script to a variable. and i want this to be the first block of text one sees when slowly reading the ..... More

Print this item

  How can I make all of the background move as opposed to just one platform?
Posted by: HelpMEE - Dec-28-2019, 02:54 AM - Forum: Game Development - Replies (6)

When I collide into a platform, the player is supposed to stop moving, and it did, but it also glitched slightly into the rectangle, so I found a work..... More

Print this item

  Determining the Percentage of Voter Population
Posted by: Than999 - Dec-28-2019, 12:32 AM - Forum: Homework - Replies (5)

Hi, I am struggling with this assignment. I am asked to determine which county has the highest voter percentage (in decimal form only, i.e. population..... More

Print this item

  Iterate through csv file starting from row 2
Posted by: blaiddyn - Dec-27-2019, 11:34 PM - Forum: General Coding Help - Replies (2)

I'm fairly new to programming but I'm trying to write a program that iterates through the length of a csv file row by row. It will create 3 new csv fi..... More

Print this item

  Webhooks with Python
Posted by: kamaleon - Dec-27-2019, 07:23 PM - Forum: Web Scraping & Web Development - Replies (7)

Hello,

Do we need to use Flask in order to use webhooks with Python?

Or can we avoid using Flask?

Thanks

Print this item

  Multiprocessing OSError 'too many open files'
Posted by: DreamingInsanity - Dec-27-2019, 04:13 PM - Forum: General Coding Help - Replies (3)

I am using multiprocessing to do some link processing.
The code I am using to create the processes is the same as shown in one of my earlier posts:
..... More

Print this item

  odd or even minute
Posted by: Dixon - Dec-27-2019, 04:12 PM - Forum: General Coding Help - Replies (12)

[python]from datetime import datetime
import time
import random
odds = 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,
33,35,37,39,41,43,45,47,49,51,5..... More

Print this item

  Predicting Likes on Instagram Posts
Posted by: donnertrud - Dec-27-2019, 01:36 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I am new to Python 3, but already started to learn and code some very basic programs with python (mostly beginner friendly tasks from text..... More

Print this item

  string literals in a list. Not what I expected.
Posted by: tycarac - Dec-27-2019, 10:52 AM - Forum: General Coding Help - Replies (3)

Hi

I saw unexpected Python behavior (to me) with string literals in a list. If I miss a comma in the list sequence, then the two string literals a..... More

Print this item

  Selenium locating an element.
Posted by: JokerTux - Dec-27-2019, 10:22 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi guys !
So I have an question about Selenium, I want to locate the userName tag . By inspecting the site I found this whole class :
[inline]" <sp..... More

Print this item

  Predict Longitude and Latitude Using Python
Posted by: vibeandvisualize - Dec-27-2019, 09:55 AM - Forum: Data Science - Replies (1)

Hi everyone,

Does anyone know a way to predict/forecast
location in Python?

I am working on a project to predict where the next new employee ..... More

Print this item

  Orange PI Win steering LEDs connect to GPIO
Posted by: djmcg - Dec-27-2019, 08:26 AM - Forum: General Coding Help - No Replies

Hello
I have Orange PI Win and I would like to the 5 LEDs flash one after the other.
I was able to do it with the usual script below with colleagues..... More

Print this item

  Pygame has missing files.
Posted by: DamonTattersfield - Dec-27-2019, 06:32 AM - Forum: Game Development - Replies (1)

I'm watching this youtubers series on pygame, and I can make some stuff. I can make a window, and draw a box with a specific color, but for some reaso..... More

Print this item

  Remove all \n from end of list items
Posted by: JackMack118 - Dec-27-2019, 06:14 AM - Forum: General Coding Help - Replies (4)

Hello all,

I've been Googling and reading here, reading StackOverflow but can't solve what I feel is a very simple problem.

I cannot strip off t..... More

Print this item

  UnboundLocalError: local variable referenced before assignment
Posted by: svr - Dec-27-2019, 05:23 AM - Forum: General Coding Help - Replies (1)

Hi

Need some help here
Original code
[python]
def test1():
test_list = []
test_var = 0
test_string1 = ""

def test2():
..... More

Print this item

  Career step with Python
Posted by: izildop - Dec-26-2019, 09:41 PM - Forum: News and Discussions - No Replies

Hi,

I see that Python grows rapidly and I was interested in getting a job as a Python developer. Which path can I choose? I want to be busy with w..... More

Print this item

  How get table element
Posted by: zinho - Dec-26-2019, 08:38 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi

How can I get table with result?

[python]import requests
from bs4 import BeautifulSoup

page = requests.get('https://chess24.com/en/watch/..... More

Print this item

  Broken interpreter?
Posted by: fcktheworld587 - Dec-26-2019, 07:54 PM - Forum: General Coding Help - Replies (1)

Whenever i try to run a script through Python 3.8 it gives me the following output:
[output]Please enter a string:
(a)There is a total of 0 charact..... More

Print this item

  Novice use of a CSV
Posted by: preliator - Dec-26-2019, 06:00 PM - Forum: General Coding Help - Replies (1)

Good morning all,

Having a good knowledge of databases and SQL, I would like to be able to automate the task of recovering data from a CSV file wit..... More

Print this item

  How to left align the columns
Posted by: SriRajesh - Dec-26-2019, 01:27 PM - Forum: General Coding Help - Replies (6)

Hi,

I have the below code, and I store data in str. Now I want to print this str using left align. I use below code but it is not left-aligned.
..... More

Print this item

  Failed to insert record into MySQL table.Python type tuple cannot be converted
Posted by: farah97 - Dec-26-2019, 12:26 PM - Forum: General Coding Help - Replies (3)

I want to create sentiment analysis using Vader in Python and Mysql. The problem is, I got the error on mysql, especially when to insert the data into..... More

Print this item

  Launch soft on Terminal in silent mode
Posted by: DKRoots - Dec-26-2019, 07:41 AM - Forum: Homework - Replies (4)

Ok, Hi everyone,

I explain to you,

I make a little program for automatize tasks as downlaod, install and start software, a kind og all in one.
..... More

Print this item

  threads and subprocess.call
Posted by: Skaperen - Dec-26-2019, 06:01 AM - Forum: News and Discussions - Replies (4)

can i have 2 threads each call subprocess.call() and have 2 commands running in parallel without being blocked by the big global lock..... More

Print this item

  annoying conflict: stat
Posted by: Skaperen - Dec-26-2019, 04:07 AM - Forum: News and Discussions - Replies (2)

in a module i created to collect lots of different things i do, i ended up with:

import stat
from os import stat
they were not..... More

Print this item

  MYSQL how to assign a table for each user in my username table database?
Posted by: YoshikageKira - Dec-25-2019, 10:58 PM - Forum: General Coding Help - Replies (1)

So I have a mysql database with a table that stores each individual's username and password and ID. How do I assign a new table for each individual us..... More

Print this item

  Connecting 2 APIs
Posted by: kamaleon - Dec-25-2019, 09:54 PM - Forum: General Coding Help - Replies (2)

Hello,

I would like to connect Mailchimp with Sendy (another autoresponder).

Each time I get a new subscriber in Mailchimp I would like to also send..... More

Print this item

  What are the available softwares used to edit and simulate network routing protocols?
Posted by: leemao - Dec-25-2019, 05:28 PM - Forum: General Coding Help - Replies (1)

Hi

I would like to know what are the simulators / emulators or other software that can be helpful in editing and executing the network routing pro..... More

Print this item

  Help with Data Match Theory
Posted by: randor - Dec-25-2019, 05:26 PM - Forum: Data Science - Replies (2)

Hello,
I am newer to Pandas in Python, and I have a bit of a problem in that I cannot seem to wrap my head around how to do this task:

I have 2 DataF..... More

Print this item

  Merry Xmas
Posted by: ichabod801 - Dec-25-2019, 05:00 PM - Forum: Bar - Replies (2)

[python]
"""
xmas_tree.py

Prints a tree.

Functions:
tree: Create a text representation of a tree. (str)
"""


from __future__ import print_function
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 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...
Most views
  The best Prog... 579260
  Tutorial Requ... 512113
  Web Scraping ... 442188
  Newbie with P... 386295
  New Users Int... 379631
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 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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