Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,938
» Latest member: atylerfraces2254
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google, AOL, Applebot

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,126
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 603
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,527
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 948
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,440
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,288
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,493
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,456
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,600
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,164

 
  Are there any groups for website review?
Posted by: CoderBro27 - Jul-03-2021, 08:48 PM - Forum: Web Scraping & Web Development - Replies (4)

I have been working on a few web apps, I was wondering is there a good community or discord where I can say, hey, here is my website and my code, take..... More

Print this item

  Regex: a string does not starts and ends with the same character
Posted by: Melcu54 - Jul-03-2021, 08:41 PM - Forum: General Coding Help - Replies (5)

hello. I have a little problem with Python and Regex. In fact, some regex doesn't work if a string does not starts and ends with the same character. F..... More

Print this item

  Installing and using Python on windows has become a 2 week long nightmare
Posted by: ogg130 - Jul-03-2021, 04:21 PM - Forum: News and Discussions - Replies (3)

NT - Problem resolved - user error

Print this item

  Web scraping data
Posted by: Mike_Eddy - Jul-03-2021, 02:34 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I'm new in python and in web scraping, so sorry if my answer is stupid but i don't find anything to do that.

Is it possible to scrap data..... More

Print this item

  Conditional formatting in csv export
Posted by: cabtor - Jul-03-2021, 11:19 AM - Forum: General Coding Help - Replies (2)

Hi. I have a dataframe containing zeros and some other numbers.
When I export it to csv I would like to have the following format:
a) non zero num..... More

Print this item

  print not printing newlines
Posted by: rocket777 - Jul-02-2021, 11:49 PM - Forum: General Coding Help - Replies (4)

I've got 2.7 and 3.3 versions. The 3.3 is in spyder on windows. The 2.7 is python in linux.

I'm reading data from a socket, and If I do this,

