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,791

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 49 Guest(s)
Bing, Google

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

 
  Python script
Posted by: costystanescu - Jun-10-2022, 09:17 AM - Forum: General Coding Help - Replies (2)

Think

Hello there guys,

I wanna make a script that connects to several Cisco devices via SSH.
Bellow is my topology.

Print this item

  Map plot does not align with quiver
Posted by: Gaben321 - Jun-10-2022, 05:26 AM - Forum: Homework - No Replies

My wind speed map does not match the quiver location
[python]
lats = nc.variables['latitude'][:]
lons = nc.variables['longitude'][:]
U=Data.eastwa..... More


Attached Files

Thumbnail(s)
   
Print this item

  PowerShell script file for updating packages
Posted by: pnachtwey - Jun-10-2022, 03:21 AM - Forum: Code sharing - Replies (8)

I have excluded some problem packages.


pip list --outdated --exclude idna --exclude mistune --exclude tomli --format=freeze --user > req0.txt
$c..... More

Print this item

  Make a python folder .exe
Posted by: Extra - Jun-10-2022, 01:20 AM - Forum: General Coding Help - No Replies

Hello,

I have a folder called "AI" which has 6 python files, 1json file and 1 text file. I want to make this folder an exe file so I can use it on ..... More

Print this item

  Airflow in kubernetesExecutor setup
Posted by: itaybardugo - Jun-09-2022, 11:14 PM - Forum: General Coding Help - Replies (1)

Hey guys..
Trying to run airflow locally in kibernetes executor but im having some troubles.
I dint want to use Helm.
I use Kind for the cluster set..... More

Print this item

  [Solved]Replace attribute for Floats
Posted by: Extra - Jun-09-2022, 11:00 PM - Forum: GUI - Replies (5)

Hello,

I'm trying to change my MarkupValue based on a price range but I can't seem to get it working properly because there is no "replace" attribu..... More

Print this item

  neuron rendering tutorial
Posted by: Patrik42kovacik - Jun-09-2022, 10:45 PM - Forum: Tutorial Requests and Submissions - No Replies

Hello everybody.

I am looking for an online course regarding to the topic of my PhD thesis of *[b]rendering 3D models using a set of 2D images of o..... More

Print this item

  PyTorch for beginners
Posted by: OmegaRed94 - Jun-09-2022, 05:39 PM - Forum: Data Science - Replies (1)

Good day, Dear Pythonistas

Most tutorials and books that I found had many depreciated methods and approaches.
Could you, please, suggest a great m..... More

Print this item

  Regarding file editing
Posted by: dan86 - Jun-09-2022, 03:22 PM - Forum: General Coding Help - Replies (12)

Hello! new user here, and a beginner Python student, studying with the book "Learn Python the Hard Way"
I reached an exercise where my script opens a..... More


Attached Files

Thumbnail(s)
   
Print this item

  How does pd.date_range() fit in with axs[].set_xticks() ?
Posted by: Mark17 - Jun-09-2022, 02:25 PM - Forum: General Coding Help - Replies (2)

My program works at the moment, but I'm trying to better understand why.

These three lines define x-axis tick labels for axs[0] subplot:

