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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,034

Full Statistics

Online Users
There are currently 26 online users.
» 0 Member(s) | 23 Guest(s)
Bing, Google, AOL

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
38 minutes ago
» Replies: 1
» Views: 34
IP address for users
Forum: Networking
Last Post: DeaD_EyE
8 hours ago
» Replies: 6
» Views: 7,151
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
8 hours ago
» Replies: 1
» Views: 57
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,609
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 165
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 243
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,630
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 211
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 363

 
  Filename stamp script is needed
Posted by: ineuw - Apr-07-2021, 05:53 AM - Forum: General Coding Help - Replies (11)

I don't know which Python library is needed to read the path and file name of a text file open on screen and in focus!

The focused file needs to b..... More

Print this item

  Tkinter messagebox and using datetime/timedelta
Posted by: Kaltex - Apr-07-2021, 04:39 AM - Forum: GUI - Replies (3)

Hi all

I made this really simple program for myself to remind me to take some breaks.


It works great and all, although there is one behavior that I..... More

Print this item

Bug Need help on this nested loop task
Posted by: PP9044 - Apr-07-2021, 02:03 AM - Forum: Homework - Replies (4)

Here is the task:
"
lyrics = ["I wanna be your endgame", "I wanna be your first string",
"I wanna be your A-Team", "I wanna be you..... More

Print this item

  trouble installing python package
Posted by: Tuxedo - Apr-07-2021, 01:58 AM - Forum: Data Science - Replies (1)

Trying to install pyportfolioopt but got errors. Can anyone suggest what I should do?

[output](base) xxx@xxx-Satellite-P55-A:~$ pip install pyport..... More

Print this item

Question Recursion and permutations: print all permutations filling a list of length N
Posted by: SantiagoPB - Apr-06-2021, 06:16 PM - Forum: Homework - Replies (6)

Hello everyone Big Grin ,

I have written a code and I need to add a condition.

The condition is to give the length of the list, for example,..... More

Print this item

  Convert String of an int array to a Numpy array of ints
Posted by: mdsousa - Apr-06-2021, 06:12 PM - Forum: General Coding Help - Replies (5)

Hi

I am sending a Numpy int array over RabbitMQ and it seem to be receiving correctly.

This is the output RabbitMQ's publish that is sent:

>p..... More

Print this item

  My first project - RAMDisk
Posted by: estarq - Apr-06-2021, 04:29 PM - Forum: Code Review - Replies (1)

Hi,

here's my first project - RAMDisk.

[python]
#!/usr/bin/env python3

import string
import js..... More

Print this item

  How to sort words to categories
Posted by: Ayran - Apr-06-2021, 01:10 PM - Forum: Data Science - Replies (1)

Hi everyone Smile ,
This is my first question here, and I don't have much experience in programming and HTML.

I want that in an HTML form you..... More

Print this item

  Parsing xml
Posted by: ateestructural - Apr-06-2021, 01:08 PM - Forum: General Coding Help - Replies (2)

I have the following Python code:
[python]def xml_parsing(file_name, tag_name, source_string_list, target_string_list):

from xml.etree imp..... More

Print this item

  Collisions for items in a list
Posted by: Idents - Apr-06-2021, 01:02 PM - Forum: Homework - Replies (3)

Hi,
I am attempting to make a simple ideal gas simulation.
I have created particles in a list as such, where the user will input n:
[python]
impor..... More

Print this item

Lightbulb Hypertag. New language for HTML templating w/ Django support
Posted by: mwojnars - Apr-06-2021, 12:53 PM - Forum: Web Scraping & Web Development - No Replies

Hi,
A new language for document generation and HTML templating has been released. Inspired by indentation-based template languages (Slim, Haml..... More

Print this item

  String to Date format
Posted by: SAF - Apr-06-2021, 12:42 PM - Forum: General Coding Help - Replies (2)

Hi

I have a date column as below. the date is in this format "January 5, 2020"
I want this date in to mm/dd/YYY format -- 01/05/2020. How I can c..... More

Print this item

  time.clock not functioning
Posted by: Oldman45 - Apr-06-2021, 10:33 AM - Forum: General Coding Help - Replies (3)

I am using the following coding, from a text book, to compare two methods of measuring execution time for coding but time.clock is not recognised. I ..... More

Print this item

  blank graph with matplotlib from a csv file / data type issue
Posted by: arsentievalex - Apr-06-2021, 10:08 AM - Forum: General Coding Help - No Replies

Hi All. I'm new to Python and hoping to get some help here. I'm trying to create some simple bar/line graphs from a csv file, however, it gives me an ..... More

Print this item

  Calculate the value which has the similar name in the header using - XLSWRITER using
Posted by: rsd - Apr-06-2021, 06:14 AM - Forum: General Coding Help - Replies (1)

Hi All,
I need to calculate the value which has the similar name in the header. Here i have Bill and Non Bill fields in the column. I n..... More

Print this item

  implementing the Linux touch command
Posted by: Skaperen - Apr-06-2021, 12:06 AM - Forum: News and Discussions - No Replies

how can i implement the Linux (or POSIX) touch command, in particular the -a or -m option which specifies updating the access tim..... More

Print this item

  Replacing text in xml
Posted by: ateestructural - Apr-05-2021, 11:50 PM - Forum: General Coding Help - Replies (4)

I have this code but the text is not replaced in the file titled: file_name (although as a python string the replacement is correct but I expected to ..... More

Print this item

  wx.DC.CalcBoundingBox
Posted by: menator01 - Apr-05-2021, 11:24 PM - Forum: GUI - No Replies

Could someone give me an example of wx.DC.CalcBoundingBox. In my project creating the die (square), I would like to set up a functions/methods to plac..... More

Print this item

  Python cookies
Posted by: vj78 - Apr-05-2021, 10:50 PM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to set cookies and retrieve them.

How to get and set the cookies? in python.

Print this item

Music XML File - cannot find the tag
Posted by: ateestructural - Apr-05-2021, 09:24 PM - Forum: General Coding Help - Replies (1)

I have the attached xml file. I want to find the tag: inputDataLocation in the attached xml and want to edit the VALUE related text

I tried several..... More

Print this item

  I need assistance with getting sympy to work
Posted by: alex_0 - Apr-05-2021, 08:33 PM - Forum: General Coding Help - Replies (1)

I am trying to get sympy to work and am having trouble with it.

I have used pip install sympy to get it onto my computer.

I tried to make a simp..... More

Print this item

  Unexpected parameter verbose
Posted by: Led_Zeppelin - Apr-05-2021, 08:28 PM - Forum: General Coding Help - Replies (5)

The following simple 13 lines python 3.6.3 code gives me an error as shown. I am working in Windows 10-home. It is on the 8th line.


[python]
fr..... More

Print this item

  Solving for zeros of an equation!
Posted by: fmitchell17 - Apr-05-2021, 07:49 PM - Forum: General Coding Help - No Replies

Hello all,

Looking for some advice on how to solve for the zeros of a particular variable in the equation below. I am new to Python, coming from MA..... More

Print this item

  ERROR: importing desired module
Posted by: mbgamer28 - Apr-05-2021, 07:46 PM - Forum: General Coding Help - No Replies

Hello Folks! I have written code to fetch secrets from Azure KeyVault (no knowledge of azure is required for this issue Smile ). For this ..... More

Print this item

  how to call an object in another function in Maya
Posted by: bstout - Apr-05-2021, 07:12 PM - Forum: General Coding Help - No Replies

I have a UI to set the color of the controls of the autorig. When I connect the button to a function I run into a problem. The called function can't f..... More

Print this item

  Selenium XPATH
Posted by: jimsxxl - Apr-05-2021, 05:23 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi guys,
Im a beginner when it comes to Python, and wanted to try code a scraper.
Im trying to scrape betfair.com for Team-names and Odds.

I succ..... More

Print this item

  Putting code into a function breaks its functionality, though the code is identical!
Posted by: PCesarano - Apr-05-2021, 04:50 PM - Forum: General Coding Help - Replies (1)

Hello, I am perplexed by this problem. I have a chunk of code which appears to work in the body of my Python script, but once I stick the same code in..... More

Print this item

  How to get a URL from python 'webbrowser'?
Posted by: dheeraj - Apr-05-2021, 03:55 PM - Forum: General Coding Help - No Replies

I'm using 'webbrowser' for opening multiple tabs in Chrome/Firefox.
For example:
[python]webbrowser.get("open -a /Applications/Firefox.app %s").open..... More

Print this item

  JS Buffer.from VS struct.pack
Posted by: DreamingInsanity - Apr-05-2021, 02:58 PM - Forum: General Coding Help - Replies (3)

I'm trying to port over a little of bit of a JS library so I can work with it in Python. It allows for you to create Celeste (the game) maps through c..... More

Print this item

  Pandas filters
Posted by: SAF - Apr-05-2021, 07:00 AM - Forum: General Coding Help - No Replies

Hi

i have two columns ID and description.

If the ID is blank, and the description contains as P2.... then ID should come as P2 in place of balnk.

I..... More

Print this item

  Docker-compose on Pycharm - Connection refused
Posted by: rstambach - Apr-05-2021, 04:48 AM - Forum: General Coding Help - Replies (3)

This is the first time I've used Pycharm with docker-compose and I have this issue. I have a docker-compose.yml that works fine from bash execution bu..... More

Print this item

  making : optional
Posted by: Skaperen - Apr-04-2021, 10:45 PM - Forum: News and Discussions - Replies (3)

what would be an example of a situation where code can be valid without : and valid with : and have different semantics? or can a language like Pytho..... More

Print this item

Sad web scraping HTML - :(
Posted by: Kingoman - Apr-04-2021, 10:14 PM - Forum: Web Scraping & Web Development - Replies (22)

Hi,

I'm in need of some help to 'scrap' html code from multiple sites instead of manually go to 'view source'
- All I have found regarding this on..... More

Print this item

  How to make python run other file?
Posted by: Adrian_L - Apr-04-2021, 08:22 PM - Forum: General Coding Help - Replies (4)

How do I make python run another file from the local disk?

Print this item

  Unable to convert request response.
Posted by: johnboy1974 - Apr-04-2021, 08:17 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm trying to convert a response which I think is in Unicode? I am using the requests library to get data from an API. I am running the followi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 38 minutes ago BioNanoTech Pedroski55 General Codin...
  IP address for users 8 hours ago Robots DeaD_EyE Networking
  Check if running from she... 8 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 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...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580463
  Tutorial Requ... 519947
  Web Scraping ... 442796
  Newbie with P... 387010
  New Users Int... 386746
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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