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,389
» Latest member: finallen321
» Forum threads: 38,821
» Forum posts: 176,019

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: finallen321
1 hour ago
» Replies: 0
» Views: 23
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
2 hours ago
» Replies: 9
» Views: 204
IP address for users
Forum: Networking
Last Post: itx_sumeet
Today, 05:53 AM
» Replies: 4
» Views: 7,058
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Today, 01:10 AM
» Replies: 5
» Views: 9,882
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 132
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 73
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 136
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,290
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 100
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 753

 
  How to solve pancake flip with Python
Posted by: longmen - May-09-2022, 03:23 PM - Forum: Homework - Replies (5)

Hi I wonder if anyone could help me with this issue. So I am doing the pancake flip and I am trying to get the end result as

[python]
1b2w3b4b| g..... More

Print this item

  "SSL: CERTIFICATE_VERIFY_FAILED” error on Python 3.9.6 (Windows 10)
Posted by: rcmv - May-09-2022, 02:29 PM - Forum: General Coding Help - Replies (4)

Hi!
I’m new with Python and I have been following some tutorials and based on one of them I have the following piece of code:

[python]from scrapy ..... More

Print this item

  NLP: exercise with Stanza
Posted by: xinyulon - May-09-2022, 08:44 AM - Forum: General Coding Help - Replies (2)

Here is the question:

Get sentences from Stanza Document objects.


The directory data contains a file na..... More

Print this item

  "Vlookup" in pandas dataframe
Posted by: doug2019 - May-08-2022, 11:42 PM - Forum: General Coding Help - Replies (3)

Hi! How can I find a value in a column and return it from another column, like a vlookup? Below is an example dataframe.

[python]import pandas as ..... More

Print this item

  Error: _vhstack_dispatcher() takes 1 positional argument but 9 were given
Posted by: alexfrol86 - May-08-2022, 10:23 PM - Forum: General Coding Help - Replies (3)

Hi!

I have a system of 10 nonlinear ODE with 10 variables (y[0], y[1], ... y[9]), there are 10 initial conditions for y[i] for x=0 and 4 conditions..... More

Print this item

  Please help NLP: Stanza
Posted by: xinyulon - May-08-2022, 09:50 PM - Forum: Homework - No Replies

Here is the question:

The directory data contains 10 articles from the Estonian Wikipedia, whose filenames follow the pattern et_wik..... More

Print this item

  Upgrading from 2 to 3 and having file write problems
Posted by: KenHorse - May-08-2022, 08:58 PM - Forum: General Coding Help - Replies (2)

[python]#!/usr/bin/python

import serial, time, sys, fileinput

