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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 43 Guest(s)
Bing, Google, AOL, Applebot, kshahzad1985

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
7 hours ago
» Replies: 1
» Views: 47
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
8 hours ago
» Replies: 11
» Views: 251
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
8 hours ago
» Replies: 3
» Views: 93
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Today, 05:07 AM
» Replies: 5
» Views: 227
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 87
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,600
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 184
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 169
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,832
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,408

 
  Sorting list from FTP by Date
Posted by: lastyle - Oct-28-2021, 09:03 PM - Forum: Data Science - Replies (2)

Hi all,

i am parsing a ftp f.retrlines('MLSD', ls.append) which creates me a list that contains Fileinfo like the following

#type=file;size=..... More

Print this item

  OCR in python to this image
Posted by: guy7200 - Oct-28-2021, 08:10 PM - Forum: General Coding Help - No Replies

i try to do OCR in python to this image (the number inside can change)
i try everything
tesseract
EasyOCR
but every method doing a lot of mistake[..... More


Attached Files

Thumbnail(s)
   
Print this item

Question email code works in 2.7 but not in 3
Posted by: micksulley - Oct-28-2021, 03:59 PM - Forum: General Coding Help - Replies (3)

Running Python 3.8.10 and 2.7.18 under Mint 20.2
I am trying to generate an email on my IONOS 1 & 1 domain using this code
[python]import smtplib
M..... More

Print this item

Photo Moving 2 photos from each subfolder to another folder
Posted by: Blacklonewolf - Oct-28-2021, 02:02 PM - Forum: General Coding Help - Replies (1)

Hello
Let me start by saying that I'm beginner in Python, so I'm hoping for ready/big help
I have a problem with the following code, which I need to..... More

Print this item

  cut string after tow known chars?
Posted by: korenron - Oct-28-2021, 10:00 AM - Forum: General Coding Help - Replies (3)

Hello ,
wanted to know if there is a smart way to do the following:

this is my string
String1 = "data1!data2!data3!data4!data5.......!datax"
..... More

Print this item

  Error when using Watchdog and Qt to keep open a Queue before and after sending first
Posted by: pyhill00 - Oct-28-2021, 09:10 AM - Forum: General Coding Help - No Replies

Watchdog is being used to send new .hdf5 files to a different program for use. The problem is that using Queue only allows one file to be sent and..... More

Print this item

  Sudoku Solver, please help to solve a problem.
Posted by: AdithyaR - Oct-28-2021, 06:41 AM - Forum: General Coding Help - Replies (5)

Guys, I am trying to make a sudoku solver program which solves sudokus. I am inputting each cell values in the program itself inside a dictionary. The..... More

Print this item

  Plotting Help Needed
Posted by: test_majestic - Oct-28-2021, 12:44 AM - Forum: General Coding Help - No Replies

Hey everyone, so I'm generating nxn matrices where n ranges from 1 to 100 and I have made it such that the matrix is symmetric. I'm computing the aver..... More

Print this item

  Fast way of inspecting web pages for paywalls
Posted by: aadriyu - Oct-27-2021, 08:14 PM - Forum: Web Scraping & Web Development - No Replies

It might seem a silly question but I am new to programming.
I have a long list of urls and I need to see whether the articles on those webpages are f..... More

Print this item

  What's wrong with these codes?
Posted by: bouraque7878 - Oct-27-2021, 07:23 PM - Forum: General Coding Help - Replies (4)

It doesn't work. What's wrong? [python]
list1 = [1, 1]
i = 2
while True:
terim = list1[i - 1] + list1[i - 2]
list1.append(terim)
ter..... More

Print this item

  MAC Python IDLE issue
Posted by: shadow12 - Oct-27-2021, 05:09 PM - Forum: General Coding Help - Replies (4)

Hello, whenever I have IDLE open, I can right click a python script in finder and open with IDLE. However, when IDLE is not already open, I get an err..... More

Print this item

  issue displaying summary of whole keras CNN model on TensorFlow with python
Posted by: Afrodizzyjack - Oct-27-2021, 04:07 PM - Forum: Data Science - No Replies

I have been trying to view the filters and features maps of a trained image classification system, using the 'mobilenet v2' model with 'imagenet' weig..... More

Print this item

  How to map two data frames based on multiple condition
Posted by: SriRajesh - Oct-27-2021, 02:43 PM - Forum: General Coding Help - No Replies

Hi,
I want to map df1 and grep the value from df2 if df1 column1(i.e ID1) value is between df2 column1(ID1) and column2(ID2). I sue below code, but I..... More

Print this item

  Coordinate conversion
Posted by: erdemath - Oct-27-2021, 01:28 PM - Forum: Data Science - Replies (8)

How would you define a proper Fourier domain in python? By converting cartesian (x,y) coordinates into polar coordinates (r,\phi)?

Print this item

  Process multiple pdf files
Posted by: Spartan314 - Oct-27-2021, 01:26 PM - Forum: General Coding Help - Replies (1)

I'd love for somebody in the know to point me in the right direction on something.

From a list of file names in an Excel workbook I want my Python ..... More

Print this item

  Sending Attachments via smtplib [SOLVED]
Posted by: AlphaInc - Oct-27-2021, 12:37 PM - Forum: General Coding Help - Replies (3)

Hello everybody,

I have an E-Mail script written in python which sends notifications to my personal mail account.
Now I want to extend on that by ..... More

Print this item

  .....
Posted by: Rafa - Oct-27-2021, 10:44 AM - Forum: General Coding Help - No Replies

.....

Print this item

  Exporting dataframes to excel without loosing datetime format
Posted by: Rafa - Oct-27-2021, 10:42 AM - Forum: General Coding Help - No Replies

I want to export to excel a DataFrame in which the index is formated in quarters (2019-Q1,2019-Q2...). However, when I export it to excel (through Exc..... More

Print this item

  Stuck in functional proggaming haze
Posted by: hammer - Oct-27-2021, 01:20 AM - Forum: General Coding Help - Replies (2)

New to actually programing in OOP. Looking for experienced guidance on making a decision on best practice on taking info from SQLite3, using info (tex..... More

Print this item

  compression module for lz4?
Posted by: Skaperen - Oct-27-2021, 12:06 AM - Forum: General Coding Help - Replies (1)

i would like to know if there is a module for decompressing the lz4 compression found in the Debian/Ubuntu "[font=Courier New][b]..... More

Print this item

  Python Coding
Posted by: kshtriyadin1994 - Oct-26-2021, 11:10 PM - Forum: General Coding Help - Replies (4)

Need Help in python code for below conversion:

"()" => "00"
")(" => "-11"
"((a) => "10a0"
"(a(b)c) => "0a0b0c"
"()a((((" => "00a1111"

Print this item

  Review on (new) Python module: Function but Lazy Python
Posted by: jeertmans - Oct-26-2021, 10:18 PM - Forum: Code Review - Replies (3)

Hello everyone, I have recently been working on a Python module and I wanted to have some feedback on it.

I really enjoy Python's syntax, except fo..... More

Print this item

  Join dataframes... So simple but I can't work it out!
Posted by: snakes - Oct-26-2021, 09:28 PM - Forum: General Coding Help - Replies (1)

I have a dataframe which contains NaNs. I've copied the rows with NaNs and used a DecisionTreeRegressor to predict the missing data. Now, I want to jo..... More

Print this item

  combining 2 dictionaries
Posted by: Skaperen - Oct-26-2021, 05:40 PM - Forum: General Coding Help - Replies (6)

i have 2 dictionary expressions. i want to combine them into one so that the one has each item from both. if one is already in a variable i c..... More

Print this item

  GPIO pins to RaspPi
Posted by: mmagner2022 - Oct-26-2021, 05:30 PM - Forum: Game Development - Replies (4)

I am currently trying to program a simple pong game using pygame and thus far I have used pygame.KEYUP and pygame.KEYDOWN to control the game. I have ..... More

Print this item

  Can't install pip on mac.
Posted by: Tsushida - Oct-26-2021, 12:57 PM - Forum: General Coding Help - Replies (5)

I have tried most of the commands that you can use on mac to install pip through terminal, and for some reason it always got to syntax error and it co..... More

Print this item

  How to compile following python loop program
Posted by: reinispl - Oct-26-2021, 11:28 AM - Forum: Homework - Replies (3)

How to Compile a program that requires the user to enter two integers A and B. The program outputs all numbers between A and B in descending order and..... More

Print this item

  Create a 2-channel numpy file from two cvs file containing a 9x9 matrix
Posted by: silvialecc - Oct-25-2021, 09:45 PM - Forum: General Coding Help - Replies (1)

Hello everyone, I work in a CNN project for my thesis and I have problem with my Python code. I hope that somebody can help me. Thank you.

I would li..... More

Print this item

  How to fix bugs in Morse alphabet code?
Posted by: dokipo - Oct-25-2021, 08:39 PM - Forum: General Coding Help - Replies (10)

Hello I would like to encode text to the Morse alphabet.
I need to debug it to correct outputs for the last four lines of print.

The ones on lines..... More

Print this item

  execute python script
Posted by: guy7200 - Oct-25-2021, 08:22 PM - Forum: General Coding Help - Replies (1)

i am i looking to execute python script or python file with hotkey in mac

Print this item

  creating a dummy file object
Posted by: Skaperen - Oct-25-2021, 07:28 PM - Forum: News and Discussions - Replies (1)

i want to create a file object that any attempt to write just drops the data, never calling the system, and any attempt to read gets no data and simul..... More

Print this item

  hundreds of function
Posted by: Skaperen - Oct-25-2021, 05:28 PM - Forum: Bar - Replies (1)

i have written over a hundred functions in Python. i use most of them frequently in other projects. i want to release them for others to use. i'd l..... More

Print this item

  Python VLookup? Lookup Table?
Posted by: Nu2Python - Oct-25-2021, 02:20 PM - Forum: General Coding Help - Replies (3)

Hi All... can someone tell me an easy/efficient way in Python to create a lookup table that acts like Excel? My options are unlimited, but I cannot fi..... More

Print this item

  Unable to import sklearn after installing any package
Posted by: ilango - Oct-25-2021, 07:03 AM - Forum: General Coding Help - No Replies

Hi all,

We use miniconda as python package manager and install required packages using pip.
We have a Venv Py36. Recently we are facing an issue...... More

Print this item

  Including data files in a package
Posted by: ChrisOfBristol - Oct-24-2021, 07:33 PM - Forum: General Coding Help - Replies (4)

I want to create a binary package (Wheel) and possibly also a source package (tarball). I need to include a reference file and a help file. I believe ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 7 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 8 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 8 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... Today, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [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
Most views
  The best Prog... 578795
  Tutorial Requ... 509711
  Web Scraping ... 441902
  Newbie with P... 385893
  New Users Int... 375832
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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