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,511
» Latest member: Stephenisobe
» Forum threads: 38,588
» Forum posts: 174,840

Full Statistics

Online Users
There are currently 478 online users.
» 0 Member(s) | 472 Guest(s)
Bing, Google, Yandex, Mojeek, Applebot

Latest Threads
IsmaelBruck
Forum: General Coding Help
Last Post: Stephenisobe
40 minutes ago
» Replies: 0
» Views: 24
LhaneHoown
Forum: General Coding Help
Last Post: ShaneHoown
1 hour ago
» Replies: 0
» Views: 36
Lewisfuh
Forum: General Coding Help
Last Post: DichaelIntak
1 hour ago
» Replies: 0
» Views: 53
Gichardfex
Forum: General Coding Help
Last Post: Lewistot
2 hours ago
» Replies: 0
» Views: 33
Is Python used to make po...
Forum: Game Development
Last Post: RogereK
Yesterday, 04:17 AM
» Replies: 17
» Views: 31,746
Unequal values when added...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 12:24 AM
» Replies: 1
» Views: 156
Call CLI app with input?
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:52 PM
» Replies: 5
» Views: 343
backtesting can't optimiz...
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:46 PM
» Replies: 1
» Views: 127
Looking for ideas
Forum: Bar
Last Post: Larz60+
May-23-2025, 10:55 AM
» Replies: 2
» Views: 465
How to put my game loop i...
Forum: Game Development
Last Post: RogereK
May-23-2025, 12:35 AM
» Replies: 9
» Views: 2,702

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

  Changing a string value to a numerical value using python code and a lamda function
Posted by: Led_Zeppelin - Jul-05-2022, 01:12 PM - Forum: General Coding Help - Replies (6)

I need to convert a column which indicates machine status (normal, broken or recovering) to a numeric representation. This seems easy enough, but I wa..... More

Print this item

  Compare two lists (with intersections).
Posted by: wnesbv - Jul-05-2022, 11:14 AM - Forum: General Coding Help - No Replies

Compare two lists (with intersections).

model:

reserve_period = sa.Column(sa.String, nullable=True)
the format of saving in ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IsmaelBruck 40 minutes ago Stephenisobe Stephenisobe General Codin...
  LhaneHoown 1 hour ago ShaneHoown ShaneHoown General Codin...
  Lewisfuh 1 hour ago DichaelIntak DichaelIntak General Codin...
  Gichardfex 2 hours ago Lewistot Lewistot General Codin...
  Is Python used to make po... Yesterday, 04:17 ironsheep RogereK Game Developm...
  Unequal values when added... Yesterday, 00:24 Azdaghost deanhystad General Codin...
  Call CLI app with input? 05-23, 19:52 Winfried snippsat General Codin...
  backtesting can't optimiz... 05-23, 19:46 Running_Code snippsat General Codin...
  Looking for ideas 05-23, 10:55 Azdaghost Larz60+ Bar
  How to put my game loop i... 05-23, 00:35 temlotresid6 RogereK Game Developm...
  Languages 05-22, 18:51 Azdaghost Arush General Codin...
Most views
  The best Prog... 567936
  Tutorial Requ... 467282
  Web Scraping ... 432761
  Newbie with P... 371446
  Thread remain... 343473
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12053
buran 8171
snippsat 7328
deanhystad 6828
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Stephenisobe Today
ShaneHoown Yesterday
DichaelIntak Yesterday
Lewistot Yesterday
DichaelLoaCk Yesterday

User Panel Messages

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