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,933
» Latest member: Sterlin
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 44 online users.
» 1 Member(s) | 38 Guest(s)
Bing, Google, Applebot, Pedroski55

Latest Threads
Sports Betting Game Devel...
Forum: Game Development
Last Post: Sterlin
35 minutes ago
» Replies: 0
» Views: 5
Too much space between gr...
Forum: GUI
Last Post: deanhystad
10 hours ago
» Replies: 3
» Views: 945
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 387
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,541
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,566
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 466
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 145
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,970
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,214
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 894

 
  Delete multiple lines from txt file
Posted by: Lky - Jul-09-2022, 04:43 PM - Forum: General Coding Help - Replies (6)

Does anyone know how to delete lines in txt file according to user input without using any list or dictionary?

For example content inside txt file:..... More

Print this item

  if else repeating
Posted by: Frankduc - Jul-09-2022, 03:39 PM - Forum: General Coding Help - Replies (12)

Hello,

Something i never understood if why with an if and else statement there is that repeat effect.
Inside the try except the voice is saying "l..... More

Print this item

  Automating Facebook Posts
Posted by: mieciow - Jul-09-2022, 01:47 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello people
I'm trying with selenium to post automatically in classified groups on facebook
I can log in, join the group, capture or sell something..... More

Print this item

  Query regarding regex
Posted by: Python_dumb - Jul-09-2022, 01:37 PM - Forum: General Coding Help - Replies (1)

Hi,

I am a beginner of python trying to learn through jupyter notebook.
I have a text file that contains close to 100k lines.
One sample line is..... More

Print this item

  Delete empty text files [SOLVED]
Posted by: AlphaInc - Jul-09-2022, 12:08 PM - Forum: General Coding Help - Replies (5)

Hello everybody,