[i..... More

Print this item

  different programming languages/words in text editors
Posted by: alok - Jul-02-2021, 09:07 PM - Forum: News and Discussions - Replies (7)

In programming,with your text editor is the language used like Python or C++ ,changing its language or word ( in itself, in the editor ) to a binar..... More

Print this item

  Send SMS from my phone number
Posted by: aster - Jul-02-2021, 08:41 PM - Forum: General Coding Help - Replies (4)

Hello,

I found a lot of online services that allows me to send SMS.

But I didn't found how to send SMS from my phone with my number, is this pos..... More

Print this item

  Web-Development in general
Posted by: Kael90 - Jul-02-2021, 10:28 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

i already a bit fluent in basic python (simply means in my reagion i have done some small GUI Programs and some Databases)

Now i wanted t..... More

Print this item

  virtual environment
Posted by: heye - Jul-02-2021, 07:35 AM - Forum: General Coding Help - Replies (4)

Hi
i have created numbers of virtual environment with python3 in ubuntu.
now , i have lost track of them.
May I know how to list the name of the vi..... More

Print this item

  Converting a list to dictinary
Posted by: tester_V - Jul-02-2021, 04:52 AM - Forum: General Coding Help - Replies (8)

Greetings to those that do not sleep! Wink

I kind of asked a similar question before (about counters).

I have a file:
PRQ09_PCX0161Host,D..... More

Print this item

  parse tree vs just tokenizing
Posted by: Skaperen - Jul-01-2021, 11:54 PM - Forum: News and Discussions - Replies (5)

i do not need a parse tree result. i only want to get a list of tokens from a string of Python source code. that means breaknig up a string into the..... More

Print this item

  Why it does not print(file.read())
Posted by: Rejaul84 - Jul-01-2021, 10:26 PM - Forum: General Coding Help - Replies (1)

I am a total beginner and not sure why it not printing what I have written to the data.csv file. I can see the data in the csv but expected python to ..... More

Print this item

  SaltStack: MySQL returner save less data into Database table columns
Posted by: xtc14 - Jul-01-2021, 07:22 PM - Forum: General Coding Help - Replies (2)

I'm trying to modify the existing SaltStack MySQL returner to only save a handful of data instead of the default columns
`(| fun | jid | return | id ..... More

Print this item

  NFC reader code help
Posted by: johnroberts2k - Jul-01-2021, 07:16 PM - Forum: General Coding Help - Replies (1)

I have the following python code which continuously listens for NFC chip presence and when detected it prints the UID (ident)

[python]
from nfc i..... More

Print this item

  400 Bad Request
Posted by: Skaperen - Jul-01-2021, 06:16 PM - Forum: Board - No Replies

i got 400 Bad Request when trying to preview a new thread. when i clicked on the button to go back (to try that, again) i got the posting form..... More

Print this item

  Carlssons method for log
Posted by: Gusbagro - Jul-01-2021, 05:49 PM - Forum: General Coding Help - Replies (2)

Anyone have experiance from the Carlssons method for log?
I have this code but it doesnt seem to work.
[python]
def fast_approx_ln(x,n):
d = e..... More

Print this item

  Not getting response from pyaudio
Posted by: OceansBlue - Jul-01-2021, 04:58 PM - Forum: General Coding Help - Replies (1)

I am not able to communicate using the laptop microphone

Here is my code
[python]import smtplib # Simple Mail Transfer Protocol
import pyaudio
i..... More

Print this item

  How to get array fit/transform to be correct?
Posted by: Oliver - Jul-01-2021, 04:18 PM - Forum: Data Science - No Replies

I am trying to fit/transform a (1,2) ndarray, but I keep getting zeros instead of transformed values.

[python]
sc = StandardScaler()
test_data = ..... More

Print this item

  groupby cast to int where possible
Posted by: mikisDeWitte - Jul-01-2021, 01:39 PM - Forum: General Coding Help - Replies (2)

Hello,

I need to create a nested dictionary like so:
d= {"ftsg2a_co422": {1: 'visited or contacted', 0: 'not visited not contacted'}}

this dictionar..... More

Print this item

  [split] Help- converting file with pyton script
Posted by: eltomassito - Jul-01-2021, 01:29 PM - Forum: General Coding Help - Replies (6)

Is it possible to get another help with this script https://github.com/ypomortsev/ccss2edr?
How to run it after installing default python environmen..... More

Print this item

  cancelling open dialog gives empty string
Posted by: rwahdan - Jul-01-2021, 01:04 PM - Forum: GUI - Replies (2)

Hi,

I am trying to open a file using the file dialog but what if the user decides to press cancel? a new line is added to my text widget. I don't w..... More

Print this item

  Request library already satisfied? Pip related
Posted by: BobTobb - Jul-01-2021, 04:23 AM - Forum: General Coding Help - Replies (1)

Apologies but this doesn't seem to fit in any other forum category. Maybe there's a dedicated PIP forum somewhere?

[code]
% python process.py
Y..... More

Print this item

Sad ValueError: could not convert string to float
Posted by: badju - Jul-01-2021, 12:03 AM - Forum: Data Science - No Replies

I am trying to convert an entire column (actually, three) to float, but there's something getting wrong.

This is the code:
[python]
series = df[..... More

Print this item

  deleting an empty Dir, using pathlib.Path
Posted by: tester_V - Jun-30-2021, 11:18 PM - Forum: General Coding Help - Replies (9)

Greetings!
I'm trying to use pathlib.Path to identify empty Subdirectories (and delete them).

For some reason, my code cannot identify if a Subdir..... More

Print this item

  Pygame Help
Posted by: piznac - Jun-30-2021, 09:58 PM - Forum: Game Development - Replies (6)

Hello! I have been running into a issue with drawing rectangles, blitting text, querying a DB etc etc inside the game loop. The rectangles or text app..... More

Print this item

  logical error - saving file
Posted by: rwahdan - Jun-30-2021, 09:35 PM - Forum: GUI - Replies (4)

I am trying to open new file but want to check if there is something in the current file before opening a new file so it can be saved. I have the foll..... More

Print this item

  Unexpected EOF
Posted by: JeffTech - Jun-30-2021, 04:32 PM - Forum: General Coding Help - Replies (3)

Hi! New guy here! (I'm sure that your FAVORITE thing to read right off the top)

Anyway, I've been working on this script (my first in Python) and d..... More

Print this item

  Passing information with a function
Posted by: Krisve94 - Jun-30-2021, 03:02 PM - Forum: GUI - Replies (3)

I am unsure if this is the right forum, but since it concerns a wigdet it seemed appropriate.

In line 26 the line [b]"strength_entry.bind('<Return>',..... More

Print this item

  reading html and edit chekcbox to html
Posted by: jacklee26 - Jun-30-2021, 01:50 PM - Forum: General Coding Help - Replies (5)

I have a question about reading HTML files, and edit by adding a checkbox before a tag on every link.

I have a test.html that looks like this:
[..... More

Print this item

  count item in list
Posted by: korenron - Jun-30-2021, 01:09 PM - Forum: General Coding Help - Replies (8)

Hello,
how can I count part of items in list?

to be clear :
I have a list that build in this form
Final_List= [['10.0.0.1:Success', '10.0.0.2:Succes..... More

Print this item

  can I tell how much cpu is used by a program?
Posted by: korenron - Jun-30-2021, 12:32 PM - Forum: General Coding Help - Replies (1)

hello ,
I have start to use "multiprocessing \ Pool " to run some code
and I want to know how much I'm using now (without the pool)
how much use..... More

Print this item

  Py script that triggers ever 3 hours, but only between 9:15 am to 3:30 pm, Mon to Fri
Posted by: Pymod - Jun-30-2021, 07:50 AM - Forum: General Coding Help - Replies (2)

I'm running a AWS Ubuntu server with python. How do I run a script that triggers every 3 hours, from 9:15AM to 3:30 PM, Monday to Friday.

I'm looki..... More

Print this item

  acess particular element in dataframe using .loc operator.
Posted by: shantanu97 - Jun-30-2021, 03:58 AM - Forum: General Coding Help - No Replies

I have two dataframe. Please see attached image.Sometimes in my code dataframe 1 comes but sometimes in my dataframe 2 comes. I want to access the ele..... More


Attached Files

Thumbnail(s)
   
Print this item

  Could Someone help me with List problem
Posted by: alexsendlegames100 - Jun-30-2021, 02:22 AM - Forum: General Coding Help - Replies (1)

[python]
import math

A = list(map(int, input()))

B = list(map(int, input()))

#C = list(map(int, input()))

if A,B < len(3):
print(D_1)..... More


Attached Files

.py   _1.py (Size: 296 bytes / Downloads: 347)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576419
  Tutorial Requ... 498220
  Web Scraping ... 440326
  Newbie with P... 384207
  New Users Int... 367243
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19
Hershien 09-19

User Panel Messages

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