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,399
» Latest member: zanathanlttle647
» Forum threads: 38,826
» Forum posts: 176,029

Full Statistics

Online Users
There are currently 53 online users.
» 0 Member(s) | 46 Guest(s)
Bing, Google, Internet Archive, AOL, Applebot, AOL

Latest Threads
Fake Skating Pdf Format
Forum: General Coding Help
Last Post: zanathanlttle647
44 minutes ago
» Replies: 0
» Views: 19
Shield Of Sparrows Pdf
Forum: General Coding Help
Last Post: zasophiatpo5446
48 minutes ago
» Replies: 0
» Views: 14
dtmfgpo,guy678
Forum: General Coding Help
Last Post: GeraldNoive
1 hour ago
» Replies: 0
» Views: 21
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 117
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,601
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 197
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,612
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 167
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 319
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,121

 
  FileNotFoundError: [Errno 2] No such file or directory: 'word2vec.model'
Posted by: Anldra12 - Jul-04-2021, 07:30 AM - Forum: General Coding Help - Replies (6)

I am trying to implement word2vec model using genism while make the model Dir word2vec.model under main models
Dir Path
[py..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Fake Skating Pdf Format 44 minutes ago zanathanlttle647 zanathanlttle647 General Codin...
  Shield Of Sparrows Pdf 48 minutes ago zasophiatpo5446 zasophiatpo5446 General Codin...
  dtmfgpo,guy678 1 hour ago GeraldNoive GeraldNoive General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580440
  Tutorial Requ... 519728
  Web Scraping ... 442789
  Newbie with P... 386995
  New Users Int... 386633
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
zanathanlttle647 Today
zasophiatpo5446 Today
GeraldNoive Today
aellatsz9602 Yesterday
cruisesfares Yesterday

User Panel Messages

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