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,303
» Latest member: TimTom420
» Forum threads: 38,798
» Forum posts: 175,900

Full Statistics

Online Users
There are currently 40 online users.
» 1 Member(s) | 35 Guest(s)
Bing, AOL, Google, AOL, Larz60+

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
2 minutes ago
» Replies: 8
» Views: 631
No new line from print in...
Forum: General Coding Help
Last Post: Lou
28 minutes ago
» Replies: 0
» Views: 6
Python is not working on ...
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 2
» Views: 75
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,803
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 124
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 107
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 187
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,209
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 303
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 189

 
  modulus and operator
Posted by: ropegang342 - Mar-21-2019, 05:42 PM - Forum: Homework - Replies (4)

without giving me code how would I use the modulus and floor division to find the minimum about to make up total value
ex: 250 would 2 100s and 1 50s
..... More

Print this item

  Looping through an if/else statement
Posted by: tle003 - Mar-21-2019, 05:12 PM - Forum: General Coding Help - Replies (1)

Hi,
I have been struggling with getting an if/else statement working in Python 2.7. I have searched for a couple of days (on and off) throughout seve..... More

Print this item

  unsupported operand type(s)
Posted by: Pythenx - Mar-21-2019, 04:29 PM - Forum: General Coding Help - Replies (5)

I am making a calculator which calculates distance/speed/velocity with different kinds of units. No problems with the maths itself, but something wron..... More

Print this item

  Querying cvs excel files
Posted by: rturus - Mar-21-2019, 04:22 PM - Forum: General Coding Help - Replies (6)

Hi all,

I would like to find out how I could do query in csv excel file row by row. I don't want to use panda. If anyone know how to do it please s..... More

Print this item

  Pytest with requests
Posted by: a21250450 - Mar-21-2019, 02:25 PM - Forum: General Coding Help - Replies (3)

[python]

def createDomain(self, jsonData, tokenId):

