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: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, Internet Archive, AOL, Mojeek

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

 
  Editing text between two string from different lines
Posted by: Paqqno - Apr-06-2022, 07:10 PM - Forum: General Coding Help - Replies (1)

I want to edit atributte values from xml file and replace every "\n" to "(newline)\n". This is necesary because I need to keep structure of xml file w..... More

Print this item

  code running for more than an hour now, yet didn't get any result, what should I do?
Posted by: aiden - Apr-06-2022, 03:11 PM - Forum: General Coding Help - Replies (2)

I'm trying to implement a triple integral Riemann sum. My single and double integral codes are working. I just added the for k in range (1,l+1):, l = ..... More

Print this item

  KeyError: 0 when trying to dedupe and match records at scale
Posted by: Catalytic - Apr-06-2022, 02:46 PM - Forum: General Coding Help - Replies (1)

I am building code that reads data from excel files into two different pandas dataframes, and performs a fast fuzzy match (fuzzy wuzzy and excel funct..... More

Print this item

  Dynamically setting nested class
Posted by: be_ams - Apr-06-2022, 02:09 PM - Forum: General Coding Help - No Replies

Hi,

I'm using pydantic to do some json validation. The incoming json will be in camel case but to keep my python as pythonic as possible (plus I do..... More

Print this item

  reduce time series based on sum condition
Posted by: amdi40 - Apr-06-2022, 09:09 AM - Forum: Data Science - No Replies

Hello i am trying to reduce the amount of zeros in a timeseries as i only need a period of 24 hour without rain before the condition does not change
..... More

Print this item

  Pick random winners from .csv
Posted by: DellXT - Apr-06-2022, 07:54 AM - Forum: Homework - Replies (6)

Hi. I'm totally new to python. Just trying to find out how to pick few, but not the same (unique by ID) winners from the .csv file. Anyone could help?..... More

Print this item

  How can I display dictionary in a gui window in Python?
Posted by: C0D3R - Apr-06-2022, 07:43 AM - Forum: General Coding Help - Replies (2)

I would recommend to run my code (it uses EasyGui), here in github: https://github.com/UnknownBob123/The-pro...n/TEST1.py
..... More

Print this item

  cs.collections error
Posted by: DaveG - Apr-06-2022, 05:27 AM - Forum: General Coding Help - Replies (7)

Hi
I have this error from the python 2.7 code below. Can someone help please? Much appreciated.

[error]Traceback (most recent call last):
File ..... More

Print this item

  SyntaxError
Posted by: DaveG - Apr-06-2022, 02:16 AM - Forum: General Coding Help - Replies (2)

Hi
I'm getting a syntax error on the print to file. Can someone correct me please?

[error]C:\Python27\python.exe C:/Users/David/PycharmProjects/py..... More

Print this item

  Is Matplotlib.pyplot Loaded
Posted by: DaveG - Apr-06-2022, 01:05 AM - Forum: General Coding Help - Replies (2)

Is there someway I can find out if the module matplotlib.pyplot is available to me while running a Python2.7 script. I have imported matplotlib succes..... More

Print this item

  ElementTree get attribute value part of string
Posted by: paulo79 - Apr-05-2022, 08:09 PM - Forum: General Coding Help - Replies (1)

Hi all,

I have this :

[python]>>> import xml.etree.ElementTree as ET
>>> tree = ET.parse('disks.xml')
>>> root = tree.getroot()
>>> root.tag..... More

Print this item

  Extract parts of a log-file and put it in a dataframe
Posted by: hasiro - Apr-05-2022, 06:58 PM - Forum: General Coding Help - Replies (4)

Hi

I'm a python beginner and would like to extract parts of a log-file and put it in a dataframe.
I tryed something, but it is not what I want.
..... More

Print this item

  Indie Python apps: level editor, animation editor and more
Posted by: KennedyRichard - Apr-05-2022, 03:14 PM - Forum: Game Development - No Replies

Hello,

My name is Kennedy, 31, I just wanted to present the Indie Python project, a personal project including ga..... More

Print this item

  100% free Python Node Editor (visual Python nodes)
Posted by: KennedyRichard - Apr-05-2022, 02:58 PM - Forum: Code sharing - No Replies

A node editor made with Python/pygame

[Image: GFNnyNk.png]

Hello, I'm Kennedy, 31, an indie/hobbyist Python developer. I'm..... More

Print this item

  Knowing User's Connection Type in Django
Posted by: Dexty - Apr-05-2022, 12:47 PM - Forum: Web Scraping & Web Development - Replies (2)

Just wondering if it's possible to get an authenticated user's connection type. For example, are they connected to my Django app through a Wi-Fi (prot..... More

Print this item

  Removing the index column from df
Posted by: bnadir55 - Apr-05-2022, 07:03 AM - Forum: General Coding Help - Replies (7)

Hello all,
I have a data frame that I pull from excel using: df = pd.read_excel(file.xlsx)
when I print results it returns with the index column o..... More

Print this item

  How to move in entries using the arrow keys by applying the bind and focus?
Posted by: pymn - Apr-05-2022, 05:38 AM - Forum: GUI - Replies (4)

I have some entries in tkinter. currently, I need to move the cursor to each entry and click it to select it. I am looking to do this using the arrow ..... More

Print this item

  WHILE Loop - constant variables NOT working with user input boundaries
Posted by: C0D3R - Apr-05-2022, 04:59 AM - Forum: General Coding Help - Replies (4)

This is my full program: https://github.com/UnknownBob123/Card-Catalogue


The only thing that is not working as intended, is the minimum and maxim..... More

Print this item

  Skipping line in text without Restarting Loop
Posted by: IdMineThat - Apr-05-2022, 02:16 AM - Forum: General Coding Help - Replies (4)

I'm breaking apart a text string line by line with a for loop. Is it possible to get to the next line, without starting at the beginning of the loop?
..... More

Print this item

  [variable] is not defined error arises despite variable being defined
Posted by: TheTypicalDoge - Apr-05-2022, 01:58 AM - Forum: General Coding Help - Replies (4)

I've come across an error that I'm not sure how to fix. I keep getting an error that 'currentCalcInput' isn't defined even though it's defined before ..... More

Print this item

  request.get to read large response
Posted by: pythonlearner1 - Apr-05-2022, 12:26 AM - Forum: General Coding Help - Replies (7)

I am trying to use curl to read read large response.
I ran that from command line and redirected to text file and it is 30Mb file

using python I ..... More

Print this item

  How do I run a program without any relationship to it?
Posted by: Pymon - Apr-04-2022, 08:43 PM - Forum: General Coding Help - Replies (3)

I see that there are many ways to launch a program from Python, but I cannot find specifically what I am looking for.

I need to be able to run a ..... More

Print this item

  ROS ROBOTIC MOVEMENT PYTHON
Posted by: frkndmrsln - Apr-04-2022, 09:33 AM - Forum: Homework - No Replies

https://prnt.sc/kQJCg6V_GdRE

Hello everyone. As seen in the image, the Robot will start from the top and follow a certain path. At the end of the m..... More


Attached Files

.zip   movedistance.py.zip (Size: 760 bytes / Downloads: 292)
Print this item

  python ms-paint module
Posted by: kucingkembar - Apr-04-2022, 08:25 AM - Forum: GUI - No Replies

hi, sorry for my bad English,
is there any python module or package that is capable to edit pictures like ms-paint?
the basic features I need are:
-t..... More

Print this item

  select Eof extension files based on text list of filenames with if condition
Posted by: RolanRoll - Apr-04-2022, 08:02 AM - Forum: General Coding Help - Replies (1)

I want to Select some files in folder based on text list (name of files ( part of name is date )) so i have two inputs one folder that contains (..... More


Attached Files

Thumbnail(s)
       
Print this item

  Transform 3 Columns into Single Column
Posted by: DaveG - Apr-03-2022, 11:11 PM - Forum: General Coding Help - Replies (9)

I Have a file comprising 3 columns of data and I would like to transform these columns into a single column, one following the other e.g. below. Could..... More

Print this item

  Need help with my code (regular expression)
Posted by: shailc - Apr-03-2022, 04:14 PM - Forum: General Coding Help - Replies (5)

Hi there,

I am new to the world of python, sorry for my primitive question!

Here is my code
import re
import collections

txt = “MCV ..... More

Print this item

  How to get evenly-spaced datetime tick labels regardless of x-values of data points?
Posted by: Mark17 - Apr-03-2022, 04:05 PM - Forum: General Coding Help - Replies (4)

I'm creating a new thread here, which originated in a question about floor division and tick labels. In there, Gribouillis suggested using np.linspac..... More

Print this item

  Best strategy for creating .exe for windows
Posted by: hammer - Apr-03-2022, 02:41 PM - Forum: General Coding Help - Replies (4)

In Linux Mint 20.2,Python 3.8 I have created an app that I now want to have a few folks test on Windows machines. My searches tell me there are basic..... More

Print this item

Question Pandas : How to create an algorithm that helps me improve results and creating new co
Posted by: Smordy - Apr-03-2022, 01:34 PM - Forum: General Coding Help - Replies (8)

Link to question on StackOverflow
in the stackoverflow Yaloa_21 understood what i want to make but i always get errors
..... More

Print this item

  The Wall-E Robot
Posted by: Argentum - Apr-03-2022, 01:18 PM - Forum: General Coding Help - Replies (1)

[size=small]Hello fellow python developers,

I am endeavoring to build a Wall-E Robot (credit to Chilibasket). This project is a challenge to say th..... More

Print this item

  Cannot store attachment in a reply
Posted by: ibreeden - Apr-03-2022, 10:17 AM - Forum: Board - Replies (5)

I wanted to add a picture in a reply, but this appears to be impossible. One can only add an attachment when creating a new thread. Neither is it poss..... More


Attached Files

Thumbnail(s)
   
Print this item

  PySimpleGUI not importing
Posted by: garynewport - Apr-03-2022, 08:42 AM - Forum: General Coding Help - Replies (3)

I am using a Mac with PyCharm as my IDE.

I have Python 3.10.2 installed.

If I do python -m pip list I get told..... More

Print this item

  Changing Values in a List
Posted by: DaveG - Apr-03-2022, 08:35 AM - Forum: Data Science - Replies (1)

I would like to replace all the values (1.3million) in column 3 with 0.00000000. Can someone please advise how I insert this in my code please?

[py..... More

Print this item

  Easygui [HELP] - How could I convert my enterbox into a multenterbox in python?
Posted by: C0D3R - Apr-03-2022, 07:43 AM - Forum: GUI - Replies (5)

Hello, so I want to make all four abilities: "Strength", "Speed", "Stealth", "Cunning" to be placed in one window -- since right now with the enterbox..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 8 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... 10 hours ago eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 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... 580359
  Tutorial Requ... 519049
  Web Scraping ... 442771
  Newbie with P... 386953
  New Users Int... 386241
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
atalieyandext4063 Yesterday
finallen321 Yesterday
DTECHSYSTEM Yesterday
zashleyfracesz3221 Yesterday
itx_sumeet Yesterday

User Panel Messages

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