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,517
» Latest member: Deisear
» Forum threads: 38,585
» Forum posts: 174,839

Full Statistics

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

Latest Threads
Functions: why use a vari...
Forum: General Coding Help
Last Post: Axel_Erfurt
5 hours ago
» Replies: 1
» Views: 98
Best way to pass data to ...
Forum: Game Development
Last Post: RogereK
Today, 06:39 AM
» Replies: 7
» Views: 5,093
Is Python used to make po...
Forum: Game Development
Last Post: RogereK
Yesterday, 04:17 AM
» Replies: 17
» Views: 31,779
Unequal values when added...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 12:24 AM
» Replies: 1
» Views: 214
Call CLI app with input?
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:52 PM
» Replies: 5
» Views: 384
backtesting can't optimiz...
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:46 PM
» Replies: 1
» Views: 155
Looking for ideas
Forum: Bar
Last Post: Larz60+
May-23-2025, 10:55 AM
» Replies: 2
» Views: 478
How to put my game loop i...
Forum: Game Development
Last Post: RogereK
May-23-2025, 12:35 AM
» Replies: 9
» Views: 2,709
Languages
Forum: General Coding Help
Last Post: Arush
May-22-2025, 06:51 PM
» Replies: 2
» Views: 280
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
May-21-2025, 07:49 AM
» Replies: 8
» Views: 21,472

 
  [Solved]Help with SQLite Login Form
Posted by: Extra - Jun-10-2022, 11:48 PM - Forum: General Coding Help - Replies (7)

Hello,

I'm trying to make a login form using Python and SQLite as a database. I am able to match the Name and Password to get a successful login, b..... More

Print this item

  Using .append() with list vs dataframe
Posted by: Mark17 - Jun-10-2022, 08:04 PM - Forum: General Coding Help - Replies (7)

My program adds rows to a dataframe by using .append() with a dictionary. In order to make this work, I think I had to do df = df.append() rather tha..... More

Print this item

  error in timestamp
Posted by: Led_Zeppelin - Jun-10-2022, 07:59 PM - Forum: General Coding Help - Replies (3)

when I try to run the following code, I get an error

[python]
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.py..... More

Print this item

  error in timestamp
Posted by: Led_Zeppelin - Jun-10-2022, 07:59 PM - Forum: General Coding Help - No Replies

when I try to run the following code, I get an error

[python]
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.py..... More

Print this item

  AI Techniques applied to a Game
Posted by: insignia47 - Jun-10-2022, 07:31 PM - Forum: Homework - No Replies

Hello Everyone,

I want to understand how an AI technique is applied on a game in Python. can any body help me understand how the following code BFS..... More

Print this item

  AI Techniques applied to a Game
Posted by: insignia47 - Jun-10-2022, 06:52 PM - Forum: Game Development - Replies (1)

Greetings Everyone,

First of all, let me introduce my self. My name is inSignia and i am 24 years old. I need help implementing AI search algorithm..... More

Print this item

  How to do bar graph with positive and negative values different colors?
Posted by: Mark17 - Jun-10-2022, 06:33 PM - Forum: General Coding Help - Replies (1)

I've been battling this one for over an hour so I'm going to ask for help.

I have a dataframe column that shows trade results. I want those less t..... More

Print this item

  function accepts infinite parameters and returns a graph with those values
Posted by: edencthompson - Jun-10-2022, 03:42 PM - Forum: General Coding Help - No Replies

Hi y'all,

I am trying to create a function that accepts infinite parameters and returns one graph with all parameter values (beta) on it. Currently..... More


Attached Files

Thumbnail(s)
   
Print this item

  rename and add desire "_date" to end of file name before extention
Posted by: RolanRoll - Jun-10-2022, 03:24 PM - Forum: General Coding Help - Replies (1)

hi I have many folders that all of them have same 4 folders( annotation,measurment,preview,support) and 2 files( manifest.saf and .pdf extention) like..... More

Print this item

  Calculation of circles
Posted by: frohr - Jun-10-2022, 01:53 PM - Forum: Data Science - Replies (14)

Hello,
I have to solve issue how to calculate intersection of 3 circles. My example is:
1) first cirlce with diameter 10
2) second circle at 0° dia..... More

Print this item

  multi index issue of one hot encoder preprocessing
Posted by: aupres - Jun-10-2022, 11:13 AM - Forum: Data Science - No Replies

Hello, I am a newbie on feature engineering. Belows are the sample pandas DataFrame and the results

[python]df = pd.DataFrame({'city':['seoul', 'se..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Functions: why use a vari... 5 hours ago MMartin71 Axel_Erfurt General Codin...
  [PyGame] Best way to pass... Today, 06:39 Milosz RogereK Game Developm...
  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...
  Error on import: SyntaxEr... 05-21, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... 05-21, 06:08 Hasan2025 DeaD_EyE General Codin...
Most views
  The best Prog... 568449
  Tutorial Requ... 469129
  Web Scraping ... 433213
  Newbie with P... 372356
  Thread remain... 344327
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
Deisear Today
MMartin71 Today
lele2405 Today
ntalieyandextz4427 Today
Timpo Today

User Panel Messages

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