#open and configure serial port
ser = serial.Serial(
port='/dev/ttyUSB0',
bau..... More

Print this item

  Replicate Excel operations with Python
Posted by: Lumberjack - May-08-2022, 04:03 PM - Forum: General Coding Help - Replies (3)

EDIT: Second post features the latest updates

I have this Excel file where I track two products A and B and their weekly differences compared to thei..... More


Attached Files

.xlsx   Delta.xlsx (Size: 10.26 KB / Downloads: 345)
Print this item

  Correct the algorithm of image filter code
Posted by: saoko - May-08-2022, 11:10 AM - Forum: General Coding Help - Replies (6)

Hi everyone. I'm new in python. Now I'm trying to write an image filter, according to the next algorithm:
[img]https://i.stack.imgur.com/xn4U8.jpg[/i..... More

Print this item

  PyQT5 - align left
Posted by: frohr - May-07-2022, 04:54 PM - Forum: General Coding Help - Replies (7)

Hi, I am stuck on very stupid thing.
I need align items left and width must be according text length and for line_edit fixed length.
Thank for any..... More

Print this item

  Help with subtracting values using SQLite & Python
Posted by: Extra - May-07-2022, 03:25 PM - Forum: General Coding Help - Replies (10)

Hello,

I made an inventory system using SQLite and Python. I'm working on a 'checkoutInventory()' function that let's a user add items to a cart a..... More

Print this item

  Python modules for accessing the configuration of relevant paths
Posted by: Imago - May-07-2022, 01:26 PM - Forum: General Coding Help - Replies (1)

Below I have the files **main.py**, **train.py** and **dataLoader.py**. The purpose of path.py is to contain relevant paths inside my project. These p..... More

Print this item

  Emoji Dictionary Help
Posted by: rewainy - May-07-2022, 08:49 AM - Forum: General Coding Help - Replies (5)

Hello,

So I am trying to replace words from the sentence input by the relevant emoji from this dictionary. In the end i would like to reprint the s..... More

Print this item

  df column mean and count of unique
Posted by: SriRajesh - May-07-2022, 08:19 AM - Forum: General Coding Help - No Replies

Ji,
I have below df, and I want to group by coulmn2,column3 and calculate mean of other columns and unique count.

[python]df:
col1 col2 col3 c..... More

Print this item

  recall
Posted by: cool_person - May-07-2022, 06:24 AM - Forum: General Coding Help - Replies (1)

how do you recall a item from a list

Print this item

  an app's scripting system in Python
Posted by: Skaperen - May-07-2022, 04:55 AM - Forum: News and Discussions - No Replies

if i want to create a new app that has its own scripting system with scripts written in Python, what do i need to learn/know? what if i am coding the..... More

Print this item

  Struggling with Juggling JSON Data
Posted by: SamWatt - May-07-2022, 02:25 AM - Forum: General Coding Help - Replies (7)

I have worked through 300+ pages of Shovic & Simpson's Python for Dummies All in One but hit a snag in Book 3, Chapter 2.

The first issue is that t..... More

Print this item

  Help Returning to Different Menus
Posted by: Extra - May-07-2022, 12:43 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a login system that allows StandardUsers to login in and Admins to login.
If an Admin logs in and decides to view the inventory, the a..... More

Print this item

  [Solved]Help with search statement-SQLite & Python
Posted by: Extra - May-06-2022, 07:26 PM - Forum: General Coding Help - Replies (1)

Hello,

I have a function that takes in a user's input->stores it in a python variable called 'userQuery' and I would like to take the variable 'use..... More

Print this item

  How to do a mass replace within a CSV file?
Posted by: cubangt - May-06-2022, 07:15 PM - Forum: General Coding Help - Replies (9)

I have the following code that im using to open a CSV and then create a new filtered csv for importing into excel.

[python]
# THIS OPENS THE NEWLY..... More

Print this item

  TypeError: unsupported opperand type(s) for %: 'int' and 'list'
Posted by: cool_person - May-06-2022, 05:01 PM - Forum: General Coding Help - Replies (7)

nonprimenumbers=[]
primenumbers = []

for i in range (2,100000):
if (i%primenumbers==0):
nonprimenumbers.append
else:
primenumbers.ap..... More

Print this item

  df column aggregate and group by multiple columns
Posted by: SriRajesh - May-06-2022, 02:26 PM - Forum: General Coding Help - No Replies

Hi,
I have below df I want to calculate rank, age pos columns max, min, mean and group by Name, sub,school. I use can only calculate mean, but I want..... More

Print this item

  Convert list to interger
Posted by: Clives - May-06-2022, 01:05 PM - Forum: General Coding Help - Replies (5)

Greetings,
The csv returns: [114436]
I want to get the values as an integer and not list, any pointers appreciated.
Thanks
Clive

[python]
####..... More

Print this item

  I get an FileNotFouerror while try to open(file,"rt"). My goal is to replace str
Posted by: decoded - May-06-2022, 12:25 PM - Forum: General Coding Help - Replies (1)

I have a folder with .txt files. In that folder I want to list all the files and read each files and replace a specific String. The problem I get is ..... More

Print this item

  kmeans install error (please help me)
Posted by: muratuzun - May-06-2022, 10:53 AM - Forum: General Coding Help - Replies (3)

Merhaba,

python 3.10 versiyonunda kmeans yüklemeye çalıştığımda aşağıdaki hatayı alıyorum bunu nasıl geçerim

creating build\temp.win-amd64-cpyth..... More

Print this item

  naming entities(city abbreviations)
Posted by: tirumalaramakrishna - May-06-2022, 10:33 AM - Forum: General Coding Help - Replies (1)

is there any readymade code for identifying the city name abbreviation??

i have a task which contains P.O Box 1442 Hyderabad .i have to extract cit..... More


Attached Files

.txt   python.txt (Size: 534 bytes / Downloads: 318)
Print this item

  Python / Django Web Developer (F/M/D) at MIR MEDIA - Digital Agency
Posted by: djangojobs.net - May-06-2022, 07:31 AM - Forum: Jobs - No Replies

To apply
djangojobs.net/jobs/1124/python-django-web-developer-fmd-mir-media-digital-agency/


Cologne,Germany

Who we are:

We are an experienced digi..... More

Print this item

  Mid Level Django Python Developer at Bitcoin Solutions, Inc
Posted by: djangojobs.net - May-06-2022, 07:27 AM - Forum: Jobs - Replies (1)

About Us:

Bitcoin Solutions, Inc is a technology company focused on making bitcoin as easy to purchase as any gift card.

BitCards is looking for..... More

Print this item

  Create new dictionary
Posted by: angus1964 - May-06-2022, 07:05 AM - Forum: General Coding Help - Replies (6)

If I have the following two dictionaries.

[python]person1 = {
"name" : "fred"
"age" : 31
}

person2 = {
"name" : "bob"
"age..... More

Print this item

  Create new dictionary
Posted by: angus1964 - May-06-2022, 07:05 AM - Forum: General Coding Help - Replies (2)

If I have the following two dictionaries.

[python]person1 = {
"name" : "fred"
"age" : 31
}

person2 = {
"name" : "bob"
"age..... More

Print this item

  please help me with my django website?
Posted by: MetsxxFan01 - May-05-2022, 11:38 PM - Forum: Web Scraping & Web Development - No Replies

http://metsxxfan01.pythonanywhere.com/

i don't know why it's not working

don't worry i fixed it

Print this item

  Trying to delete rows above a specific datetime value
Posted by: cubangt - May-05-2022, 09:45 PM - Forum: General Coding Help - Replies (19)

So i have a csv file, and the data is structured like this

2022-04-25, 7:06 AM, bla bla bla
2022-04-25, 7:07 AM, ha ha ha
2022-04-25, 7:08 AM, ha..... More

Print this item

Question Change elements of array based on position of input data
Posted by: Cola_Reb - May-05-2022, 02:01 PM - Forum: General Coding Help - Replies (6)

Hey everyone, hope you are doing great these days. I have a difficult problem with my data processing and hope you could help me:

I have some input d..... More

Print this item

  Python Has Major Problems as Language
Posted by: Dave - May-05-2022, 01:48 PM - Forum: News and Discussions - Replies (13)

I will apologize ahead of time here. Python is great, and my preferred language, but it needs to have basic flaws fixed:

1.)Some variables are pass..... More

Print this item

  Adding row to df with df.loc[len(df.index)]
Posted by: Mark17 - May-05-2022, 01:35 PM - Forum: General Coding Help - Replies (2)

This works to add a list a as a new (last) row of a dataframe df:

df.loc[len(df.index)] = a
len(df.index) is an integer, ri..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 1 hour ago finallen321 finallen321 General Codin...
  Calling python from anoth... 2 hours ago eedjsa eedjsa General Codin...
  IP address for users Today, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580348
  Tutorial Requ... 518959
  Web Scraping ... 442768
  Newbie with P... 386947
  New Users Int... 386142
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today

User Panel Messages

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