"""
Method used to create domains

:param jsonData: Json requ..... More

Print this item

  How to add coroutine to a running event loop?
Posted by: AlekseyPython - Mar-21-2019, 02:12 PM - Forum: General Coding Help - Replies (1)

Python 3.5

Initially, I launched several coroutine in ordered stages (which in the coroutine contain their tasks):
[python]async def _create_workers(..... More

Print this item

  int list have no len()
Posted by: lateublegende - Mar-21-2019, 02:06 PM - Forum: General Coding Help - Replies (2)

I try to write my list, but I need len() for write it.
if I write in str, they print 5 item.
this is my code
[python]
y=list(map(int, y))
print(..... More

Print this item

  Watch new files and modify it
Posted by: Macha - Mar-21-2019, 10:44 AM - Forum: General Coding Help - Replies (3)

Hello everyone,

I'm looking for some help on one of my project. I will try to describ my problem as best as I can.

I have a .txt files generated..... More

Print this item

  norm
Posted by: mcgrim - Mar-21-2019, 10:00 AM - Forum: Data Science - Replies (2)

I am writing a program that takes a vector as parameter and returns the corresponding normalized vector.
The first part of the program attempts this..... More

Print this item

  Python and PIP on a windows nano server
Posted by: philpug - Mar-21-2019, 09:18 AM - Forum: General Coding Help - Replies (1)

Hi All,

I've been trying to create a docker container of a windows nano server to run a django application.

I'm having trouble with the build a..... More

Print this item

  How in Eclipse recognize debug / run mode?
Posted by: AlekseyPython - Mar-21-2019, 06:58 AM - Forum: News and Discussions - Replies (1)

Python 3.7.2, Eclipse 12/2018

In order for the interface to work in the program, I create a new process and start the heavy procedure in it. But wh..... More

Print this item

  Django Connection Error
Posted by: erfanakbari1 - Mar-21-2019, 06:17 AM - Forum: Web Scraping & Web Development - Replies (1)

Hey guys!
I just got into start a new Django Project and I quite completely set all the things up include : Django , venv , and amlost everything .
..... More

Print this item

  testing support plugin
Posted by: metulburr - Mar-21-2019, 12:24 AM - Forum: Board - Replies (9)

Testing MySupport plugin. This allows solved tags, best answers, etc.

NOTE: sometimes i get a mysql error when viewing people's account page with ..... More


Attached Files

Thumbnail(s)
   
Print this item

  simple dice roll
Posted by: Byzas - Mar-20-2019, 11:57 PM - Forum: General Coding Help - Replies (1)

Hi all,

Very new to programming.

Could anyone say how to point user input to dice value not dice number, I got this far:

[python]
import ran..... More

Print this item

  Loop of sums
Posted by: MathFreak - Mar-20-2019, 09:25 PM - Forum: Homework - Replies (2)

Hello,
I have a formula I would like to code in in Python. It is in the image in the link below, I couldn't type it because it uses math symbols:
ht..... More

Print this item

  How to concatenate files while looping through lists?
Posted by: python_newbie09 - Mar-20-2019, 07:41 PM - Forum: General Coding Help - Replies (3)

I have a few hundreds of files in one folder and every file in the folder has 2 more corresponding files that it needs to combine with. I have done th..... More

Print this item

  counting chars in string w/o len
Posted by: johneven - Mar-20-2019, 06:23 PM - Forum: Homework - Replies (2)

Here's my homework assignment:

Write code to count the number of characters in original_str using for loop as a counter and assign th..... More

Print this item

  Tensorflow offline build from source on CentOS 7
Posted by: riotto - Mar-20-2019, 06:20 PM - Forum: Data Science - Replies (3)

I am new to Python and I am trying to build Tensorflow on a CentOS 7 box which has no internet connectivity. I have followed the tensorflow offline bu..... More

Print this item

  Trouble on importing function from astropy library
Posted by: samsonite - Mar-20-2019, 05:24 PM - Forum: General Coding Help - Replies (4)

Reference is made to online manual, here http://docs.astropy.org/en/stable/api/as....IERS.html

I'ld like to run this code:
[code]
#..... More

Print this item

  Getting the difference between two times in a Data Frame
Posted by: soulkid555 - Mar-20-2019, 04:19 PM - Forum: Data Science - Replies (4)

I have a Pandas Dataframe where two columns contain times (stored as strings).

I want to get the minimum difference (hours, minutes, seconds) betwe..... More

Print this item

  Copy List Structure
Posted by: leoahum - Mar-20-2019, 04:00 PM - Forum: General Coding Help - Replies (2)

[python]L1 = [[1,2,3],[4,2],[6,8,1],[4,3]]
L2 = [1,2,3,4,5,6,7,8,9,10]

L3 =[]

def ListStrcCopy(L1,L2):
L = []
for i in L1:
..... More

Print this item

  sort lists of lists with multiple criteria: similar values need to be treated equal
Posted by: stillsen - Mar-20-2019, 03:03 PM - Forum: General Coding Help - Replies (2)

Hi,
I want to sort a list of lists according to multiple criteria, in a way that similar values are treated as equals.
Let's get into details.
There i..... More

Print this item

  How to get equation
Posted by: SriRajesh - Mar-20-2019, 02:58 PM - Forum: General Coding Help - Replies (1)

Hi,

I have two curves: Golden curve and new curve. How to find the equation which minimizes the error between golden curve and new curve.
[python]..... More

Print this item

  Help with understanding a python package
Posted by: pyhill00 - Mar-20-2019, 01:33 PM - Forum: General Coding Help - Replies (4)

Hi all,

My python level is decent but I am having difficulties trying to understand this python package called pyrpl:

https://github.com/lneuhau..... More

Print this item

  Install Python Offline
Posted by: DTMT - Mar-20-2019, 01:07 PM - Forum: General Coding Help - Replies (2)

Hey Everyone,

I am very new to Python......about 24 hours new! I have been asked to deploy Python 3.7.2 to multiple workstations. These workstati..... More

Print this item

  Quiver fonction
Posted by: Blaue_Blume04 - Mar-20-2019, 12:06 PM - Forum: General Coding Help - Replies (2)

Hello,
I currently am trying to display on python a gradient using the fonction “quiver”.
Unfortunately I cannot manage to find a way to have the a..... More

Print this item

  Question about doc strings and tuple separator ?
Posted by: mcgrim - Mar-20-2019, 12:01 PM - Forum: General Coding Help - Replies (1)

this program should take two vectors as parameters, check if they are orthogonal and print "true"
if they are, or else print "false".
I should use d..... More

Print this item

  Python and installing extras
Posted by: Ecniv - Mar-20-2019, 10:13 AM - Forum: Bar - Replies (2)

Hi

Me again, I think this is best place to ask, but if not, feel free to move to a more relevant forum...

I'm still trying the flask, seeing as ..... More

Print this item

  Locating Grids in full page image
Posted by: KolGuy80 - Mar-20-2019, 09:47 AM - Forum: General Coding Help - No Replies

Hello,

This is my first post here.

I'm pretty new to python coding and am currently working on a problem to locate grids in a full page image as..... More

Print this item

  About Error (Flask)
Posted by: bescf - Mar-20-2019, 09:22 AM - Forum: Web Scraping & Web Development - Replies (1)

I wanted to apply Flask lib. Until yesterday, there was no error, it was done. But now i have an error.
I dont understand.
[python]
from flask imp..... More

Print this item

  How to count value after a textblob
Posted by: LoliMarth - Mar-20-2019, 09:03 AM - Forum: General Coding Help - Replies (1)

Hello there,

I made a textblob with this piece of code : info = dataextract['Produit'] .apply(lambda x: TextBlob(x).ngrams(3))

My variable Produ..... More

Print this item

  Dict overwrite previous list
Posted by: vincentspm - Mar-20-2019, 07:56 AM - Forum: General Coding Help - Replies (1)

[python]
Temp = {}
Final = {}

OK =['OK','OK']
NOTOK =['NOTOK','NOTOK']

Temp[1] = OK
Final['u1']=Temp

print(Final)

Temp.clear()
Temp[2..... More

Print this item

  Prefix test
Posted by: Yoriz - Mar-20-2019, 06:30 AM - Forum: GUI - Replies (1)

Testing the solved prefix, currently prefixed with [WxPython]

Print this item

  pika channel.start_consuming() is not running
Posted by: sundar - Mar-20-2019, 06:28 AM - Forum: General Coding Help - No Replies

Hi,
I am using python3.5.3 and pika version 0.13.0
My code
[python]def functions(host):
global LOGGER
global RABBITMQ_USER
global RA..... More

Print this item

  Create hybrid automation framework using python.
Posted by: janeho - Mar-20-2019, 05:06 AM - Forum: General Coding Help - Replies (2)

Hi,

How to create a hybrid automation framework using Python.
It should consists followings:-
Hybrid framework support following1) Data handling ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 2 minutes ago racingsubby Larz60+ General Codin...
  No new line from print in... 28 minutes ago Lou Lou General Codin...
  Python is not working on ... 6 hours ago lary_p Pedroski55 General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579422
  Tutorial Requ... 512507
  Web Scraping ... 442309
  Newbie with P... 386359
  New Users Int... 380544
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+ 12112
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday
matt 11-26

User Panel Messages

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