Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,779
» Latest member: Dinardealing
» Forum threads: 37,689
» Forum posts: 171,310

Full Statistics

Online Users
There are currently 387 online users.
» 0 Member(s) | 379 Guest(s)
Baidu, Google, Bing, AOL, Facebook, Yandex, Applebot

Latest Threads
Free hosting
Forum: Bar
Last Post: Bronjer
42 minutes ago
» Replies: 2
» Views: 576
Help with graceful shutdo...
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 1
» Views: 62
Random student selection ...
Forum: General Coding Help
Last Post: Gribouillis
5 hours ago
» Replies: 3
» Views: 138
Code
Forum: General Coding Help
Last Post: LucieM
5 hours ago
» Replies: 4
» Views: 84,372
Using PyTorch to implemen...
Forum: News and Discussions
Last Post: AdamHensley
Yesterday, 09:45 PM
» Replies: 2
» Views: 128
positioning the laser
Forum: Game Development
Last Post: deanhystad
Yesterday, 07:28 PM
» Replies: 5
» Views: 367
keeping logs for every su...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:27 PM
» Replies: 5
» Views: 160
Tkinter weather app
Forum: Code sharing
Last Post: menator01
Yesterday, 05:17 PM
» Replies: 0
» Views: 66
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Hichem
Yesterday, 01:53 PM
» Replies: 3
» Views: 147
FastAPI returns null
Forum: Web Scraping & Web Development
Last Post: phpman88
Yesterday, 01:00 PM
» Replies: 2
» Views: 132

 
  Acceleration to velocity
Posted by: frohr - May-10-2022, 11:10 AM - Forum: Data Science - Replies (1)

Hi,
I want to ask you if I have correct calculation of velocity fom acceleration. It is for vibration analysis.
I have ADXL1005 and I acquire data t..... More

Print this item

  [SOLVED] [Windows] Right way to prompt for directory?
Posted by: Winfried - May-10-2022, 06:08 AM - Forum: General Coding Help - Replies (4)

Hello,

On Windows, I need to loop through all .TXT files in a directory.

In a command-line script (no GUI), I can't figure out how to use the us..... More

Print this item

  Use pexpect to send user input
Posted by: alisha17 - May-10-2022, 02:40 AM - Forum: General Coding Help - No Replies

I am trying to send the user input, which is the 'ENTER' key and from the documentation looks like child.sendline() should do the job. However the f..... More

Print this item

  Rain sensor output only on change
Posted by: Pete6 - May-10-2022, 02:28 AM - Forum: General Coding Help - Replies (3)

Greeting all. First post here and a bit of a newbie to coding.

I have built a simple weather station. It samples a rain detector sensor once ever..... More

Print this item

  Secure deploy the code without providing the implementation
Posted by: mikepy - May-09-2022, 06:18 PM - Forum: Code sharing - Replies (1)

Hi fellows, how can I deploy my own library created in Python on Windows or Linux without providing the source code. The reason is that I want to use ..... More

Print this item

  [Hiring] Contract Senior Django Engineer Remote In Us at New Vertical Technologies
Posted by: djangojobs.net - May-09-2022, 04:52 PM - Forum: Jobs - No Replies

To Apply:
djangojobs.net/jobs/1119/contract-senior-django-engineer-remote-in-us-new-vertical-technologies/

About Us:

New Vertical Technologies ..... More

Print this item

  How to solve pancake flip with Python
Posted by: longmen - May-09-2022, 03:23 PM - Forum: Homework - Replies (5)

Hi I wonder if anyone could help me with this issue. So I am doing the pancake flip and I am trying to get the end result as

[python]
1b2w3b4b| g..... More

Print this item

  "SSL: CERTIFICATE_VERIFY_FAILED” error on Python 3.9.6 (Windows 10)
Posted by: rcmv - May-09-2022, 02:29 PM - Forum: General Coding Help - Replies (4)

Hi!
I’m new with Python and I have been following some tutorials and based on one of them I have the following piece of code:

[python]from scrapy ..... More

Print this item

  How to integrate PayPal?
Posted by: Humusk1 - May-09-2022, 01:02 PM - Forum: Bar - Replies (1)

Good day, everyone!
I'm working on a website with Django and Python; is there a simpler way to integrate PayPal with Django? We have developed a Subsc..... More

Print this item

  NLP: exercise with Stanza
Posted by: xinyulon - May-09-2022, 08:44 AM - Forum: General Coding Help - Replies (2)

Here is the question:

Get sentences from Stanza Document objects.


The directory data contains a file na..... More

Print this item

  "Vlookup" in pandas dataframe
