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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Google

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
2 hours ago
» Replies: 1
» Views: 87
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 140
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 118
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,218
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,375
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,206
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,457

 
  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: 289)
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

  What happens line by line after I register a model in django
Posted by: Novichok - Apr-03-2022, 06:22 AM - Forum: General Coding Help - Replies (1)

I'm new to programming and I don't really understand what's going on line by line in the code

For example: to register a model in Django, we can re..... More

Print this item

  About list copy.
Posted by: water - Apr-02-2022, 08:45 PM - Forum: General Coding Help - Replies (3)

I try to create a copy of list via two ways:

[python]
a = [[1,2, 3], [4, 5, 6], [7, 8, 9]]
b = a.copy()
b[0].pop(2)
b[1].pop(2)
b[2].pop(2)
[..... More

Print this item

  Motivation
Posted by: Lass86 - Apr-02-2022, 07:50 PM - Forum: News and Discussions - Replies (7)

Hello everyone, I need some motivation and I hope that maybe you guys can help?

I started a course on programming some time ago. Unfortunately this..... More

Print this item

  Tracking leap.py years for gregorian calendar (Exercism org)
Posted by: Drone4four - Apr-02-2022, 07:45 PM - Forum: Homework - Replies (11)

This is not for a course credit. It's just online courseware. Although I'd prefer that you people not provide a full solution. Instead just provide gu..... More

Print this item

  Pandas Dataframe Filtering based on rows
Posted by: mvdlm - Apr-02-2022, 06:33 PM - Forum: Data Science - No Replies

New to python and this forum Smile

I have a dataset like this:

[python]df1 = pd.DataFrame({'opA': [1,1,1,1,0],
'opB': [1,1,1,0,1],
..... More

Print this item

  Looking for clarification related to performance
Posted by: Pymon - Apr-02-2022, 05:08 PM - Forum: General Coding Help - Replies (5)

I have come across statements saying that one should be careful about calling functions too frequently because of the performance overhead. Is this t..... More

Print this item

  Print List to Terminal
Posted by: DaveG - Apr-02-2022, 06:54 AM - Forum: General Coding Help - Replies (2)

How do I return all the values of the variable to the terminal rather than just the start and finish of the array please.

[python]elev_t1 = deepcop..... More

Print this item

  Python selenium + Xevil to solve recaptcha
Posted by: sunny9495 - Apr-02-2022, 06:34 AM - Forum: General Coding Help - Replies (6)

Hi,

Iam trying to use Xevil to solve recaptcha , but i didnt find the documentation on how to integrate it with python selenium.

Any advise is a..... More

Print this item

  forloop to compute sum by alternating from addition to subtraction
Posted by: JulianZ - Apr-02-2022, 04:33 AM - Forum: General Coding Help - Replies (3)

I am currently struggling on a way to compute a sum that changes its sign from addition to subtraction e.g. 1/1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13...... More

Print this item

  Python & Windows Media Player
Posted by: Extra - Apr-01-2022, 11:04 PM - Forum: General Coding Help - Replies (9)

Hello,

I got python to launch windows media player when I say "play music" and now I'm wondering if I can have it automatically play the "Music" pl..... More

Print this item

  How to return the next page from json recursively?
Posted by: sandson - Apr-01-2022, 11:01 PM - Forum: General Coding Help - No Replies

I have an api that returns me a json of 5 out of 5 data, for example. In the example I have an output with 9 data. And in the json it gives me a [inli..... More

Print this item

  Parsing xml file deletes whitespaces. How to avoid it?
Posted by: Paqqno - Apr-01-2022, 10:12 PM - Forum: General Coding Help - No Replies

Hello, I made a program that takes one main XML file and update there attribute values = "Fail" based on other XML file attribute values. It works fin..... More

Print this item

  [closed] Empty dictionary with None
Posted by: paul18fr - Apr-01-2022, 10:04 PM - Forum: Data Science - Replies (8)

Hi,
I'm spending hours in understanding why a 'None' appears immediatly after creating a dictionary, leading to a crash afterward (such dictionary is..... More

Print this item

  Python 2.7 - pathlib2
Posted by: Clives - Apr-01-2022, 06:27 PM - Forum: General Coding Help - No Replies

Greetings,

I have spent about three hours getting errors, to find out which python libraries are not
installed on an offline Linux 86_64 instance..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 2 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578717
  Tutorial Requ... 509325
  Web Scraping ... 441858
  Newbie with P... 385816
  New Users Int... 375218
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08
yutaozhou 11-07

User Panel Messages

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