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,487
» Latest member: zacharystone
» Forum threads: 38,579
» Forum posts: 174,814

Full Statistics

Online Users
There are currently 731 online users.
» 0 Member(s) | 728 Guest(s)
Bing, Google, Yandex

Latest Threads
Copy the Contacts (member...
Forum: Web Scraping & Web Development
Last Post: RachelGregory
4 hours ago
» Replies: 2
» Views: 2,991
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
5 hours ago
» Replies: 17
» Views: 1,391
How to attach images to a...
Forum: Board
Last Post: sethmike9
Yesterday, 04:08 AM
» Replies: 6
» Views: 8,885
How To Attach data Files
Forum: Board
Last Post: sethmike9
Yesterday, 04:05 AM
» Replies: 3
» Views: 4,151
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 381
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 180
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 297
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 232
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,403
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 171

 
  [split] How Can get the graph library?
Posted by: marceldcv - Dec-08-2022, 09:52 PM - Forum: News and Discussions - Replies (1)

Hello Man, How Can get the graph library? I can't find the library.
Thanks

Print this item

Heart Python for frontend !
Posted by: SpongeB0B - Dec-08-2022, 07:45 PM - Forum: News and Discussions - Replies (9)

Hi,

While I was looking how to use Python for the front-end
I discover a great suggestion on the Mozilla "ideas box" aka connect, so I'll share i..... More

Print this item

  Build and deploy Python apps for the cloud
Posted by: Rk2 - Dec-08-2022, 06:30 PM - Forum: Tutorial Requests and Submissions - No Replies

This tutorial walks a developer step-by-step through creating a REST API and deploying it to AWS, GCP or Azure with the Nitric Framework.

The develop..... More

Print this item

  Web Scraping Stuff
Posted by: Korgik - Dec-08-2022, 12:53 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi there Big Grin

What kind of stuff do you usually use for web scraping and parsing? I am just a beginner in this area and I would like to kn..... More

Print this item

  Webscraping returning empty table
Posted by: Buuuwq - Dec-08-2022, 12:39 PM - Forum: Web Scraping & Web Development - No Replies

Hi, I'm trying to extract a table from a webpage and have tried a number of alternatives, but the table always seems to remain empty.

Two of what I t..... More


Attached Files

Thumbnail(s)
   
Print this item

  python pandas sql table with header
Posted by: mg24 - Dec-08-2022, 09:21 AM - Forum: General Coding Help - Replies (3)

Hi Team,

please help me first time using pandas for extracting sql table with headers into csv file.

how to write below header line to csv.
write..... More

Print this item

  Impute 1 if previous row of 'days' column is between 0 & 7
Posted by: JaneTan - Dec-08-2022, 05:17 AM - Forum: Data Science - Replies (2)

Hi,

Basically, I want to impute 1 in 'Check' column if the previous row of 'days' is >=0 and <7.
I wrote the below code, but it only looks at curr..... More

Print this item

  how to capture output from license() in one Python process?
Posted by: Skaperen - Dec-08-2022, 03:35 AM - Forum: News and Discussions - No Replies

how to code a script that can capture the output from the license() function in one Python process (not running a 2nd instance to capture outpu..... More

Print this item

  Prompt of Access ( Authentication Http ) ?
Posted by: JohnnyCoffee - Dec-07-2022, 10:27 PM - Forum: Networking - Replies (4)

I'm doing some authentication tests through the http header, but the browser's login prompt window isn't being triggered? I think I'm forgetting somet..... More

Print this item

  filedialog, open a file error
Posted by: liketocode - Dec-07-2022, 07:55 PM - Forum: GUI - Replies (4)

Hello

I would like to know how to avoid an error when i close the window instead of choosing a file to open.
Window that show after clicking on "..... More

Print this item

  Prompt of Access ( Authentication Http ) ?
Posted by: JohnnyCoffee - Dec-07-2022, 04:11 PM - Forum: General Coding Help - Replies (1)

I'm doing some authentication tests through the http header, but the browser's login prompt window isn't being triggered? I think I'm forgetting somet..... More

Print this item

  rotate error function
Posted by: schniefen - Dec-07-2022, 02:40 PM - Forum: Homework - No Replies

I would like to rotate a function that is defined in terms of the error function, see here. I ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Return the [Date] that within the last 14 days
Posted by: bnadir55 - Dec-07-2022, 01:09 PM - Forum: General Coding Help - Replies (5)

Hi, I have a column [Date] in df that return date in this format : 20220628T065216.437 GMT
I need to return the [Date] that within the last 3 days,
tr..... More

Print this item

  How do you create a scatterplot of dataframe using matplotlib?
Posted by: asdad - Dec-07-2022, 01:00 PM - Forum: General Coding Help - Replies (2)

A very simple question.

I tried looking for how to make a scatterplot with matplotlib (as usual, the official documentation was irrelevant) ..... More

Print this item

  Cube drawing for 3D Tic-Tac-Toe Python game
Posted by: freethrownucleus - Dec-07-2022, 12:27 PM - Forum: GUI - Replies (7)

Hi, I need some help.
I need to draw a cube (like this) [Image: 8HGHVN].
If anyone could help, I would really appreciate it! :..... More


Attached Files

Thumbnail(s)
   
Print this item

  Setting For Loop Counter
Posted by: rturus - Dec-07-2022, 12:21 PM - Forum: General Coding Help - Replies (2)

I am trying to set the counter to the one less if the input does not match with list. However, it seems that it does not set the counter. Any idea ple..... More

Print this item

  merge two csv files into output.csv using Subprocess
Posted by: mg24 - Dec-07-2022, 08:11 AM - Forum: General Coding Help - Replies (9)

Hi Team,

I want to merge two csv files, data1.csv and data2.csv , and create Output.csv


via command line this script works.
copy /b D:\output..... More

Print this item

  Write Null values as 0.0 (float) type in csv
Posted by: mg24 - Dec-07-2022, 06:46 AM - Forum: General Coding Help - Replies (3)

Hi Team,

with the below code I am extracting sql table data into CSV File with delimiter '|'

in SQL Table,in some fields ['Market Price',"Sprea..... More

Print this item

  Python Resample: How do I keep NaN as NaN?
Posted by: JaneTan - Dec-07-2022, 02:11 AM - Forum: General Coding Help - Replies (3)

When resample from monthly data to quarterly, I want my last value NaN to remain as NaN. How should I tweak my code?

Thank you

[img]https://i.st..... More

Print this item

  Binary tree
Posted by: AlexPython - Dec-06-2022, 09:28 PM - Forum: General Coding Help - Replies (3)

let said that I get a randomly created array of 12 numbers for this tree below instead of having the number picked by me, should I hand-pick the root?..... More

Print this item

  UTF-8 and UTF-16
Posted by: garynewport - Dec-06-2022, 07:09 PM - Forum: General Coding Help - Replies (5)

I encountered an interesting problem in that PowerShell under Windows 11 will create any new file as UTF-16 instead of UTF-8. It is possible to set Po..... More

Print this item

  Ldap3 and windows authentication
Posted by: Valerian - Dec-06-2022, 02:59 PM - Forum: News and Discussions - No Replies

Hi everybody,

Is anyone already has find a way to use the windows gMSA to bind with ldap3 ?

I'm kind of stuck.

Print this item

  telnetlib error
Posted by: 3lnyn0 - Dec-06-2022, 02:16 PM - Forum: General Coding Help - Replies (1)

Hi! Please help, what is wrong with my code?
I don't know where is the problem. :(

[python]import getpass
import telnetlib

HOST = 'routers'
u..... More

Print this item

  Counting Duplicates in large Data Set
Posted by: jmair - Dec-06-2022, 01:52 PM - Forum: Data Science - Replies (3)

My students and I were discussing the difference between possible and probability when it comes to lottery numbers. Is the sequence 1 2 3 4 5 6 just a..... More

Print this item

  Dictionary help
Posted by: iuno - Dec-06-2022, 09:12 AM - Forum: General Coding Help - Replies (5)

I am working on a simple telnet program that interacts with a Lutron lighting system. The Lutron system allows me to enter a monitoring mode where it ..... More

Print this item

  using paramiko to see resualt
Posted by: korenron - Dec-06-2022, 08:43 AM - Forum: General Coding Help - Replies (4)

Hello,
I'm trying to connect using SSH and send some commands
how can I see the result of the command ?
for example
[python]
answer = ssh.e..... More

Print this item

  How I could do that in the best way?
Posted by: Kalet - Dec-06-2022, 07:00 AM - Forum: General Coding Help - Replies (5)

Hi, I would like to know if there is a way to validate the '{}' when I receive them in a function. For example, I receive a URL and I have two paramet..... More

Print this item

  Is it possible to see dependencies before installing a package?
Posted by: quazirfan - Dec-06-2022, 06:31 AM - Forum: General Coding Help - Replies (4)

I want to see the list of dependencies(packages) a given package depends on before installing the package.

For example, pandas depend on numpy. Is ..... More

Print this item

  List joining
Posted by: deatz - Dec-05-2022, 07:50 PM - Forum: Homework - Replies (14)

Good day,

I have searched and read and tried options for days... I know it must be simple, yet here I am.

I am creating a list from two user inp..... More

Print this item

  Syntax error
Posted by: tibbj001 - Dec-05-2022, 06:12 PM - Forum: General Coding Help - Replies (2)

I'm getting a Syntax error on the final line, unsure why?

[python]# Function to prepare data for deep learning
def prepare_dl_data(data):
# ..... More

Print this item

  Validating Dataframe Using Second Dataframe
Posted by: tdbozarth - Dec-05-2022, 06:03 PM - Forum: Data Science - No Replies

Hello all,

I am new to Python but not new to programming. I have a datafile of 28k rows x 18cols (skudata) that I am loading into a dataframe (cat..... More

Print this item

  Advent of Code
Posted by: astral_travel - Dec-05-2022, 06:01 PM - Forum: General Coding Help - Replies (29)

hey,
i'm trying the advent of code challange,

i currently have the following code:

[python]
input_file = open("/home/tal/PycharmProjects/pythonProje..... More


Attached Files

.txt   input.txt (Size: 10.22 KB / Downloads: 203)
Print this item

  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync'
Posted by: stsxbel - Dec-05-2022, 02:07 PM - Forum: General Coding Help - Replies (2)

Good afternoon. I installed a new server, installed pymodbus via pip, uploaded my scripts that worked on the old server, but when I start it, I get an..... More

Print this item

  seaching for a library: nondeterministic letter manipulation in sentences
Posted by: Myron - Dec-05-2022, 11:59 AM - Forum: General Coding Help - Replies (2)

I'm looking for a non-deterministic python library for:
Given a sentence string, manipulate it such that its meaning is not changed but the letters a..... More

Print this item

  Python Logic Error
Posted by: rmfooty - Dec-05-2022, 11:38 AM - Forum: General Coding Help - Replies (3)

Hi all. I came across a really weird error in python. I have tried updating to the latest version of python. When the following code is run, the resul..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Copy the Contacts (member... 4 hours ago danilobtos RachelGregory Web Scraping ...
  problems with netcdf if I... 5 hours ago Blaubart vytlacfoto General Codin...
  How to attach images to a... Yesterday, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files Yesterday, 04:05 Talch sethmike9 Board
  Text frame 05-18, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... 05-18, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
Most views
  The best Prog... 565946
  Tutorial Requ... 458922
  Web Scraping ... 430882
  Newbie with P... 367589
  Thread remain... 339787
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+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zacharystone Today
DaddyMAN Today
rouzbehrasai1984 Today
RachelGregory Today
vytlacfoto Today

User Panel Messages

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