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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,045
» Latest member: icm63
» Forum threads: 14,737
» Forum posts: 72,293

Full Statistics

Online Users
There are currently 101 online users.
» 3 Member(s) | 98 Guest(s)
ichabod801, jpezz, Yoriz

Latest Threads
str in str == True
Forum: General Coding Help
Last Post: micseydel
14 minutes ago
» Replies: 3
» Views: 115
Simple Button click on im...
Forum: GUI
Last Post: metulburr
54 minutes ago
» Replies: 1
» Views: 19
Custom data structure
Forum: General Coding Help
Last Post: icm63
1 hour ago
» Replies: 0
» Views: 28
HELP! writing to csv file...
Forum: Data Science
Last Post: TheBeast
2 hours ago
» Replies: 2
» Views: 32
Trouble converting JSON S...
Forum: General Coding Help
Last Post: RBeck22
3 hours ago
» Replies: 4
» Views: 187
str.format rounding to th...
Forum: General Coding Help
Last Post: ichabod801
3 hours ago
» Replies: 1
» Views: 30
Unbound local error while...
Forum: Homework
Last Post: ichabod801
4 hours ago
» Replies: 1
» Views: 32
Appending To Files Challe...
Forum: Homework
Last Post: aankrose
4 hours ago
» Replies: 2
» Views: 26
Help on locating strings ...
Forum: General Coding Help
Last Post: buran
4 hours ago
» Replies: 2
» Views: 91
Methods that return the h...
Forum: Homework
Last Post: aankrose
4 hours ago
» Replies: 7
» Views: 101

 
  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 (3)

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 (1)

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