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,974
» Latest member: randydurham
» Forum threads: 38,732
» Forum posts: 175,562

Full Statistics

Online Users
There are currently 61 online users.
» 1 Member(s) | 54 Guest(s)
Bing, Google, AOL, AOL, Applebot, randydurham

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
1 hour ago
» Replies: 2
» Views: 123
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
8 hours ago
» Replies: 2
» Views: 767
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 805
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 510
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,888
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,289
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,857
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,278
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,210
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,525

 
  Multiple calls to Python interpreter embedded in C++ application yield segmentation f
Posted by: mmoelle1 - Mar-21-2019, 08:54 PM - Forum: General Coding Help - No Replies

Dear Forum,

I have asked this question before at ..... More

Print this item

  How to solve a function and get x, y and z?
Posted by: TheZenMan - Mar-21-2019, 07:54 PM - Forum: General Coding Help - Replies (2)

Hi, I'm fairly new to python and was wondering how to solve this.

So I have the following:

[python]sigma_x=2
sigma_y=2
sigma_z=2
curr_locati..... More

Print this item

  Very strange error of indentation
Posted by: samsonite - Mar-21-2019, 06:30 PM - Forum: General Coding Help - Replies (12)

Reference is made to the python code listed here http://reionization.org/wp-content/uploa...st2ra.html and, in details, to this p..... More

Print this item

  package(s) error pykdtree
Posted by: zahid990170 - Mar-21-2019, 06:18 PM - Forum: General Coding Help - No Replies

Hi all,

I have just joined the forum,
I started programming in Python, only recently.

I have installed Anaconda, and PyCharm.

I had inst..... More

Print this item

  Move a character left or right in a file.
Posted by: DreamingInsanity - Mar-21-2019, 06:14 PM - Forum: General Coding Help - Replies (4)

Depending on an input ('a' or 'd') I would like to move a character left or right. I already have this:
[python]
pos = line.index('4')
pos = pos - ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 1 hour ago fosuwxb buran Code sharing
  My goal to be hired worki... 8 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577337
  Tutorial Requ... 500651
  Web Scraping ... 440999
  Newbie with P... 385037
  New Users Int... 369527
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12090
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
randydurham Today
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday
PhamMaria Yesterday

User Panel Messages

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