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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 44 Guest(s)
Bing, Google, Twitter

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 3
» Views: 79
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
11 hours ago
» Replies: 3
» Views: 92
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 67
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 98
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,041
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,554
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 182
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,194
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,439

 
  [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

  Research work - help with binary data
Posted by: Newhedgehog6309 - Jul-05-2022, 09:28 AM - Forum: Homework - Replies (1)

Hello everyone,

I would like to use python to analyze this table (example). But I don't know which technique would be the best for my problem.

E..... More


Attached Files

Thumbnail(s)
   
Print this item

Photo put a green boarder and text around multiple pictures
Posted by: jackosullivan - Jul-05-2022, 08:38 AM - Forum: General Coding Help - Replies (5)

I have 90 pictures that I need to add a green boarder and text around (see image attached). I then need these pictures to be saved into a folder where..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python script with local libraries
Posted by: zazas321 - Jul-05-2022, 04:55 AM - Forum: General Coding Help - No Replies

Hello. I would like to get advise on how to properly create and manage a project with local libraries. For example, I am creating a script that uses m..... More

Print this item

  Byte Error when working with APIs
Posted by: Oshadha - Jul-05-2022, 02:16 AM - Forum: General Coding Help - Replies (2)

I was working with an API: Returns Json array of Tags

[python]
r = requests.get('https://cataas.com/api/tag..... More

Print this item

  Open tkinter colorchooser at toplevel (so I can select/focus on either window)
Posted by: tabreturn - Jul-05-2022, 01:44 AM - Forum: GUI - Replies (4)

I'm opening a TKinter colorchooser window with this code:

colors = colorchooser.askcolor(title='Color Selector')

I wan..... More

Print this item

  Coding careers
Posted by: wolfman5874 - Jul-04-2022, 08:51 PM - Forum: News and Discussions - No Replies

Hi all, I'm new to the forum and wanted to hear from others who have careers in python. I currently work as a sysadmin and recently started getting ba..... More

Print this item

  NameError: name ‘app_ctrl’ is not defined
Posted by: 3lnyn0 - Jul-04-2022, 08:08 PM - Forum: General Coding Help - No Replies

Hello! I finished a python course and I'm working on a project but I have some problems.
The most urgent would be: after filling in all the fields in..... More


Attached Files

Thumbnail(s)
       
Print this item

  Client/Server proper finalizing transfer
Posted by: wolfman5874 - Jul-04-2022, 05:44 PM - Forum: Networking - Replies (1)

Hi all. Been learning python for a couple months now and started getting into sockets the past few days. I have a simple client/server app that will j..... More

Print this item

  Particle movement mystery
Posted by: XavierPlatinum - Jul-04-2022, 05:37 PM - Forum: Game Development - Replies (10)

I have an Explosion class that spawns a bunch of Particles. But when it does, all the particles zip off in a clump, not in random directions.
[pyt..... More

Print this item

  Can you run Python off Dropbox?
Posted by: Extra - Jul-04-2022, 04:54 PM - Forum: News and Discussions - Replies (1)

Hello,

I'm wondering if it's possible to run a python program I created off Dropbox so multiple people can use it.
Everyone using the program wil..... More

Print this item

Question requests.get miss format the conecction url
Posted by: jlcc_py - Jul-04-2022, 03:51 PM - Forum: Web Scraping & Web Development - Replies (2)

HI
I am writing some code to use rest API calls to our Service Desk Solution and get information from tickets.
I am using the request module to use ..... More

Print this item

  AttributeError: 'numpy.ndarray' object has no attribute 'load'
Posted by: hobbyist - Jul-04-2022, 02:18 PM - Forum: General Coding Help - Replies (8)

I have the following error:

[error]
currrent_pixel = my_image.load()
AttributeError: 'numpy.ndarray' object has no attribute 'load'
[..... More

Print this item

  How to 'soft-embedd' subtitles with python-ffmpeg
Posted by: Pavel_47 - Jul-04-2022, 11:23 AM - Forum: General Coding Help - Replies (2)

Hello,

I've found an example on how to embed subtitles using ffmpeg from command line:
ffmpeg -i video.mp4 -i subtitles.srt -map 0:v -map 0:a -c c..... More

Print this item

  Human Sorting (natsort) does not work [SOLVED]
Posted by: AlphaInc - Jul-04-2022, 09:08 AM - Forum: General Coding Help - Replies (2)

Hello everybody,

With a batch-script I export mutliple text-files to a specific folder where I want to merge them into one.
Therefore I used the t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 8 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 11 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578681
  Tutorial Requ... 509088
  Web Scraping ... 441836
  Newbie with P... 385787
  New Users Int... 375041
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Today
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday

User Panel Messages

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