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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,967
» Latest member: paulohora
» Forum threads: 14,638
» Forum posts: 71,908

Full Statistics

Online Users
There are currently 98 online users.
» 2 Member(s) | 96 Guest(s)
micseydel, bluebackpack

Latest Threads
IPython Notebook - How to...
Forum: Homework
Last Post: moga2003
1 hour ago
» Replies: 0
» Views: 8
Lerning django 2.1, havin...
Forum: General Coding Help
Last Post: funkytwig
1 hour ago
» Replies: 0
» Views: 21
Planning a trip to Japan
Forum: Bar
Last Post: micseydel
2 hours ago
» Replies: 11
» Views: 502
Amicable numbers.
Forum: Homework
Last Post: pawlo392
4 hours ago
» Replies: 2
» Views: 15
unsupported operand type(...
Forum: General Coding Help
Last Post: Larz60+
4 hours ago
» Replies: 5
» Views: 84
String Slicing in List Co...
Forum: General Coding Help
Last Post: nilamo
4 hours ago
» Replies: 1
» Views: 21
int list have no len()
Forum: General Coding Help
Last Post: snippsat
5 hours ago
» Replies: 2
» Views: 38
Multiple calls to Python ...
Forum: General Coding Help
Last Post: mmoelle1
5 hours ago
» Replies: 0
» Views: 13
Very strange error of ind...
Forum: General Coding Help
Last Post: samsonite
5 hours ago
» Replies: 9
» Views: 64
How in Eclipse recognize ...
Forum: News and Discussions
Last Post: nilamo
5 hours ago
» Replies: 1
» Views: 51

 
  IPython Notebook - How to use a class you have written
Posted by: moga2003 - 1 hour ago - Forum: Homework - No Replies

Good evening,

I have completed my first code in Ipython Notebook (as MSword file), and now I need to use the class that I wrote the code for to an..... More



Attached Files
.docx   Analyzing Text Checker.docx (Size: 96.56 KB / Downloads: 0)
Print this item

  Lerning django 2.1, having problems with tutorial
Posted by: funkytwig - 1 hour ago - Forum: General Coding Help - No Replies

I have done a load of googeling but can't quite get the tutorial at https://docs.djangoproject.com/en/2.1/intro/tutorial01/ working:(.

So my project ..... More

Print this item

  String Slicing in List Comphrensions
Posted by: Patroclus72790 - 4 hours ago - Forum: General Coding Help - Replies (1)

Hello!

I have a question about the following code:
Example 1
[python]
str = "hello"
i = str[2]
str[i]
TypeError: string indices must b..... More

Print this item

  Amicable numbers.
Posted by: pawlo392 - 4 hours ago - Forum: Homework - Replies (2)

I want to create a program, which will find pairs of amicable numbers lower than n.
I wrote a cod : [python]def sumdiv(n):
Sum = 0
for x in..... More

Print this item

  Multiple calls to Python interpreter embedded in C++ application yield segmentation f
Posted by: mmoelle1 - 5 hours ago - 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 - 6 hours ago - Forum: General Coding Help - No Replies

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 - 7 hours ago - Forum: General Coding Help - Replies (9)

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 - 7 hours ago - 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 - 8 hours ago - 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 - 8 hours ago - 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 - 9 hours ago - 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 - 9 hours ago - 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 - 9 hours ago - Forum: General Coding Help - Replies (1)

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 - 11 hours ago - 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 - Yesterday, 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 - Yesterday, 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 - Yesterday, 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 - Yesterday, 10:00 AM - Forum: Data Science - Replies (1)

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 - Yesterday, 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 - Yesterday, 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 - Yesterday, 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 - Yesterday, 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 (2)

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

[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 - No Replies

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