I have a folder with many text-files, some of them are emtpy but have mutliple lines (for example, someone edited an empty text fi..... More

Print this item

  Apply textual data cleaning to several CSV files
Posted by: ErcoleL99 - Jul-09-2022, 08:17 AM - Forum: General Coding Help - No Replies

I need to perform a textual analysis that includes several speeches. The speeches were transcribed (using OCR) from several PDFs files into CSVs files..... More

Print this item

  how to connect over network and get the task done
Posted by: maiya - Jul-09-2022, 06:59 AM - Forum: Networking - Replies (3)

Hi All,

I have written a code snippet here. Where I wanted to connect a remote network, execute my script which is present in that system and get t..... More

Print this item

  How to plot seaborn heatmap on top of a background circle
Posted by: SriRajesh - Jul-09-2022, 03:08 AM - Forum: General Coding Help - No Replies

Hi,
I have below code to visualize data, and I want to ensemble a circle (heatmap inside big circle).

data is below:
[python]helix1 phase helix ..... More

Print this item

  While loop not ending (Best of 10 dice game)
Posted by: K3nidi - Jul-08-2022, 10:48 PM - Forum: General Coding Help - Replies (3)

I am just starting to learn, this is actually my very first project, and I haven'e been able to figure out or find why the while loop does not end (un..... More

Print this item

  Python Split json into separate json based on node value
Posted by: CzarR - Jul-08-2022, 03:56 PM - Forum: General Coding Help - Replies (1)

Using python I want to split a json file into multiple files based on the "transactionTypeName" within the transacations.details. In each file I want ..... More

Print this item

  Execute the script in remote and get the output
Posted by: maiya - Jul-08-2022, 01:31 PM - Forum: GUI - Replies (2)

Hi All,

I am working on one project (personal project), where I wanted to connect the remote system, execute my predefined script, get the result b..... More

Print this item

  Read data via bluetooth
Posted by: frohr - Jul-08-2022, 11:30 AM - Forum: General Coding Help - Replies (9)

Hi,
I have Teensy/Arduino and HC-05 bluetooth module. I want to send 30000 number values to PC/Python.

I have this code for Arduino/Teensy. It wil..... More

Print this item

  python-docx: preserve formatting when printing lines
Posted by: Tmagpy - Jul-08-2022, 08:03 AM - Forum: General Coding Help - Replies (4)

I am needing to filter out lines containing formatting like italic, bold,.... I used the following code to filter and print out those lines:

[python]..... More

Print this item

  remove dot
Posted by: devilonline - Jul-08-2022, 02:34 AM - Forum: General Coding Help - Replies (3)

Hi,

i'm doing a program in QTpy5 and I want to remove the dot in the query

in python is easy here i cant make it work

here is my code:

[p..... More

Print this item

  Do I have enough skills to get a programming job?
Posted by: caelum_carmine - Jul-07-2022, 11:46 PM - Forum: News and Discussions - Replies (1)

I've now decided to devote all my free time towards getting a job as a programmer. I currently work in a hotel. But I'm wondering if I should devote..... More


Attached Files

.pdf   Kyle Foley CV - Python Developer.pdf (Size: 97.18 KB / Downloads: 317)
Print this item

  looking for code that substitues parts of python code
Posted by: Skaperen - Jul-07-2022, 11:34 PM - Forum: News and Discussions - No Replies

i am looking for code, preferably organized as a function, that given a big string containing valid Python code, can substitute one string for another..... More

Print this item

  [Solved] Browser won't parse text from yaml loaded into Jinja
Posted by: SpongeB0B - Jul-07-2022, 08:14 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi everyone,

I'm loading a yaml file into Flask with

[python]
with open('myfile.yml', 'r') as file:
TheYaml = yaml.safe_load(file)
[/pyth..... More

Print this item

  Code to retrieve data from a website
Posted by: charlie13255 - Jul-07-2022, 07:53 PM - Forum: General Coding Help - No Replies

Hi guys, I am trying to retrieve some data from the following link: https://quickstats.nass.usda.gov
I am somehow stuck on getting it as what I want ..... More

Print this item

  How can flask find the controller?
Posted by: 3lnyn0 - Jul-07-2022, 07:31 PM - Forum: General Coding Help - Replies (3)

Hello! How do I call a function from the controller in routes.py?
In app_ctrl.py I have function 'get_user' and I want to call it in routes.py(in 'd..... More

Print this item

  UnicodeEncodeError - Dealing with Japanese Characters
Posted by: fioranosnake - Jul-07-2022, 04:30 PM - Forum: General Coding Help - Replies (2)

Hi All,

Ive got a small Python app that sends a bunch of codes to a checking API and returns the results.

Im getting errors when the the app tri..... More

Print this item

  Pre Processing a dataframe
Posted by: Kaizen_Is_A_Bad_Coder - Jul-07-2022, 03:19 PM - Forum: General Coding Help - Replies (3)

Hi All,

Trying to get my head around Pandas and backtesting.py at the moment so apologies for the simple question...

I have the following 1 minute d..... More

Print this item

  Passing parameters with arrays and array definitions
Posted by: michael_lwt - Jul-07-2022, 01:56 PM - Forum: General Coding Help - Replies (1)

[python]from array import *

# Must locate and return the smallest value from a list
def find_smallest():
pass


# Must locate and retu..... More

Print this item

  Copy a column from one dataframe to another dataframe
Posted by: Led_Zeppelin - Jul-07-2022, 12:57 PM - Forum: General Coding Help - Replies (17)

I would like to copy a column from one dataframe and add it to a second dataframe as the last column. I know it can be done, but I am looking for a
..... More

Print this item

  Upload file data on Qwidget
Posted by: maiya - Jul-07-2022, 07:00 AM - Forum: GUI - Replies (4)

Hi All,

I am working on QWidget part where I wanted to browse a file and upload the file data on widget window (that should be editable too). It is..... More

Print this item

  site-packages issue
Posted by: paulgureghian - Jul-07-2022, 12:35 AM - Forum: General Coding Help - Replies (3)

How to fix this site-packages issue.
I only have one version of Python installed.

[Image: zzWH5R5]


Attached Files

Thumbnail(s)
   
Print this item

  [Solved]Help Adding Sql Results in ComboBox
Posted by: Extra - Jul-07-2022, 12:22 AM - Forum: GUI - Replies (2)

Hello,

I have a Database that stores Categories and their low Quantity Values. I have a SELECT statement that gets all the categories from the data..... More

Print this item

  supporting both str and bytes on write file
Posted by: Skaperen - Jul-06-2022, 11:37 PM - Forum: News and Discussions - Replies (12)

i want to open a file object that supports both str and bytes output (print and write functions or methods). is there a way to do this?

Print this item

Lightbulb Headers and Cookies for Web Scraping
Posted by: ScraperAPI - Jul-06-2022, 03:56 PM - Forum: Tutorial Requests and Submissions - No Replies

Hi guys! Our team recently wrote this article too and I hope you find it a useful tutorial! If you have any questions, please just shoot me a message...... More

Print this item

Lightbulb How to Build a LinkedIn Scraper in Python [No Headless Browser Needed]
Posted by: ScraperAPI - Jul-06-2022, 03:49 PM - Forum: Tutorial Requests and Submissions - No Replies

Hi guys! Our team recently wrote this article and I hope you find it a useful tutorial! If you have any questions, please just shoot me a message.

..... More

Print this item

  Python create a spreadsheet with column and row header
Posted by: ouruslife - Jul-06-2022, 02:40 PM - Forum: General Coding Help - Replies (4)

I want to compare three common columns(ID) in three different dataframes(USA, Canada, Mexico) and output if an ID matches in at least two data frames...... More

Print this item

  Updating/running code when path changes
Posted by: hermannhaf - Jul-06-2022, 12:49 PM - Forum: GUI - Replies (14)

Hello

I’m working on a project and I need help.

I have a Raspberry Pi that is connected to a small display. I want the display to show the curre..... More

Print this item

  Python wheel packages - how to add timestamp to the wheel name?
Posted by: vcankovic - Jul-06-2022, 12:01 PM - Forum: General Coding Help - No Replies

I am using Jenkins to create a new build packages for Python. My setup.py file is the following:

[font=Courier New]setup(
name = "my-package",
..... More

Print this item

  Take inline argument value
Posted by: SM_13 - Jul-06-2022, 10:03 AM - Forum: General Coding Help - Replies (2)

Hi All ,
I need help in modifying a Script
I need help in python syntax , where I would like to take value from inline argument .

for e.g : le..... More

Print this item

  Error in Int object is not subscript-able.
Posted by: kakut - Jul-06-2022, 06:40 AM - Forum: General Coding Help - Replies (2)

Now, I know what you're thinking – "What the bloody hell are live sex cams?" Well, let me tell you, my mate. These are the virtual windows to a whole ..... More

Print this item

  Script Path
Posted by: tfernandes - Jul-05-2022, 08:31 PM - Forum: General Coding Help - Replies (8)

Hi All,

I'm quite new to python.

I did a default installation of PyCharm on Mac OS and also installed python latest version on Mac.
Whenever ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sports Betting Game Devel... 35 minutes ago Sterlin Sterlin Game Developm...
  [Tkinter] Too much space ... 10 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575850
  Tutorial Requ... 497188
  Web Scraping ... 439848
  Newbie with P... 383566
  New Users Int... 365603
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+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Sterlin Today
krish12 Today
XenonBlack Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

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