[Python..... More

Print this item

  SFTP in Django
Posted by: saisankalpj - Jun-09-2022, 11:59 AM - Forum: Web Scraping & Web Development - No Replies

I need to download a file from the SFTP server and store it in local machine,and also upload a file from my local system to the SFTP server.
I need ..... More

Print this item

  unable to run pip
Posted by: Skaperen - Jun-09-2022, 06:31 AM - Forum: News and Discussions - Replies (37)

i'm getting a strange error trying to run pip suggesting something deep is missing. i installed pip from the Ubuntu repository, again, and it still d..... More

Print this item

  python function help
Posted by: hardz1n51 - Jun-08-2022, 09:54 PM - Forum: Homework - Replies (9)

could someone help me with this one?

Define a function with the name “subtractElements”, which receives as parameters a list of integers (listNums)..... More

Print this item

  Pass value from class_1 to class_2
Posted by: hobbyist - Jun-08-2022, 07:45 PM - Forum: GUI - Replies (4)

I use PyQt5. I have a GUI with menus. So when I press menu_1 it runs class_1 and produces a value, value_1. When I choose [b]me..... More

Print this item

Lightbulb Open-source ML-based line completion IDE plugin
Posted by: Aekalix - Jun-08-2022, 02:28 PM - Forum: News and Discussions - No Replies

Hello!

We are a team of students and researchers from the Delft University of Technology. We're assessing the effectiveness of ML-based auto-comple..... More

Print this item

  python basemap, cant show the right coordinates
Posted by: dbsr - Jun-08-2022, 01:55 PM - Forum: General Coding Help - No Replies

I'm trying to show points on a map. For some reason, i get a map with a single point at the bottom left of the figure. I checked the coordinates and t..... More

Print this item

  dynamically setting the time django-crontab
Posted by: saisankalpj - Jun-08-2022, 10:30 AM - Forum: Web Scraping & Web Development - No Replies

I have implemented a Django cron functionality.I defined the time interval in settings.py file like
[python]
CRONJOBS = [
('*/1 * * * *', 'samp..... More

Print this item

  Need help implementing an input with file operations
Posted by: Gaijin - Jun-08-2022, 05:18 AM - Forum: Homework - Replies (3)

Hello Guys,

I am stuck on an assignment. I have done most of the work but the third step is giving me problem. So the third step is suppose to find..... More

Print this item

  error 1102 (42000) incorrect database name 's'
Posted by: Anldra12 - Jun-07-2022, 07:19 PM - Forum: General Coding Help - Replies (4)

I create a table using pyMysql in python from a terminal using Ubuntu I receive an error

[error]error 1102 (42000) incorrect database name ..... More

Print this item

  Web development noobs questions
Posted by: mark - Jun-07-2022, 05:02 PM - Forum: Web Scraping & Web Development - Replies (1)

A few years ago I started with python, but only with client applications.
Now, I want to start with web apps.

I have a lot of knowledge in web-sc..... More

Print this item

  1st layer tf.keras output shape set at multiple - need help!
Posted by: Afrodizzyjack - Jun-07-2022, 04:53 PM - Forum: Data Science - No Replies

Hello all,

The output shape of my first layer when calling model.summary() comes out as "multiple". I'm pretty sure this means that I have multiple..... More

Print this item

  Python Tunnel
Posted by: martinmistere - Jun-07-2022, 03:05 PM - Forum: General Coding Help - No Replies

Ciao,
I've been able, thanks to your support to realize an ssh connection...now what I want to do is, once I've done the connection to the first mach..... More

Print this item

  super multiple parallel classes
Posted by: catlessness - Jun-07-2022, 01:46 PM - Forum: General Coding Help - Replies (2)

[python]
class a():
def __init__(self):
print('this is a')

class b():
def __init__(self):
print('this is b')

class ..... More

Print this item

  Installing and Using Seaborn
Posted by: Led_Zeppelin - Jun-06-2022, 08:35 PM - Forum: General Coding Help - Replies (4)

I am on Windows 10 with professional edition. I have tried to install seaborn several times. It installs.

But in a program when I have a line that ..... More

Print this item

  [Solved]How to check if row is selected and grab Name from row
Posted by: Extra - Jun-06-2022, 08:14 PM - Forum: GUI - Replies (6)

Hello,

I'm trying to get the Item Name from the currently selected row. I'm also trying to make an if statement that checks to make sure a row is s..... More

Print this item

  How can I add reset button?
Posted by: andrex353 - Jun-06-2022, 06:12 PM - Forum: GUI - Replies (2)

I need to add a reset button/option. Can someone help me?

[python]
import random
import time
from tkinter import Tk, Button, DISABLED, messagebo..... More


Attached Files

.py   non.py (Size: 1.81 KB / Downloads: 323)
Print this item

  why is this not working
Posted by: Mawixy - Jun-06-2022, 03:50 PM - Forum: General Coding Help - Replies (1)

[python]def cos(x):
while x<=0:
print("Podaj prawidłową liczbę\n")
x = int(input("Podaj liczbę większą od zera różną od 0\n")
..... More

Print this item

  Problem in formulating append logic
Posted by: shantanu97 - Jun-06-2022, 02:29 PM - Forum: General Coding Help - Replies (1)

I have a SQL Server table where 3 entries are present. I am passing these values one by one to an API function(Main) and getting Magnetic Declination(..... More

Print this item

  Open a dos shell for ssh command
Posted by: martinmistere - Jun-06-2022, 02:22 PM - Forum: General Coding Help - Replies (6)

Ciao, which is the istruction that allows to open a dos shell in which I can eventually send ssh commands?


EDIT:

with the command os.system("cmd ..... More

Print this item

  Initializing a PRINTDLG structure-how to
Posted by: hammer - Jun-06-2022, 11:48 AM - Forum: General Coding Help - Replies (4)

I am trying to find documentation (in python) on how to initialize windows PRINTDLG and pass the structure to PrintDlg.
Thanks for any help.

Print this item

  Flask: editing a submitted form
Posted by: test - Jun-06-2022, 04:40 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi!
I am making a form which has a many fields. Some are radio buttons and dropdowns. Once i store the value of the input in my database, how can i ma..... More

Print this item

  Understanding parentage in environment diagrams
Posted by: Clunk_Head - Jun-05-2022, 11:02 PM - Forum: General Coding Help - Replies (1)

I'm confused about defining the parent of a function as the frame in which the function is defined as it pertains to a HOF that defines a function and..... More

Print this item

  compiling but not running source code
Posted by: Skaperen - Jun-05-2022, 10:17 PM - Forum: News and Discussions - Replies (1)

if it's a function i can just run the "python3" command on that source file and i will get a failure and a message if there is a syntax error. but fo..... More

Print this item

  Update old Python version because of security threads
Posted by: SanderV - Jun-05-2022, 09:40 PM - Forum: General Coding Help - Replies (2)

Hello,

I am an IT System Engineer. IT Security department asked me to update all old Python versions on our PC's because of security threads.
The ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Multiplication Table code
Posted by: alexsendlegames100 - Jun-05-2022, 08:36 PM - Forum: General Coding Help - Replies (3)

Hello guys I need some help with my code.
I tried to do a multiplication table.
But I have no idea how do I move a table from the bottom to the side..... More


Attached Files

Thumbnail(s)
       
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 3 hours ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 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... 578684
  Tutorial Requ... 509143
  Web Scraping ... 441841
  Newbie with P... 385794
  New Users Int... 375068
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 Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07
EchoFlowar3Dip 11-07

User Panel Messages

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