Posted by: doug2019 - May-08-2022, 11:42 PM - Forum: General Coding Help - Replies (3)

Hi! How can I find a value in a column and return it from another column, like a vlookup? Below is an example dataframe.

[python]import pandas as ..... More

Print this item

  Error: _vhstack_dispatcher() takes 1 positional argument but 9 were given
Posted by: alexfrol86 - May-08-2022, 10:23 PM - Forum: General Coding Help - Replies (3)

Hi!

I have a system of 10 nonlinear ODE with 10 variables (y[0], y[1], ... y[9]), there are 10 initial conditions for y[i] for x=0 and 4 conditions..... More

Print this item

  Please help NLP: Stanza
Posted by: xinyulon - May-08-2022, 09:50 PM - Forum: Homework - No Replies

Here is the question:

The directory data contains 10 articles from the Estonian Wikipedia, whose filenames follow the pattern et_wik..... More

Print this item

  Upgrading from 2 to 3 and having file write problems
Posted by: KenHorse - May-08-2022, 08:58 PM - Forum: General Coding Help - Replies (2)

[python]#!/usr/bin/python

import serial, time, sys, fileinput

#open and configure serial port
ser = serial.Serial(
port='/dev/ttyUSB0',
bau..... More

Print this item

  Replicate Excel operations with Python
Posted by: Lumberjack - May-08-2022, 04:03 PM - Forum: General Coding Help - Replies (3)

EDIT: Second post features the latest updates

I have this Excel file where I track two products A and B and their weekly differences compared to thei..... More


Attached Files

.xlsx   Delta.xlsx (Size: 10.26 KB / Downloads: 176)
Print this item

  Correct the algorithm of image filter code
Posted by: saoko - May-08-2022, 11:10 AM - Forum: General Coding Help - Replies (6)

Hi everyone. I'm new in python. Now I'm trying to write an image filter, according to the next algorithm:
[img]https://i.stack.imgur.com/xn4U8.jpg[/i..... More

Print this item

  PyQT5 - align left
Posted by: frohr - May-07-2022, 04:54 PM - Forum: General Coding Help - Replies (7)

Hi, I am stuck on very stupid thing.
I need align items left and width must be according text length and for line_edit fixed length.
Thank for any..... More

Print this item

  Help with subtracting values using SQLite & Python
Posted by: Extra - May-07-2022, 03:25 PM - Forum: General Coding Help - Replies (10)

Hello,

I made an inventory system using SQLite and Python. I'm working on a 'checkoutInventory()' function that let's a user add items to a cart a..... More

Print this item

  Python modules for accessing the configuration of relevant paths
Posted by: Imago - May-07-2022, 01:26 PM - Forum: General Coding Help - Replies (1)

Below I have the files **main.py**, **train.py** and **dataLoader.py**. The purpose of path.py is to contain relevant paths inside my project. These p..... More

Print this item

  Emoji Dictionary Help
Posted by: rewainy - May-07-2022, 08:49 AM - Forum: General Coding Help - Replies (5)

Hello,

So I am trying to replace words from the sentence input by the relevant emoji from this dictionary. In the end i would like to reprint the s..... More

Print this item

  df column mean and count of unique
Posted by: SriRajesh - May-07-2022, 08:19 AM - Forum: General Coding Help - No Replies

Ji,
I have below df, and I want to group by coulmn2,column3 and calculate mean of other columns and unique count.

[python]df:
col1 col2 col3 c..... More

Print this item

  recall
Posted by: cool_person - May-07-2022, 06:24 AM - Forum: General Coding Help - Replies (1)

how do you recall a item from a list

Print this item

  an app's scripting system in Python
Posted by: Skaperen - May-07-2022, 04:55 AM - Forum: News and Discussions - No Replies

if i want to create a new app that has its own scripting system with scripts written in Python, what do i need to learn/know? what if i am coding the..... More

Print this item

  Struggling with Juggling JSON Data
Posted by: SamWatt - May-07-2022, 02:25 AM - Forum: General Coding Help - Replies (7)

I have worked through 300+ pages of Shovic & Simpson's Python for Dummies All in One but hit a snag in Book 3, Chapter 2.

The first issue is that t..... More

Print this item

  Help Returning to Different Menus
Posted by: Extra - May-07-2022, 12:43 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a login system that allows StandardUsers to login in and Admins to login.
If an Admin logs in and decides to view the inventory, the a..... More

Print this item

  [Solved]Help with search statement-SQLite & Python
Posted by: Extra - May-06-2022, 07:26 PM - Forum: General Coding Help - Replies (1)

Hello,

I have a function that takes in a user's input->stores it in a python variable called 'userQuery' and I would like to take the variable 'use..... More

Print this item

  How to do a mass replace within a CSV file?
Posted by: cubangt - May-06-2022, 07:15 PM - Forum: General Coding Help - Replies (9)

I have the following code that im using to open a CSV and then create a new filtered csv for importing into excel.

[python]
# THIS OPENS THE NEWLY..... More

Print this item

  TypeError: unsupported opperand type(s) for %: 'int' and 'list'
Posted by: cool_person - May-06-2022, 05:01 PM - Forum: General Coding Help - Replies (7)

nonprimenumbers=[]
primenumbers = []

for i in range (2,100000):
if (i%primenumbers==0):
nonprimenumbers.append
else:
primenumbers.ap..... More

Print this item

  df column aggregate and group by multiple columns
Posted by: SriRajesh - May-06-2022, 02:26 PM - Forum: General Coding Help - No Replies

Hi,
I have below df I want to calculate rank, age pos columns max, min, mean and group by Name, sub,school. I use can only calculate mean, but I want..... More

Print this item

  Convert list to interger
Posted by: Clives - May-06-2022, 01:05 PM - Forum: General Coding Help - Replies (5)

Greetings,
The csv returns: [114436]
I want to get the values as an integer and not list, any pointers appreciated.
Thanks
Clive

[python]
####..... More

Print this item

  I get an FileNotFouerror while try to open(file,"rt"). My goal is to replace str
Posted by: decoded - May-06-2022, 12:25 PM - Forum: General Coding Help - Replies (1)

I have a folder with .txt files. In that folder I want to list all the files and read each files and replace a specific String. The problem I get is ..... More

Print this item

  kmeans install error (please help me)
Posted by: muratuzun - May-06-2022, 10:53 AM - Forum: General Coding Help - Replies (3)

Merhaba,

python 3.10 versiyonunda kmeans yüklemeye çalıştığımda aşağıdaki hatayı alıyorum bunu nasıl geçerim

creating build\temp.win-amd64-cpyth..... More

Print this item

  naming entities(city abbreviations)
Posted by: tirumalaramakrishna - May-06-2022, 10:33 AM - Forum: General Coding Help - Replies (1)

is there any readymade code for identifying the city name abbreviation??

i have a task which contains P.O Box 1442 Hyderabad .i have to extract cit..... More


Attached Files

.txt   python.txt (Size: 534 bytes / Downloads: 169)
Print this item

  Python / Django Web Developer (F/M/D) at MIR MEDIA - Digital Agency
Posted by: djangojobs.net - May-06-2022, 07:31 AM - Forum: Jobs - No Replies

To apply
djangojobs.net/jobs/1124/python-django-web-developer-fmd-mir-media-digital-agency/


Cologne,Germany

Who we are:

We are an experienced digi..... More

Print this item

  Mid Level Django Python Developer at Bitcoin Solutions, Inc
Posted by: djangojobs.net - May-06-2022, 07:27 AM - Forum: Jobs - Replies (1)

About Us:

Bitcoin Solutions, Inc is a technology company focused on making bitcoin as easy to purchase as any gift card.

BitCards is looking for..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Free hosting 42 minutes ago Sowmya Bronjer Bar
  Help with graceful shutdo... 1 hour ago sawtooth500 Larz60+ General Codin...
  Random student selection ... 5 hours ago esahan Gribouillis General Codin...
  Code 5 hours ago StoneCherry0119 LucieM General Codin...
  Using PyTorch to implemen... Yesterday, 21:45 emmanuelkattouganda AdamHensley News and Disc...
  [PyGame] positioning the ... Yesterday, 19:28 flash77 deanhystad Game Developm...
  keeping logs for every su... Yesterday, 18:27 robertkwild snippsat General Codin...
  Tkinter weather app Yesterday, 17:17 menator01 menator01 Code sharing
  Trouble with Average Calc... Yesterday, 13:53 autodecay Hichem General Codin...
  FastAPI returns null Yesterday, 13:00 phpman88 phpman88 Web Scraping ...
  Merge Python code with Mi... Yesterday, 12:36 adzy DeaD_EyE General Codin...
Most views
  The best Prog... 543872
  Web Scraping ... 411432
  Tutorial Requ... 393234
  Newbie with P... 332679
  Thread remain... 312544
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 352
deanhystad 315
Most replies
  New Users Int... 434
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11913
buran 8089
snippsat 7161
deanhystad 6388
metulburr 5150
Top referrers
Googlepro 21
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Dinardealing Today
LucieM Today
philrun2 Yesterday
Silvanos Yesterday
esahan Yesterday

User Panel Messages

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